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 configure a WSUS in 2008 Active Directory Domain
RRAS & VPN install on Server 2003
close a popup menu
Group Policy File Howto
How do I create a new MS Access file when copying linked MSQL Tables to a local MS Access table?
E_ACCESSDENIED error when trying to import sites into new site collection with stsadm
check date plus 90 days
How to set AutoIncrement Property of a field ?
The disk is offline because of policy set by an administrator
FTP from Access 2000?