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: ColumnName equal with a fieldvalue produce faulty selection


Nora

Hava a look at
http://instantdb.enhydra.org/software/documentation/types.html#StringLiteral
s for the solution to this problem.

Regards

Peter Hearty
Lutris Technologies UK Ltd.
> I checked the attached script with :
> jdk1.3
> jdk1.2.2
> instantDB3.13
> instantDB1.14b7
> and every combination gives the same faulty result.
> Here is my script:
> d org.enhydra.instantdb.jdbc.idbDriver;
> o jdbc:idb=sample.prp;
> e set export "test.log" trace 6 console;
> e drop table test;
> e create table test(
>  fname char(24) primary key,
>  testfield char(30));
>
> e insert into test values("myfield","myfield here");
> e insert into test values("testfield","test here");
> e insert into test values("fnamefield","fname");
> q select * from test where testfield="fname";   file://the result of this
> selection is faulty
> q select * from test where fname="testfield";  // and result of this one
> is also faulty
> q select * from test;                                      // the result
> of this selection is ok
>
> c close;
>
> By
> Nora Bigalke
>
>
> Softwarehaus Bigalke GmbH
> nora@bigalke.de
> Germany
> .
>


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