Wrox Programmer Forums
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old September 20th, 2005, 02:58 PM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
Default Alter Table Permissions

As part of a stored procedure, I use ALTER TABLE to disable a trigger.

I am getting the error "User does not have permission to perform this operation on table 'tablename'."

The dbUser I have connecting has SELECT, UPDATE, INSERT and DELETE permissions on the table. What do I need to do in order for the procedure to disable the trigger?

Thanks in advance for your comments.

- - - - - - - - - - - - - - - - - - - - - - -
In God we trust, everything else we test.
 
Old September 20th, 2005, 11:08 PM
Authorized User
 
Join Date: Sep 2005
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
Default

make this login also a db_ddladmin

http://sqlservercode.blogspot.com/
 
Old September 21st, 2005, 07:29 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 218
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you - that's it!

- - - - - - - - - - - - - - - - - - - - - - -
In God we trust, everything else we test.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ALTER TABLE(s) within a LOOP seananderson SQL Server 2000 4 March 16th, 2007 02:05 AM
ALTER TABLE CHECKING moooon MySQL 2 May 5th, 2006 01:56 AM
(oracle 8i)Alter Table <table> coalesce partition combo Oracle 3 October 13th, 2004 09:35 AM
ALTER TABLE Daniel Schaffer Access ASP 0 April 25th, 2004 12:47 PM
ALTER TABLE syntax barjah SQL Server 2000 1 October 29th, 2003 02:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.