Alok
You're wuite right. InstantDB expects the order by to be simple column names
or numbers. Try something like
select lower(user_name),* from user where user_name = 'zzzz' order by 1
Regards
Peter Hearty
Lutris Technologies UK
-----Original Message-----
From: owner-instantDB@Enhydra.ORG [mailto:owner-instantDB@Enhydra.ORG]On
Behalf Of Alok Daipuria
Sent: 19 May 2000 19:08
To: instantDB@enhydra.org
Subject: InstantDB: order by lower (col_name) works?
I am trying to execute following query having "order by lower (user_name) "
clause.
select * from user where user_name = 'zzzz' order by lower(user_name)
lower function works well in where clause as in :
select * from user where lower(user_name) = 'zzzz' order by user_name
Is it that lower is not supported in "order by" clause?
-alok
----------------------------------------------------------------------------
-
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.
-----------------------------------------------------------------------------
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.
|