Hello,I am trying to read in from a csv file which works like this:DECLARE @doesExist INTDECLARE @fileName VARCHAR(200)SET @fileName = 'c:\file.csv'SET NOCOUNT ONEXEC xp_fileexist "' + @fileName + '", @doesExist OUTPUTSET NOCOUNT OFFIF @doesExist = 1BEGINBULK INSERT OrdersBulk FROM "' + @fileName + '" WITH ( FIELDTERMINATOR = ',', ROWTERMINATOR = '\n' )ENDELSE print('Error cant find file')What want to do is check another table before each line inserts, if the data already exists I want to do an UPDATE.I think i can do what i need with a cursor but I think the bulk update just pushes all the data up and will not allow me to put in the cursor.So is there a way i can read the csv in a cursor instead of using the bulk insert so i can examine each row?Thanks