INSERT INTO myTable(ProjectID,FName) SELECT @ProjectID, FName FROM OPENROWSET(BULK N'C:\Text1.txt', .....) GO