Hi,
I am using the following query to import a text file into my DB:
Is there a way I can also include the name of the text file? Something like:
bulk insert dbo.#temp
from 'Volume1.txt', 'E:\temp\Volume1.txt'
with (FIELDTERMINATOR = ',')
Thanks!
I am using the following query to import a text file into my DB:
Code:
bulk insert dbo.#temp
from 'E:\temp\Volume1.txt'
with (FIELDTERMINATOR = ',')
Is there a way I can also include the name of the text file? Something like:
bulk insert dbo.#temp
from 'Volume1.txt', 'E:\temp\Volume1.txt'
with (FIELDTERMINATOR = ',')
Thanks!