Viewing 15 posts - 31 through 45 (of 229 total)
February 16, 2017 at 8:40 am
Huh! That's a really clever approach (of course relying in the implicit ordering of those tables). Very interesting food for though. But yeah, maybe I should just push for a...
February 16, 2017 at 8:38 am
February 6, 2017 at 10:35 am
That's very helpful. Thanks for taking the time to put that together for me.
February 2, 2017 at 1:30 pm
Sergiy (12/7/2016)
You may have many identical indexes, all with different names.
To check if an index with the same structure as...
December 7, 2016 at 7:24 pm
I figured out a solution
if exists (select 1
from sys.indexes
...
December 7, 2016 at 12:50 pm
Well that's the first part of it, yes. But what I really want to check is if it's already on the partition scheme.
The table already has a clustered index which...
December 7, 2016 at 11:36 am
sequelgarrett (7/5/2016)
This only works within the dbo schema. To have it work with all tables, you'd need to change line 39 to do something like this:
Thanks for pointing that out.
July 5, 2016 at 10:39 am
robert.sterbal 56890 (7/4/2016)
What are your restrictions on republishing this script?
Use it to your heart's content.
July 5, 2016 at 10:39 am
Here's my approach. Forgive the verbosity, the only way I can think through string manipulation in SQL is to do it in steps.
-- fictious source data
;with src as
(
...
June 27, 2016 at 8:53 pm
Gotcha. Unfortunately, that function doesn't have the same signature as the one in your original code sample. I modified the function to accept all three parameters (start, end and increment;...
June 27, 2016 at 8:43 pm
Could you provide the code for TallyGenerator? Since I'm not actually trying to just generate random numbers, it's difficult to see where I'd slot in my legitimate symbols, or how...
June 27, 2016 at 7:22 pm
Viewing 15 posts - 31 through 45 (of 229 total)