Hi folks, am a newbie to SQL server and finding it difficult to convert a varchar field to date (was easy in Access!)
I have a field in Table1 called Opened which gives a string dd/mm/yyyy in varchar (10) format.
I wish to convert this to date and have tried various methods all of which don’t work. e.g.
ALTER[/COLOR][/SIZE] TABLE[/COLOR][/SIZE] dbo.[/COLOR][/SIZE]Table1
ALTER[/COLOR][/SIZE] COLUMN[/COLOR][/SIZE] OPENED date
I have also tried CONVERT CAST without success.
I’m sure its easy when you know how – can anyone help?
Thanks so much
blitz[/COLOR][/SIZE]