Viewing 15 posts - 5,386 through 5,400 (of 59,068 total)
We have dedicated Sr. People for optimization and they have been doing it for more than a decade for some good clients. So we trust their understanding for indexes...
April 9, 2021 at 2:28 am
.... Compressed backups are only available in the Enterprise Edition for production environments (and Developer's Edition for development/testing environments)....
Compressed backups are available on every edition except Express Edition ...
April 8, 2021 at 2:54 pm
Awesome article, Johan! Thanks a million!
April 8, 2021 at 4:30 am
If you move tables to another database, remember that DRI (Declared Referential Integrity, like FKs, etc) won't work across databases.
I totally agree with Page/Row Compression, compressed columns using the COMPRESS/DECOMPRESS...
April 8, 2021 at 4:23 am
You don't really need a pk or any other column from the main table. Also, I assumed you're rather see blank than NULL for missing levels, but...
April 8, 2021 at 2:43 am
Although the PK is frequently also the clustered index, it's not necessarily so. The keys of non-clustered indexes include the keys of the clustered index, which isn't necessarily...
April 8, 2021 at 2:39 am
Just as a side bar, a search engine search for "backup database to multiple files sql server" yields a large number of articles on the subject.
From that lot, the simplest...
April 8, 2021 at 2:27 am
Although the PK is frequently also the clustered index, it's not necessarily so. The keys of non-clustered indexes include the keys of the clustered index, which isn't necessarily the column(s)...
April 8, 2021 at 1:57 am
You don't really need a pk or any other column from the main table. Also, I assumed you're rather see blank than NULL for missing levels, but if not,...
April 7, 2021 at 9:28 pm
Sorry... missed your previous post about the PK.
I have one in the code I posted using ROW_NUMBER() but that's not going to help you. Help me help you by adding...
April 7, 2021 at 5:55 pm
p.s. Like I said, STRING_SPLIT() isn't going to do the job correctly because it doesn't return the ordinal position of the elements nor does MS guarantee the sort order it...
April 7, 2021 at 5:52 pm
Unfortunately, I can not use DelimitedSplit8K as I can not add functions on the server and I keep getting "'string_split' is not a recognized built-in function name." when I...
April 7, 2021 at 5:49 pm
In the mean time, here's the code to do the given problem with the given data. There are some caveats, though...
WITH
cteEnumerate AS...
April 7, 2021 at 4:16 pm
No matter what we use, the test table is incomplete. Each row needs to have something that uniquely identifies each row as it appears in the original source table. ...
April 7, 2021 at 3:46 pm
Since you are using SQL Server 2019, would "string_split()" function suit your needs?
https://docs.microsoft.com/en-us/sql/t-sql/functions/string-split-transact-sql?view=sql-server-ver15
The trouble with STRING_SPLIT() is that it does not return the ordinal position of the elements that...
April 7, 2021 at 3:15 pm
Viewing 15 posts - 5,386 through 5,400 (of 59,068 total)