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
 General SQL Server Forums
 New to SQL Server Programming
 BULK INSERT

Author  Topic 

vishu_av
Yak Posting Veteran

69 Posts

Posted - 2007-08-07 : 01:24:48
Hi All,
I would like to know if i can modify some values in a column
before insert into the table using bulk insert.
Say , I have a csv file with a column 'Price'. Now, this price column consists values as 1200 , 1400 etc. i want to divide the values by 100 and use 12.00 and 14.00 instead of above values and then load into my table.
Thanks in advance.
vishu

nathans
Aged Yak Warrior

938 Posts

Posted - 2007-08-07 : 02:12:46
Did you check out OPENROWSET ?

Nathan Skerl
Go to Top of Page
   

- Advertisement -