Make your own free website on Tripod.com

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]

InstantDB: Bug or not a Bug.


I have the following table named table:

|tableid| name| typeid |
|-------------|-------|
|   1     |name | 1000 |
|-------------|-------|
|   2     |typeid| 1001 |
----------------------

You see the name column has a value name.

If i want to select on name i do this:

select tableid from table where name = 'name' (every row is selected)
or
select tableid from table where name = 'typeid' (exception: Illegal mixture
of string/numeric.)

it seems that the name between the quotes is also parsed as a column name.
I really don't know if this is a bug or not because i don't know what SQL is
saying
about this. Because i think that quotes can be used (i don't know exactly
how) in the where with column names.

there is a workaround using the like function:
select tableid from table where name like 'naam'

is this as fast as using the normal = ?

I hope that i can have an option so that when i place after the = a string
between quotes
the string is parsed as a table value and not as a column name.

Johan Compagner

P.S. When is instantdb released as open source (that i could look for
myself)





-----------------------------------------------------------------------------
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.