Viewing 15 posts - 1,786 through 1,800 (of 13,855 total)
You've been here long enough to know about
a) Putting T-SQL code in a code block and
b) Providing data in a consumable format (which can be pasted into SSMS)
November 3, 2021 at 6:05 pm
What results do you get when you run that?
November 3, 2021 at 4:55 pm
I don't have time for a full answer, but the ACE driver is a separate install.
Take a look here: https://www.microsoft.com/en-us/download/details.aspx?id=54920
November 3, 2021 at 3:30 pm
In that case, please see the following article, which I consider to be the "Holy Grail" for such "Catch-All Query" code.
+1, me too.
November 2, 2021 at 4:36 pm
Sounds like you will be interested in the Query Store.
Please take a look here: https://docs.microsoft.com/en-us/sql/relational-databases/performance/monitoring-performance-by-using-the-query-store?view=sql-server-ver15
November 2, 2021 at 11:35 am
Here are some further ideas and suggestions for you:
October 31, 2021 at 12:47 pm
Hi Phil,
yes, I debugged the code and see that when the file with the name FARAN comes the package is down. Looks like this code doesn't work good.
Did you...
October 31, 2021 at 12:38 pm
To improve efficiency, I'd suggest you add columns to your data to track DateCreated and DataModified.
What is the reason for using XML in the data transfer?
Why do you want to...
October 31, 2021 at 12:36 pm
That's true, Phil... but I don't keep the results of Dynamic SQL in source control. I don't keep the code that gets stored in cache that I interrogate with...
October 28, 2021 at 4:35 pm
It's algebra which could be directly calculated, no?
1555201/2^x=800
2^x=1555201/800
log10(2^x)=log10(1555201/800)
x = log10(1555201/800) / log10(2)
x=10.92481343
The number of times it would need to be "applied" before it crossed the 800 barrier would be...
October 28, 2021 at 1:35 pm
Michael L John wrote:I'm with Phil. Why are you doing this?
I can't speak for Ron but sometimes it's necessary to see, for example, the full monty for dynamic SQL.
Presumably you have...
October 28, 2021 at 8:35 am
Is this a SQL Agent job, or something else?
October 27, 2021 at 6:20 pm
May I ask why you are doing this? There are other tried & tested ways of generating DDL.
October 27, 2021 at 3:59 pm
Phil - that helps limit each printout to 4,000 characters but in my case the string is 11,698 so it breaks it into three separate lines. The script I'm...
October 27, 2021 at 3:50 pm
Here is one way.
DECLARE @x TABLE
(
FileName VARCHAR(50) NOT NULL
,CreatedDate DATE NOT NULL
,FileSendingDate DATE NOT NULL
...
October 27, 2021 at 3:24 pm
Viewing 15 posts - 1,786 through 1,800 (of 13,855 total)