dbTalk Databases Forums  

with grant option

comp.databases.sybase comp.databases.sybase


Discuss with grant option in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
suraj kumar
 
Posts: n/a

Default with grant option - 04-28-2004 , 01:16 PM






Hi Freinds,

I want to give "create table" permission to another user "with grant option".

Iam giving following command

grant create table to uatdbo with grant option

where uatdbo is a user name in that database .

It's giving following error

Msg 156, Level 15, State 2:
Server 'DEVP', Line 1:
Incorrect syntax near the keyword 'with'. following command

Pl. rectify where is the error ??
Regards
Surya

Reply With Quote
  #2  
Old   
Sara Law
 
Posts: n/a

Default Re: with grant option - 04-28-2004 , 04:52 PM






suraj_c (AT) hotmail (DOT) com (suraj kumar) wrote in message news:<64719074.0404281016.c8357ce (AT) posting (DOT) google.com>...
Quote:
Hi Freinds,

I want to give "create table" permission to another user "with grant option".

Iam giving following command

grant create table to uatdbo with grant option

where uatdbo is a user name in that database .

It's giving following error

Msg 156, Level 15, State 2:
Server 'DEVP', Line 1:
Incorrect syntax near the keyword 'with'. following command

Pl. rectify where is the error ??
Regards
Surya
Hi There!

One cannot use the "with grant option" when granting access to DDL
commands (such as "create table"). It is only available when granting
object access permissions such as select, update, etc.

Cheers!!

Sara ...


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.