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
Dhilip Kannan
NA
3
0
Data transfer from excel to sqlserver using linked server
Nov 21 2012 11:49 PM
Dear all,
i created link between sql server and excel file using linked server .the data is transfered from excel to sql server .thats working fine.Consider previously 3 rows are been in excel file.
when i insert a new row in sqlserver what happens the new row is added and also the previous 3 rows is again repeated like 3+3 +1 (new row).how to avoid this repeated row.below is the query i used.
insert into queryexcel...Sheet1$(PersonNumber,LastName,Firstname,ThirdName,CardNumber)select * from dbo.tbl_emp1
Please give me some idea.
Thanks,
Dhilip
Reply
Answers (
0
)
What is the difference between Truncate and Delete in SQL Server
Table updating many records from one table to anther table2