I am trying to formulate a script to change some permissions on SYSUSERPERM.

I login as DBA, and run the following command:

update SYSUSERPERM set dbaauth = 'T' where user_id = 104

I receive a 'Permission denied: you do not have permission to update SYSUSERPERM.

However, if I perform the privilege change directly through the Sybase frontend, the system allows me(dba) to perform the change.

Any ideas?

asked 16 Aug '11, 14:15

smripley's gravatar image

accept rate: 0%

edited 16 Aug '11, 15:57

Justin%20Willey's gravatar image

Justin Willey

You can't change or insert values into system tables directly - you have to use the appropriate DDL command instead. When you use Sybase Central to make the change, you aren't editing the data directly, Sybase Central is executing the command for you.

You will need the GRANT statement:


permanent link

answered 16 Aug '11, 15:51

Justin%20Willey's gravatar image

Justin Willey
accept rate: 20%

edited 16 Aug '11, 15:51

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 16 Aug '11, 14:15

question was seen: 3,139 times

last updated: 16 Aug '11, 15:57