Solved

using ctx_ddl.drop_preference

Posted on 2004-09-21
3
1,848 Views
Last Modified: 2007-12-19
I'm trying to use ctx_ddl.drop_preference pl/sql package, but getting error while compiling store procedure
"identifier 'CTX_DDL' must be declared"
Can someone explain how and where this package should be used.
I'm lloking at somebody's code and apparently the purpose of it is to convert LONG to CLOB.
Looks like the person is trying to create index for clob value.

0
Comment
Question by:smena
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 3

Accepted Solution

by:
ToddBarry earned 125 total points
ID: 12117957
In order to make a call to CTX_DDL in a stored procedure, CTXSYS will need to 'grant execute on ctx_ddl to username'.  This direct grant is required - the CTXAPP role is not sufficient.

http://osi.oracle.com/~tkyte/Misc/RolesAndProcedures.html
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question