Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> Search Date functions
hi, i'm haveing a little trouble converting a string in the format of "MM-DD-YYYY" to the corresponding version of "date" type..
I'm using Pro C...
here is what I have in the program
EXEC SQL declare curdob cursor for
select dob,name from Contacts wheretodate(dob) like todate(:tdob) ORDER BY todate(dob),name; EXEC SQL open curdob;
Variable Descriptions:
dob: date column name in the table
name: name column in the table.
:tdob: the string date I read from the input...
:cmatchdob: a string to store date.....
Thanks. Received on Mon Sep 25 2000 - 13:47:32 CDT