InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: Problem with DatabaseMetaData.getTables and hyphenated db names


i usually replace hypens with double quotes.  depending how you set up your
field, if you put the fields as char, usually inserting char requires 'tim' with
hypens to work.  Thus any name or words that may have character, you should check
and replace it with double quotes, then replace it back when you query it.  It is
a simple check.




Luke Lonergan wrote:

> > If I do a DatabaseMetaData.getTables call on a database
> > with a hyphen in the name, I get an error.  I set
>
> I also get errors with a hyphen in the DB name. I stopped putting hyphens in
> DB names...
>
> Luke
>
> -----------------------------------------------------------------------------
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
begin:vcard 
n:Ngo;Tom
tel;work:801-576-4917
x-mozilla-html:TRUE
url:www.waterford.org
org:The Waterford Institute;Programming Dept.
adr:;;1590 East 9400 South;Sandy;Utah;84093;
version:2.1
email;internet:tngo@waterford.org
title:Programmer
note:ICQ# 74302099
fn:Tom Ngo
end:vcard