Microsoft
Software
Hardware
Network
Question : Convert data from Excel to import into SQL.
I am trying to import data from excel file into MS SQL 2005, but I am getting stuck here:
Source: excel file, with column format is
Date
Target: MS SQL 2005, with column format is
nvarchar(50)
So when I bulkcopy from the excel file, the data of target becomes:
Source: 07/26/2010
Target: 07/26/2010 12:00:00 AM
I only want to import the value '07/26/2010', how can I do it? I can't use convert when select data from the excel file.
Thanks!
Answer : Convert data from Excel to import into SQL.
Or may be you should try this formula....
=TEXT(A1,"mm/dd/yyyy")
Random Solutions
Communicator could not retrieve calendar or Out of Office information from Exchange Web Services. (OCS 2007 R2)
SBS server 2008 - additional domain controller
MS Access write to XML
Checkboxes in Word document
MVC installatin in ASP .NET problem
Batch file for deleting old files more that xx days.
Visual foxpro with digital camera
After updating still in update mode
how to connect to printer on windows 2008 server
log speed