Closed devilgate closed 5 years ago
Works with minor changes. Note does not fix #79; required bulk loader format (.fmt) files to be changed from SQL <COLUMN SOURCE="1" NAME="statefp" xsi:type="SQLVARYCHAR" />
to <COLUMN SOURCE="1" NAME="statefp" xsi:type="SQLNVARYCHAR" />
for those columns that are declared as NVARCHAR.
As discussed in #79. Note that I have just added
DATAFILETYPE = 'widechar'
clauses to theWITH
blocks of all theBULK INSERT
statements.Turns out we use them a lot. There are SQL scripts, Java classes and JavaScript files. Also at least one C++ file. I don't even know what that's doing there, but it didn't need to change, luckily.
Note that I haven't tested this.