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
All programs open Windows Media and not what I called up
I need to capture the output of the datagrid grdAttendees and record each Members Email Address.
Delete duplicate records
Error No Windows Terminal Server Name is set up in Business Portal purchasing
Excel VBA count numbers and copy cell
Generate report for invoice tracking
Invalid Certificates and Settings with Exchange 2007 SP2 Autodiscover
Batch file to "net use" and capture output to a text file
Count and display the number of times the same entry appears
Special Values in VBA