Viewing 15 posts - 1,636 through 1,650 (of 13,879 total)
Please take a look at this and see what you think
DROP TABLE IF EXISTS #LastTimeTankDrained;
CREATE TABLE #LastTimeTankDrained
(
Tank CHAR(2)
,LastDrain INT
...
February 5, 2022 at 4:45 pm
What the data represents is confusing me a little, can you expand on it a little, please?
Take TankDate 1/1/2021 as an example. There are 6 rows, with DrainSeq ranging from...
February 5, 2022 at 12:01 pm
Recovering the missing day's data might not be as difficult as you think. People here will help you.
Approximately how many tables in the database, in total, are likely to contain...
February 4, 2022 at 3:07 pm
I don't think I'll be telling you anything that you don't already know ...
If the 'missing' data exists only on the crashed server, you have to wait until the crashed...
February 4, 2022 at 2:22 pm
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
Viewing 15 posts - 1,636 through 1,650 (of 13,879 total)