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
Using SBS to to link together 7 remotes sites with 1 central administration office?
which is the best antivirus for my nokia e63 mobile ?
SATA 3 Gb/s & SATA 6 Gb/s Question
Server folder syncing software that has a scheduler and hosts multiple targets
Any web-designers use a test site?
VBA ole object wrapping
add sequential number to field for query dataset
UNABLE TO EXPORT SCHEMA WITH EXP TOOL
How do you sum individual elements within one account in TSQL
Checking the application