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
How to use reporting in VB.NET ?
c# last execution time of a process and kiling the last process of the same application
SQL 2005 mirroring
Need to see traffic across WAN
Excluding the milliseconds from a returned date
How to preserve "emergency" resources in Windows Server 2003 R2 x64
Excel 2003 Copying cells from one sheet to another
The network path was not found while connecting to remote computer with performance monitor
jQuery accordion overlaps IE7 footer
Mousewheel not working in combobox as2