I am using T-SQL with SQL Server 2012.
Here is my question: I have a text file on server 10.10.10.1. I want to create a temporary table on server 10.10.10.2 from the previous text file.
According to my research, BULK INSERT
works on local C:
directory.
Is there a way to do the following?
BULK INSERT dbo.#G2
FROM '10.10.10.1.C:\File\textfile.txt'
WITH
(
CODEPAGE = '1252',
FIELDTERMINATOR = ';',
CHECK_CONSTRAINTS
)
Thank you for your help.