Viewing 15 posts - 4,201 through 4,215 (of 7,614 total)
1) No. The primary key and clustering key are not necessarily directly related. The clustering index is the single most critical factor for performance. And it should...
August 17, 2016 at 1:49 pm
Ed Wagner (8/17/2016)
Jeff Moden (8/17/2016)
ScottPletcher (8/17/2016)
Again, auditors would not have access to the original table.
But they have direct access to the audit table? That doesn't make sense to me...
August 17, 2016 at 12:37 pm
SELECT REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(
CAST(price AS varchar(20)),
'0', 'A'),
'1', 'B'),
'2', 'C'),
--...
...
August 17, 2016 at 11:05 am
You could. Or you could change the FK rules to "CASCADE" rather than "NO ACTION" -- at least temporarily -- then just try updating the id from 1 to...
August 17, 2016 at 10:54 am
I prefer to name procedures first by topic area as well. I was merely pointing out that it's more common to use verb_object.
Personally I despise a prefix that represents...
August 17, 2016 at 9:52 am
Jeff Moden (8/17/2016)
ScottPletcher (8/17/2016)
Jeff Moden (8/16/2016)
ScottPletcher (8/16/2016)
Jeff Moden (8/16/2016)
ScottPletcher (8/16/2016)
August 17, 2016 at 9:37 am
Probably most common is verb_object, such as Get_UserName, or some such. I've never seen the "main" table name used as part of the proc name, and it seems like...
August 17, 2016 at 8:53 am
Jeff Moden (8/16/2016)
ScottPletcher (8/16/2016)
Jeff Moden (8/16/2016)
ScottPletcher (8/16/2016)
August 17, 2016 at 8:22 am
Jeff Moden (8/16/2016)
ScottPletcher (8/16/2016)
August 16, 2016 at 12:27 pm
Grant Fritchey (8/16/2016)
MyDoggieJessie (8/16/2016)
August 16, 2016 at 11:32 am
Even so, it's likely that for in-house audits, or less formal audits, the current table could be freely accessed, and then INSERTs might not need logged. But verify that...
August 16, 2016 at 10:10 am
Ed Wagner (8/16/2016)
ScottPletcher (8/16/2016)
Ed Wagner (8/16/2016)
ScottPletcher (8/16/2016)
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
August 16, 2016 at 10:05 am
Ed Wagner (8/16/2016)
ScottPletcher (8/16/2016)
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
August 16, 2016 at 9:34 am
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
August 16, 2016 at 8:23 am
Jeff Moden (8/15/2016)
ScottPletcher (8/15/2016)
Jeff Moden (8/15/2016)
August 15, 2016 at 3:53 pm
Viewing 15 posts - 4,201 through 4,215 (of 7,614 total)