Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 update in sql from excel

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2005-09-28 : 08:02:17
ilter aydin writes "How can i write the trigger which updates specific fields in sql from excel. I mean when i change the data in excel it must automatically update the table in sql.
will you please help me?"

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-09-28 : 09:00:02
Export updated Excel data to Staging Table
Do update query based on Actaul table

Update A set A.column=S.Column from Actual_Table A inner join Staging_Table S

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -