-
How do I allow non-SA to use DBCC from VB app ?
Can I allow a non SA account to issue DBCC or TRUNCATE TABLE on a DBO table ?
I've tried setting this up in a SP where I've granted execute only to the user but the user receives "Only the DBO of the database may run the DBCC UPDATEUSAGE command".
Do I have to set the user up as an alias to DBO ? I'd rather not.
-
How do I allow non-SA to use DBCC from VB app ? (reply)
permission to excute DBCC updateusage() : sa or dbo only and isn't transferable.
what if you schedule a task to run every night , for example, for dbcc updateusage?
------------
Tim Scher at 3/15/99 10:42:27 AM
Can I allow a non SA account to issue DBCC or TRUNCATE TABLE on a DBO table ?
I've tried setting this up in a SP where I've granted execute only to the user but the user receives "Only the DBO of the database may run the DBCC UPDATEUSAGE command".
Do I have to set the user up as an alias to DBO ? I'd rather not.
-
How do I allow non-SA to use DBCC from VB app ? (reply)
you can also create a simple batch file, that your application will run upon request
in batch file, put this line:
isql -Usa -P<sa password> -S <server name> -d <database name> -Q "dbcc updateusage(0)"
that will run dbcc update usage for <database name>.
for more information about iSQL command line utility see books online
------------
Gregory at 3/15/99 12:05:53 PM
permission to excute DBCC updateusage() : sa or dbo only and isn't transferable.
what if you schedule a task to run every night , for example, for dbcc updateusage?
------------
Tim Scher at 3/15/99 10:42:27 AM
Can I allow a non SA account to issue DBCC or TRUNCATE TABLE on a DBO table ?
I've tried setting this up in a SP where I've granted execute only to the user but the user receives "Only the DBO of the database may run the DBCC UPDATEUSAGE command".
Do I have to set the user up as an alias to DBO ? I'd rather not.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|