Viewing 3 posts - 1 through 3 (of 3 total)
DECLARE @JSON VARCHAR(MAX) --tried also NVARCHAR(MAX)
SELECT @JSON = BulkColumn
FROM OPENROWSET
(BULK 'C:\Users\jsail\Desktop\testCodeUtf8.json', SINGLE_BLOB) AS j --tried also SINGLE_CLOB and SINGLE_NCLOB
SELECT @JSON AS 'jsonText'
The Uploaded File contains...
May 31, 2021 at 12:52 pm
to bad, SINGLE_BLOB didnt work.
I use for testing SQLEXPRESS 2017 (SQL Server 14.0.3381). Could it be a difference, when I'd work on the Fullversion on the Server?
May 31, 2021 at 7:23 am
I get this Error on version 1.
SINGLE_NCLOB requires a UNICODE (widechar) input file. The file specified is not Unicode.
version 2 changes the letters
I use for testing SQLEXPRESS...
May 29, 2021 at 10:43 am
Viewing 3 posts - 1 through 3 (of 3 total)