I'm trying to insert a CSV into a Temporary table and this SQL statement doesn't seem to work.
DECLARE @TempTable TABLE (FName nvarchar(max),SName nvarchar(max),
Email nvarchar(max));
BULK INSERT @TempTable
FROM 'C:52BB30AD694A62A03E.csv'
WITH (FIELDTERMINATOR = ',',ROWTERMINATOR = '
')
Getting the following error....
Incorrect syntax near '@TempTable'.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…