on 10-17-2017 4:29 PM
Bonjour,
I am trying to change the name of table that belongs to an other user.
Table ttable that belongs to user shrimp. As DBA
1> sp_iqrename shrimp.ttable, test_table
2> go
Msg 207, Level 16, State 0:
SQL Anywhere Error -143: Column 'ttable' not found
Further, in the doc it is specified that a user with ALTER ANY OBJECT is able to rename object that belongs to any user ...
No matter what I try, it fails. What is the correct syntax?
Sometimes, Sybase IQ's documentation is such a pain where the sun never shine .....
1> sp_iqrename 'DBA.ttable2', ttable
2> go
(return status = 0)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, for a user to be able to rename an other user's table or object :
GRANT EXECUTE ON sp_iqrename TO USER;
GRANT ALTER ANY OBJECT TO USER;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.