Viewing 15 posts - 1,441 through 1,455 (of 6,105 total)
Most have been fine. What the case here was that the Books Online entry was misleading. Therefore, if you wrote the question based on that entry, you get the idea....
November 15, 2007 at 1:44 pm
If you're looking for a complete list, try something like this, otherwise, the function you cited works well for individual securables:
SELECT dperms.*
FROM sys.database_permissions dperms
JOIN sys.database_principals dprins
...
November 15, 2007 at 8:41 am
Menaka (11/15/2007)
Thank you all for the inputs I tried with detach and attach...while attaching I got the error like 'e:ew-db.ndf' file is missing
That either means the file no longer exists...
November 15, 2007 at 8:28 am
You're potentially getting back multiple rows. Therefore, to execute each row, you need a cursor to loop through them. Here's a good starting point, which also includes an example of...
November 15, 2007 at 8:24 am
Brandie Tarvin (11/15/2007)
I love the title of the book you co-authored. "How to Cheat at Securing SQL Server"... ...
November 15, 2007 at 8:21 am
SQL Noob (11/15/2007)
we bought out some competitors and it's easier to migrate data to our systems because we don't have to worry about constraints....
November 15, 2007 at 8:04 am
Megha Yadav (11/15/2007)
November 15, 2007 at 7:42 am
A couple of reasons:
- Security
- Enhanced Reliability (supposedly)
November 15, 2007 at 3:22 am
If you want to return the permissions for the current connection, you don't need to do that. Something as simple as this will work:
SELECT *
FROM sys.database_permissions
WHERE grantee_principal_id = DATABASE_PRINCIPAL_ID()
November 15, 2007 at 3:18 am
The quotes are fine. However, if you're trying to execute this in a job, you probably need to use a cursor and then EXECute the returned SQL result.
November 15, 2007 at 3:15 am
The trick is to double the single quote. So when inserting, instead of just one ('), you put in two (''). If you are selecting, the same rule applies. You...
November 15, 2007 at 3:10 am
There are plenty of articles out on the Internet about why foreign key contraints are good to ensure data integrity. Perhaps this is an opportunity for you to be able...
November 15, 2007 at 3:08 am
Given that you only have two disks, I would. However, make sure you expand out the sizes of your user databases so that autoexpand doesn't take place. Otherwise, you may...
November 15, 2007 at 3:06 am
noeld (11/14/2007)
Funny thing is that RAW is what M$ uses for the tcp-E benchmarking.
Yup, you noted that, too? I think it was a Kevin Kline article I was reading that...
November 14, 2007 at 11:00 pm
Viewing 15 posts - 1,441 through 1,455 (of 6,105 total)