The following code gives an error (its part of a T-SQL stored procedure):
-- Bulk insert data from the .csv file into the staging table. DECLARE @CSVfile nva
Can you try FROM ' + @CSVfile + '
FROM ' + @CSVfile + '