Viewing 15 posts - 2,536 through 2,550 (of 59,086 total)
This isn't the place to post an article. This is a thread for people to request articles or post article ideas. Hopefully, though, the WebMaster will see this and respond...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 5, 2022 at 9:45 pm
As a bit of a sidebar, you may have some people come back with a suggestion of using the built-in STRING_SPLIT() function. That will seem to work but...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 5, 2022 at 8:28 pm
At McFarlandParkway,
Are you all set? Did the solution I posted work for you?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 5, 2022 at 8:26 pm
@Sathish,
Are you all set? If not, take a look at the article at the first link in my signature line below to learn how to post some "Readily Consumable Data"...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 5, 2022 at 8:24 pm
@Tobar... did you ever figure this out? Without being able to put my hands on the database, I'm out of suggestions.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 5, 2022 at 8:22 pm
Assuming that all of the other 20 subqueries are based on the same pattern in tblPolSpec, you will probably get better performance if you use a CROSS-TAB query like...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 5, 2022 at 7:44 pm
Many thanks for your help. I have been told that it uses DTExec.exe to run the SSISpackage. I am trying to find out more about this but if anyone...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 5, 2022 at 7:43 pm
Memory optimized?
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2022 at 6:34 pm
The original code looks like a "poor man's CROSSTAB". Try the following true CROSSTAB instead.
SELECT PolNr = m.PolNr
...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2022 at 6:14 pm
Thanks for the reply, Eirikur.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2022 at 4:59 pm
I'd suggest adding a Continuous Integration step into your setup. Just deploy the code, without data, into a database, on commit of the code (or a push to a...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2022 at 4:41 pm
this works perfectly! Many thanks!!
It works perfectly for the given data. Try deleting one of the dates and find out that the date doesn't appear in the result. If...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 4, 2022 at 4:32 pm
To continue, one of my pet peeves are SQL lines of code that go off screen and dynamic SQL that comes out as a single line of code, especially when...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2022 at 7:18 pm
Just in case anyone else is having the issue... I've verified that I'm no longer getting email responses for posts that I've subscribed to or have responded to. I've send...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2022 at 6:43 pm
Another simplification would be to use DATENAME for the year instead of casting the results of the YEAR(() function.
EDIT: Sorry... I missed the -1 that was being done.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 3, 2022 at 6:11 pm
Viewing 15 posts - 2,536 through 2,550 (of 59,086 total)