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
Problem with Backup Configuration Wizard in SBS 2003 - "An unexpected error occurred (80070057). The parameter is incorrect"
Edot form data
SSIS error code DTS_E_CannotAcquireConnect<wbr />ionfromCon<wbr />nectionMan<wbr />ager
How do I update a subform combobox from another form that the subform called?
Determine if comboBox selectedIndex is changed programatically or by user?
Unable to Activate Office 2007 Professional
add ALL in combobox rowsource query
Can't mount Exchange Information Store
Only select results with multiple columns that are > 0
Custom Built Login Page to replace IIS Basic Authentication Popup