Hi everyone! I have a question about changing data that already exists in a SQL db.
I have a table with a field called pdate. The type for pdate is varchar(15). However it searches incorrectly since it's using dates as varchar (yes I had a previous question for that).
My question is can I take the data for pdate which is setup like this: mm-dd-yyyy (ex. 03-29-2005) and change it to yyyy-mm-dd (ex. 2005-03-29)? After that I could change the type to date instead of varchar(15) and edit the code of the VB program that queries the db.
Thanks for any help or comments!
RB
I have a table with a field called pdate. The type for pdate is varchar(15). However it searches incorrectly since it's using dates as varchar (yes I had a previous question for that).
My question is can I take the data for pdate which is setup like this: mm-dd-yyyy (ex. 03-29-2005) and change it to yyyy-mm-dd (ex. 2005-03-29)? After that I could change the type to date instead of varchar(15) and edit the code of the VB program that queries the db.
Thanks for any help or comments!
RB