Solved

using ctx_ddl.drop_preference

Posted on 2004-09-21
3
1,836 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
Via a live example, show how to take different types of Oracle backups using RMAN.
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

809 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