Skip to content

Commit 5ed662b

Browse files
Merge pull request #29847 from jovanpop-msft/patch-42
Added declaration of variable
2 parents aab6061 + 89b405e commit 5ed662b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/relational-databases/json/import-json-documents-into-sql-server.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ You can also load the contents of the file into a local variable or into a table
4040

4141
```sql
4242
-- Load file contents into a variable
43+
DECLARE @json NVARCHAR(MAX);
4344
SELECT @json = BulkColumn
4445
FROM OPENROWSET(BULK 'C:\JSON\Books\book.json', SINGLE_CLOB) as j
4546

0 commit comments

Comments
 (0)