Viewing 15 posts - 5,926 through 5,940 (of 59,089 total)
Having a bit of a tough time yesterday and today remembering a good long distance friend and SQL heavy hitter. It's hard to believe that it's been 5 years already. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2020 at 4:32 am
Btw, how then do you exec the code the function created? Wouldn't you some type of loop / cursor to do that anyway?
Based on the original request, I assumed...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2020 at 3:26 am
Ah, gotcha. I found the following in another search. Will this help?
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2020 at 3:17 am
Heh... this is why us old dinosaurs rock...
Someone else: "Hey there, Grandpa! Can you tell us that old story about what it was like to calculate running totals in the...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 12, 2020 at 12:06 am
I did find some old documentation for SQL Server 2005 which says the SUM function may be followed by the OVER clause.
Yep... and I didn't contradict. Go...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 11:28 pm
I'll suggest the following search...
https://www.google.com/search?create+a+stored+procedure+in+DB2
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 11:02 pm
I apologize for not knowing the answer, Neil, but wanted to thank you for giving me another reason to avoid SSRS. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 11:00 pm
Hello,
I am not great with SQL and the statement I wrote is in TSQL and it is working. I would like this same statement to run in MSSQL, can...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 10:58 pm
Are you terminating the preceding statement with a semicolon?
You can start statements that begin with "WITH" with a semicolon:
;WITH ret AS(
Now, there's an interview question if...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 10:53 pm
we are currently doing a 1 hour tran log backup for a system, I'd like to push that up to 1 minute. Is there a performance hit to be...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 10:20 pm
The standard pattern uses 0 as the base, not 1 or -1 or some other "cute" trick.
No sir... There are a couple of "standards". The "standard" that YOU and...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 9:00 pm
Those extra steps are not required for SQL 2016, at least according to MS internals folks. For example, your statement of needing an explicit CREATE TABLE statement? Again, I...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 8:57 pm
@aaron.reese ,
If you're absolutely stuck with doing the way that you've outlined, you've posted in a 2017 forum so lets use some of the functionality available.
First, here's the test data...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 8:33 pm
...the extracts will be ad-hoc so I'm not concerned about speed, rather about maintainability.
Right now, the "config" table is setup only to provide a list of columns by...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 8:14 pm
No. The human brain is designed to recognize patterns. Sticking with a familiar patterns drastically speeds up recognition...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 11, 2020 at 4:14 pm
Viewing 15 posts - 5,926 through 5,940 (of 59,089 total)