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
Compaq EVO W6000 - 4GB RAM?
Can you subnet 1 public address or only a Class A, B or C network?
Photoshop
excel- macro for disabling and enabling the form controls
door knob
Looking for a script to update Adobe Flash on a Windows PC
Create self-extracting installer from 3 pre-existing windows MSI files
toggle hide/show several similar css classes on web page
Multiple DNS Alias (CNAME) with same name
Error auto sensing primary master hard disk drive