[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: SQLBase & SQR Help
- Subject: Re: SQLBase & SQR Help
- From: "Cooper, Marcus" <MCooper@APL.GT-WIS.COM>
- Date: Thu, 8 Jan 1998 08:40:27 -0600
You might want to try this
Begin-select
@DateToChar(sysdate,'MM/DD/YYYY') &YourVar
from TableName
end-select
Where TableName has only 1 or 2 rows so it doesn't take any time. Then,
of course, you can use &YourVar as your variable for the current date
I hope this helps
Marcus Cooper
Grant Thornton LLP
mcooper@apl.gt-wis.com
-----Original Message-----
From: Scott Gunter [SMTP:ksgunter@TDYRYAN.COM]
Sent: Wednesday, January 07, 1998 6:32 PM
To: Multiple recipients of list SQR-USERS
Subject: SQLBase & SQR Help
I need to know how to access the current date in an
SQR Batch program that is connecting to a SQLBase
database.
I use SYSDATE in "where" clauses, but it doesn't work
in other contexts.
Thanks in advance for any help.
Scott
ksgunter@tdyryan.com