Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
sqlfresher2k7
Aged Yak Warrior
623 Posts |
Posted - 2011-12-12 : 15:15:15
|
| How to convert the following date columns values to datetime formatSDate Sdate Sdate------ ----------- ----------03/04/08 12:06:50 2008-02-04 2008-02-1003/04/08 12:06:50 2008-02-11 2008-02-17 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
sqlfresher2k7
Aged Yak Warrior
623 Posts |
Posted - 2011-12-12 : 15:32:09
|
| I want to convert the column values like '2008-02-10' ,'03/04/08 12:06:50' to datetime formatWhen i did convert it is giving gthe 'Conversion failed when converting date and/or time from character string'. |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2011-12-15 : 03:36:05
|
| Also depends on the date format you may need to use SET dateformat optionMadhivananFailing to plan is Planning to fail |
 |
|
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
|
|
|
|