TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
karthik parcha
NA
153
92.7k
CSV File Import into the respective table
Sep 8 2011 9:57 AM
HI
How to import the csv file into its respective table in Sqlserver.
Here is my Code getting error like.....
OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
Msg 7303, Level 16, State 1, Line 1
Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".
INSERT into Customers
SELECT * FROM OPENROWSET('Microsoft.JET.OLEDB.4.0', 'Excel 8.0;Database=D:\Anupama_WorkBase\Trumpia_Data_Sample\Trumpia_Data_Sample\07202011\[07-20-2011]Customers.csv','SELECT * FROM [(07-20-2011)Customers$]')
Thanks in advance
Reply
Answers (
1
)
How to split particular column values into rows by using delimiter using sqlserver
How to export resultset data to excel using sqlserver?