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 2005 Forums
 Transact-SQL (2005)
 Notepad to Sql

Author  Topic 

krushnapanda
Starting Member

18 Posts

Posted - 2007-08-03 : 04:54:08
Heloo Dear,
How to update record in table by using .txt file or .xls file.
example
i have a currency master table, its contain 10 fields
some important fields are change daily basis
like currency buying rate , currency sale rate , and date
this theree fields are change daily,
so how can i update these particular fields through a notepad file
.xls file in every 30 min.
means i put these fields value in a .txt file .xls file , and save the file
in every 30 min the table currency master table should be update acording to the .txt file .xls file records.
Thanks

Thanks

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-08-03 : 10:36:09
Try set linked server to the file and update table via linked server. Or load data to staging table and manipulate them with ssis package.
Go to Top of Page
   

- Advertisement -