Viewing 15 posts - 2,071 through 2,085 (of 14,953 total)
Are you trying to find changes that were already made, or are you planning for the future and working out options to track changes that might happen?
February 1, 2012 at 6:47 am
Jeff Moden (2/1/2012)
drew.georgopulos (1/31/2012)
i just did, and it seems to be exactly the right model for this; as you observed, updates are rare, the levels are static,...
February 1, 2012 at 6:44 am
If depth is non-variable, you're better off building the table explicitly for that, and avoiding the more complex hierarchy solutions. All of those are designed to handle variable depth,...
January 31, 2012 at 2:44 pm
At least the function definition would be needed.
January 31, 2012 at 2:40 pm
TravisDBA (1/31/2012)
IMHO, a manager who punishes the whole group for the actions of a few is a very poor manager. They need re-training (or maybe just TRAINING, because a lot...
January 31, 2012 at 10:47 am
Here's a list of the views for security data in SQL Server: http://msdn.microsoft.com/en-us/library/ms178542.aspx
The ones you probably want are sys.server_principles, sys.database_principles, and sys.database_role_members.
January 31, 2012 at 10:33 am
Probably not, unless you've set up something to track that.
The usual ways to track that kind of thing are DDL triggers, traces, and source control.
To check for a DDL trigger...
January 31, 2012 at 10:29 am
For a HierarchyID structure on this, you'd end up with something like 1.M1A as the value for the first one. The nodes in a HierarchyID datatype can be strings...
January 31, 2012 at 10:19 am
Do you mean data changes in a table, or table definition changes (new columns, dropped indexes, that kind of thing)?
January 31, 2012 at 10:16 am
What precisely do you mean by "access profiles" in the original question? Server roles?
January 31, 2012 at 10:15 am
I don't see a data hierarchy in your code. What am I missing?
January 31, 2012 at 8:32 am
BrainDonor (1/31/2012)
Somebody is about to submit an astounding piece of homework http://www.sqlservercentral.com/Forums/FindPost1244144.aspx
Ah the temptation to post a solution using Union All and a Pivot operator to avoid using Join! ...
January 31, 2012 at 8:25 am
To summarize, snapshot isolation, either flavor, takes rows that are being worked on (updated or deleted) and creates a snapshot of them in tempdb. It uses a row-version number...
January 31, 2012 at 8:20 am
mtillman-921105 (1/31/2012)
GSquared (1/31/2012)
Any standard character on the keyboard is a liability for this kind of thing. But well-written code doesn't have problems with it.
If I understand correctly, I think...
January 31, 2012 at 8:03 am
Viewing 15 posts - 2,071 through 2,085 (of 14,953 total)