I need to pull out data from sql and some of the data will need to be change. I am going to pull the data out first using DTS packages and then i want to write some code to change the rest of the data. I have seen some If statements mentioned in this forum...but are these stored procedures or do you just type them in like regular sql? also, If I wanted to loop through a file...is there a while till end of file? Thanks for any help...