Viewing 15 posts - 1,591 through 1,605 (of 13,838 total)
Glad to help. I learned a few things along the way too.
If you have more questions, please post back ... it was a good challenge.
February 4, 2022 at 9:30 am
Please try this to get you started:
DROP TABLE IF EXISTS #SomeJSON;
CREATE TABLE #SomeJSON
(
J NVARCHAR(MAX) NOT NULL
);
INSERT #SomeJSON
(
J
)
VALUES
(N'{
"name":...
February 3, 2022 at 9:24 pm
For now, forget about the Excel bit. There are several ways of getting your query results out, once the query has been written.
If I, or someone else, show you how...
February 3, 2022 at 5:20 pm
Ratpak
Do you want the data flattened (in which case you'll get lots of duplicates at higher levels)? Do you want to return multiple results sets of more normalized...
February 3, 2022 at 3:54 pm
Just a test here... did anyone get an email notification of this post?
Yes, notifications seem to be working again.
February 3, 2022 at 2:58 pm
I recommend that you use the visualiser to decide on which columns to include in one or more row/column datasets you wish to extract and take it from there.
February 3, 2022 at 2:28 pm
JSON's infinite flexibility is also its downfall in cases like this. There is no SELECT * with JSON data, because the data can be very hierarchical.
If you paste the JSON...
February 3, 2022 at 2:25 pm
It's not clear exactly what you are trying to achieve, but this is a start, showing how you handle JSON in T-SQL. If your desire is for something more complex,...
February 3, 2022 at 1:38 pm
You have provided an error message, but not asked any questions.
January 28, 2022 at 3:07 pm
I am no longer receiving e-mail notifications when someone responds to a post I am subscribed to. Is it me, or is this affecting others?
January 21, 2022 at 10:47 am
The fact that you wish to use an OLEDBCommand suggests that you wish to put this in a data flow, is that correct?
I presume that you realise the impact of...
January 21, 2022 at 10:45 am
Nothing to worry about. SELECT queries merely read data, they do not update it.
January 19, 2022 at 3:39 pm
hmm.. for some reason it says that the last post by me but I can't see it
UPDATE: weird.. I could see only 3 pages and once I posted this...
January 11, 2022 at 11:28 am
I tried both Edge and Chrome - no luck. Missing the menu items - assume there was a recent update?
Thanks for verifying.
In addition, it seems that I...
January 11, 2022 at 8:24 am
Viewing 15 posts - 1,591 through 1,605 (of 13,838 total)