Advertisement

07.17.2008 at 08:36AM PDT, ID: 23573611
[x]
Attachment Details

data type question from CSV to SQL?

Asked by rogersam in .Net Editors & IDEs, MS SQL Server, Microsoft Visual Studio Express

Tags:

Hi

I want to know, when we bulk insert data from a CSV file to a SQL table, how is the data type issue hangled.

For example, I have a column in my temp table date(with data type date) and corresponding values are inserted by bulk insert from a CSV file.

Is the CSV file column read as a string?? how does it work?Start Free Trial
 
Loading Advertisement...
 
[+][-]07.17.2008 at 08:50AM PDT, ID: 22026834

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .Net Editors & IDEs, MS SQL Server, Microsoft Visual Studio Express
Tags: VB.NET ADO.NET
Sign Up Now!
Solution Provided By: rickchild
Participating Experts: 1
Solution Grade: B
 
 
[+][-]07.17.2008 at 09:13AM PDT, ID: 22027037

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.17.2008 at 09:19AM PDT, ID: 22027094

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 09:11AM PDT, ID: 22051816

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628