Microsoft
Software
Hardware
Network
Question : Convert varchar data to datetime
I have two tables in MS SQL Server. The source field is a varchar data type and has data that I need to move to another table field of DateTime data type. I need to convert the varchar to a DateTime format. The data in the source file is in the format yyyymmdd. How can I get the data to append to the new table without getting data type errors?
Answer : Convert varchar data to datetime
you dont really need any sort of explicit conversion if your date is in YYYYmmdd format, sql will automatically convert it to the curresponding date
Random Solutions
How to terminate a processes in MS SQL Server
OWA 2007 External Access
"Your changes could not be saved to {filename} but were saved to a temporary document named {3F8C6100}. Close the existing document, then open the temp document and save it under a new name"
Can't change link source from one workbook to its apparently identical twin.
WSUS Update not installing
Validate front end server configuration error
C / C++ DSN connect (.mdb)
SendKeys to a minimzed window
What is the least expensive way to buy Office 2007 for a developing-nation country?
Cannot boot Windows 7 after motherboard installation