Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Database > Oracle
| Search | Today's Posts | Mark Forums Read
Oracle General Oracle database discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Oracle 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 December 31st, 2004, 06:02 AM
Authorized User
 
Join Date: Sep 2004
Location: Delhi, Delhi, India.
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default Sequence grant in Oracle

Hi all,

I have created a sequence in my one oracle schema xyz.
I have given grant to abc schema.
   grant all seq_name to abc.
Now if I am writting
   select seq_name.nextval from dual
in abc schema.
But getting the error
"sequence does not exist"

I hope I m clear.

Pl help.


Rekha
__________________
It is always safe to assume, not that the old way is wrong, but that there may be a better way...
*************************
Rekha
 
Old January 3rd, 2005, 12:50 AM
Authorized User
 
Join Date: Dec 2004
Location: , , India.
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes you are missing the Grant, Use
Grant select on seq_name to user_name;





Similar Threads
Thread Thread Starter Forum Replies Last Post
grant access---urgent. Komila Oracle 1 March 21st, 2007 03:57 AM
Sporadic problem with Oracle selecting SEQUENCE ID bluefossil Oracle ASP 0 April 6th, 2006 05:44 AM
Grant permissions on object from other DB Dimon SQL Server 2000 4 January 6th, 2006 08:51 PM
Oracle Sequence No , Date format ssertial BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 2 January 23rd, 2005 06:01 AM
Grant SELECT on multiple tables oidhche SQL Server 2000 3 June 16th, 2003 06:26 PM





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