View previous topic :: View next topic
|
Author |
Message |
nandeshwar
New User
Joined: 11 Oct 2010 Posts: 45 Location: Delhi
|
|
|
|
hi
can somebody tel me what is the command for providing access to my tables for other users.
i am using :
GRANT ALL ACCESS ON (userid.table name) TO PUBLIC
but this command is not working. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
What do you mean by "not working"?
O. |
|
Back to top |
|
|
ssmukul
New User
Joined: 22 Jan 2008 Posts: 19 Location: India
|
|
|
|
Hi Nandeshwar,
Please try to run the Grant query without ACCESS keyword.
i.e.
GRANT ALL ON (Table name) TO PUBLIC.
Thanks, |
|
Back to top |
|
|
nandeshwar
New User
Joined: 11 Oct 2010 Posts: 45 Location: Delhi
|
|
|
|
ofer71 wrote: |
What do you mean by "not working"?
O. |
i meant this command is not working in QMF
Its showing display message as" GRANT CANNOT BE FOUND." |
|
Back to top |
|
|
GuyC
Senior Member
Joined: 11 Aug 2009 Posts: 1281 Location: Belgium
|
|
|
|
don't run it as a QMF command, put it in a query and run it.
and no need to grant all.
"grant select on table xxxxx " might be sufficient. |
|
Back to top |
|
|
nandeshwar
New User
Joined: 11 Oct 2010 Posts: 45 Location: Delhi
|
|
|
|
ssmukul wrote: |
Hi Nandeshwar,
Please try to run the Grant query without ACCESS keyword.
i.e.
GRANT ALL ON (Table name) TO PUBLIC.
Thanks, |
thanks mukul.. it worked. |
|
Back to top |
|
|
|