Verify a date ! 
Author Message
 Verify a date !

Hi,
I'm working on ASE 11 for NT.
I'd like to know if there is a simple way to verify a date before converting
it ? (a string to datetime)
So if I convert it in a datetime field and the string is not a date, sybase
call a raiserror.
I'd like to process a test before the convertion to avoid the call of the
raiserror ...
Like an isdate() function.
Is it possible ???
TIA.

--
Christophe GOGUYER DESSAGNES
ADSM Informatique - ANNECY - FRANCE


(No sooner said than done)



Mon, 28 Aug 2000 03:00:00 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. Verifying a date inside an Insert statement

2. Error Code to verify date?

3. Verifying date formats

4. ((Current Date - Start Date)/(End Date - Start Date))*Contract Amt

5. SQL: Select some data with date criteria, but only by Date part of date field

6. Dates, Dates, & More Dates

7. DATE DATE DATE Filemaker and Month names

8. Verifying ADO recordset changes

9. how to verify the database support Unicode

10. Manually scripting VERIFY after BACKUP

11. verifying permissions.

12. Need SQL code to verify Username and Password


 
Powered by phpBB® Forum Software