Microsoft
Software
Hardware
Network
Question : SQL DateTime conversion
I am trying to copy a varchar field in a source table to a new table field that is DateTime. I cannot complete the process because I get an error "The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value." How can I find the data causing me problems?
Answer : SQL DateTime conversion
SELECT CAST ('1900-01-01 '+ STUFF(STUFF( CALL_TIME, 5,0,':' ), 3,0, ':' ) as datetime )
FROM Stage_Dialer_History
WHERE isdate(CALL_TIME) = 0
Random Solutions
GEt SQL data from Excel VBA
database file shrink error
Can VS 2008 run on the same computer as VS 2010?
Set Trigger for Birthdate
tvwChild not declared error when using treeview in vb.net
Is there a way to restart Windows service remotely?
scripts to export Access table (in .xsl format)
C# -- Checkbox STATE -- still fails ?
Conditional Row Filtering based on column grouping
Output to Email after printing to PDF