Subject | Re: Syntax Question |
---|---|
Author | Adam |
Post date | 2005-07-07T01:00:58Z |
--- In firebird-support@yahoogroups.com, "Craig" <cstevens@d...>
wrote:
It is not the *
* works fine with this syntax.
Use a showmessage or equivalent to see the statement that is ACTUALLY
sent to the server, and post that if the problem is not obvious. My
guess is the order by function maybe puts a comma after the last
field unless you use some ancient join syntax and still put commas in
the from :)
Adam
wrote:
> Hi All,mean
>
> Having a spot of bother with this statement
>
> SQLText := 'SELECT FIRST 1000 SKIP 10 * FROM '+UnFixTableName
> (TableName)+' ORDER BY '+GetQryField(TableName)+ ' ASCENDING';
>
> Keeps telling me i have an invalid token Line 2 Char 6 ',' <- this
> char right here. If i put fields in for the * it works, does this
> you cannot use * in this syntax ?Craig,
>
> Thanks
It is not the *
* works fine with this syntax.
Use a showmessage or equivalent to see the statement that is ACTUALLY
sent to the server, and post that if the problem is not obvious. My
guess is the order by function maybe puts a comma after the last
field unless you use some ancient join syntax and still put commas in
the from :)
Adam