Viewing 15 posts - 1,321 through 1,335 (of 59,067 total)
You are making a lot of assumptions here that are incorrect.
Nope. Not making any assumptions here. I know and stated exactly what I'd do. People that do otherwise...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 5, 2023 at 6:57 pm
Also, never use SET STATSTICS if the code involves ANY Scalar UDF. It'll make the code look a serious amount slower than it actually is. Please see the following article...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 5, 2023 at 1:12 pm
This will make some people get all scratchy but I use SQL Profiler... usually with a SPID filter.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 5, 2023 at 6:59 am
Heh... you're seriously going to export SSNs to a file in an unencrypted manner along with all that nice PII. What company did you say you work for?
Just...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 5, 2023 at 6:41 am
Heh... you're seriously going to export SSNs to a file in an unencrypted manner along with all that nice PII. What company did you say you work for?
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2023 at 11:32 pm
One comment: I hope the example table isn't an exact replica of your production table, because to use that many columns defined as nvarchar(max) just to be on the...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2023 at 6:31 pm
Hi
I have resolved the issue and doesn't need your comment or answer. Your comment is too late.
You just got done saying "I tried your suggestion and I have...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2023 at 6:26 pm
Jeff, Perfect ! thanks so much for the help, I will run with this and see how it goes when moving to the next month.
but this looks great.
Thanks for...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2023 at 5:18 pm
p.s. I fogot to do the exclusion if the start of the run is in the month before the end of the run. That's easy to do but let's first...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2023 at 4:22 am
Ok... the following provides what you asked for. Give me 3 more Office names and I'll give you what I think they'll ask you for in the future and it'll...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2023 at 4:14 am
I'll also tell you why sys.sp_sequence_get_range will disappoint. The only thing it does is give you the first value and reserves the rest of the values. If you want those...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2023 at 2:13 am
I'll look into the sys.sp_sequence_get_range SP as I've seen someone said it is thread safe. This may be a good solution. (if thread safe)
Looking at it from a...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 3, 2023 at 12:02 am
No answer... Ok then... good luck! 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
July 2, 2023 at 11:43 pm
Post removed.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 2, 2023 at 11:38 pm
What's the max oven number and what do you want to count if a "run" straddles the last day and the first day of the month? For example, do you...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 2, 2023 at 11:25 pm
Viewing 15 posts - 1,321 through 1,335 (of 59,067 total)