Viewing 15 posts - 661 through 675 (of 3,348 total)
For denying updates on column, you can use the DENY statement to set column-level permissions. Check Books Online for the syntax. This might even remove the need for an INSERT...
March 9, 2016 at 12:35 pm
Please post a repro script. Not with millions of lines - try to create a repro script that is as small as possible, yet shows the same problem you are...
March 7, 2016 at 1:50 pm
Jeff Moden (3/6/2016)
Hugo Kornelis (3/2/2016)
First, thanks for not including surrogate keys in your ERD. They are an implementation choice, so they should never ever be in any ERD.
That's one...
March 7, 2016 at 1:14 pm
In addition to Gianluca's suggestion, here is a link to a good article: https://www.simple-talk.com/sql/backup-and-recovery/sql-server-2014-backup-basics/%5B/url%5D
(Do not worry about the "2014" in the title, the basics are the same in all versions...
March 7, 2016 at 1:07 pm
risingflight143 (3/7/2016)
Hi i want to shrink my database, This is a critical server and i am not a sql admin. Experts help me.
If it's a critical server and you are...
March 7, 2016 at 12:51 pm
PiMané (3/7/2016)So I tried trace flag 9481 and it was very very fast... 47ms and 4.000 reads...
Then you should add that trace flag to the query.
Don't worry, it is a...
March 7, 2016 at 12:36 pm
Yes, you can, and you could use those affinity masks for that (but read the note below). So with your eight cores, you could for instance assign two cores to...
March 7, 2016 at 12:25 pm
tnpich (3/6/2016)
March 6, 2016 at 3:00 pm
SteveD SQL (3/5/2016)
March 6, 2016 at 2:51 am
In the designer, click the cell you want to affect, click the color (or background color) property in the properties window, then enter a formula such as the one below:
=Switch(Fields!City.Value...
March 6, 2016 at 2:34 am
Partitioning is not a performance feature. Indexing should help you lots more.
March 5, 2016 at 2:56 pm
RonKyle (3/5/2016)
A blank string does not mean that it is known that there is no value; a blank string means that it is known that there is a value, and...
March 5, 2016 at 12:26 pm
Define "advantage".
Are you looking for performance benefits? Then partitioning provides little advantage, regardless of single or multiple disks.
Are you looking for easier management with swapping partitions in and out? Then...
March 5, 2016 at 12:14 pm
Mvs2k11 (3/5/2016)
The provided query works fine however when I ran the query against with 1 million records which is failing due to maximum recursion error and I have...
March 5, 2016 at 12:11 pm
The simplification you made should make the plan a lot simpler, and should help the optimiizer get a good estimate.
Before playing with the trace flags, please try updating statistics first!
March 5, 2016 at 9:48 am
Viewing 15 posts - 661 through 675 (of 3,348 total)