Viewing 15 posts - 5,881 through 5,895 (of 59,070 total)
Why is there no BOMONTH to go along with EOMONTH? Imo it's because DATEFROMPARTS already exists and BOMONTH would just be a special case of that function and...
December 12, 2020 at 6:15 pm
The best I can find is that it is controlled by the service and not externally managed.
Either way, if I had this issue on my servers I would create...
December 12, 2020 at 6:09 pm
The other disadvantages are the somewhat increased overhead and the possibility of increased and/or undetected errors. If you create a view, any error will be found immediately. If you...
December 12, 2020 at 5:34 pm
To answer the question, you could instead change the criteria you cited to...
AND log_reuse_wait_desc <> Nothing'
Like I said in the comment in the code I posted, the...
December 12, 2020 at 5:22 pm
You cannot change the time when that process runs - but you can disable the process that removes log entries and perform that step manually.
Good info, Jeffrey. Just curious,...
December 12, 2020 at 5:13 pm
The ORDER BY is useless (rather than "absolutely essential"). ORDER BY doesn't control the order of physical INSERTs into a table, only the assignment of identity values. I've quoted...
December 12, 2020 at 7:38 am
Just checking so correct me if I'm wrong, please... The end result of your code was to build a view for each AttributeType and then something would have to figure...
December 12, 2020 at 7:11 am
December 12, 2020 at 4:50 am
I have been demonstrating how to create high performance Pivot transformations of data using SQL or Linq. Those queries both use a Pivot Table to enhance the performance of...
December 12, 2020 at 4:48 am
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. ...
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...
December 12, 2020 at 3:26 am
Ah, gotcha. I found the following in another search. Will this help?
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...
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...
December 11, 2020 at 11:28 pm
I'll suggest the following search...
https://www.google.com/search?create+a+stored+procedure+in+DB2
December 11, 2020 at 11:02 pm
Viewing 15 posts - 5,881 through 5,895 (of 59,070 total)