Viewing 6 posts - 211 through 216 (of 216 total)
DBCC commands are generally only available to higher-level users.
e.g
DBCC SHOWCONTIG - sysadmin; db_owner; ddl_admin
DBCC DBREINDEX - sysadmin; db_owner; ddl_admin
I guess your read-only user ISN'T a member of these roles, otherwise...
February 25, 2008 at 5:03 am
Edward,
some thoughts.....
Option1 took 5 hours - how were you looping? please don't say you used an incrementing counter?
In Option2
instead of getting the Top 1 recnumber from (top 100000 recnumbers ascending)...
February 25, 2008 at 3:55 am
You could also publish a distribution graph so we can see how many members are at each level?
February 19, 2008 at 6:08 am
Certainly nothing wrong with that approach.
If you did remove owner, manager and requestor into another table, then you would essentially be creating a one-to-one relationship between that tuple and the...
February 19, 2008 at 5:29 am
Hate to moan but isn't this question a bit like
You have a SQL2000 database but you cannot connect to it. What is the problem?
A) it is switched off
B) you have...
February 14, 2008 at 9:17 am
I'd love to find a real-world example of this code being neccessary....and then run a mile. 😉
February 12, 2008 at 5:30 am
Viewing 6 posts - 211 through 216 (of 216 total)