Subject | Re: [IBO] Firebird newbie |
---|---|
Author | Helen Borrie |
Post date | 2002-02-05T23:34:26Z |
At 04:32 PM 05-02-02 +0000, you wrote:
select ...
SUBSTRING(login, 1 for 10) is the equivalent of your left(login, 10)
regards,
Helen
All for Open and Open for All
Firebird Open SQL Database ยท http://firebirdsql.org
_______________________________________________________
>I know this isn't, strictly, an IBObjects question, but it does involveFirebird has an internal SUBSTRING function:
>the use of IBOQueries. I have an application written in Delphi6 using
>data residing on a MySQL server which I am porting over to Firebase RC2.
>The query is in the form:
>
>SELECT count(*) AS SL
>FROM logins
>WHERE server=DefaultServer AND
>left(login,10) = ":Search1" AND
>left(login,10) = "left(logout,10)" AND
>acctype="S"
select ...
SUBSTRING(login, 1 for 10) is the equivalent of your left(login, 10)
regards,
Helen
All for Open and Open for All
Firebird Open SQL Database ยท http://firebirdsql.org
_______________________________________________________