How can I extract the create preference script from database

I have 10.2.0.3 database. I have a schema that has text schema indexes. I need to load the data to another user.
Here is my steps:
1. create a new user dev.
2. expdp user prod
3. impdp prod to dev META_DATA_ONLY
4. drop schema indexex, otherwise, there is error.
5. recreate schema index.
My problem is when I recreate the indexes. I got this error
ERROR at line 1:
ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-20000: Oracle Text error:
DRG-10700: preference does not exist: OCS_IDCCOLL1_LEXER
ORA-06512: at "CTXSYS.DRUE", line 160
ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 364
I ran
select pre_name from CTX_PREFERENCES wehre pre_owner='PROD'
OCS_IDCCOLL1_LEXER
How can I recreate the OCS_IDCCOLL1_LEXER for user dev?
Thanks a lot!

Try running CTX_REPORT.CREATE_INDEX_SCRIPT: see http://download.oracle.com/docs/cd/B14117_01/text.101/b10729/admin.htm#CACFCCDA.

Similar Messages

  • How can I extract the full SQL script for a schema?

    Hi,
    How can I extract the full SQL script for a schema?
    I am looking for some method that needs jus SQL*Plus and preferably doesn’t need any extra tool.
    Thank you,
    Alan

    How can I extract the full SQL script for a schema?What are you looking for? PL/SQL code? DDL for objects?

  • How can I extract the two channels from a stereo track?

    Hi,
    I am writing a class that is able to draw an audio signal. It seems to be working well but I have a question. If I load a mono audio file I am able to draw it on a graph by using the byte[] array and everything is ok until now. That's the code:
    void Draw(byte[] x)
                Graphics g=getGraphics();
                Graphics2D g2=(Graphics2D)g;
                g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,                     RenderingHints.VALUE_ANTIALIAS_ON);
                for(int i=0; i<x.length-6; i++)
                    g2.draw(new Line2D.Float(((i*(getWidth()-6))/x.length)+5, (getHeight()/2)-          ((x*(getWidth()-6))/x.length), (((i+1)*(getWidth()-6))/x.length)+5, (getHeight()/2)-     ((x[i+1]*(getWidth()-6))/x.length)));
    The results is correct only if I have a mono track. Obviously when I get a stereo track the array becomes very large so here the question. How can I extract the two audio channels from a stereo track?
    Thanks in advance.
    Maurizio Di Vitto                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    A mono audio stream is stored [sample, sample, sample, sample], so just a list of samples in an array.
    A stereo sample is interleaved in the same manner, so you get [left-sample, right-sample, left-sample, right-sample]
    So every nth sample is the 1st channel, every nth+1 is the 2nd channel...

  • How can i extract the particular data from Base tables

    Hi
    I have some Base R/3- Tables . I need to exact the data from these base tables.
    But i need to select some type of datarecords(eg: select Material Documents from MSEG and MKPF tables based on movement types 261,262).
    Something like that . So how can i select the particular category datarecords from base tables. Anyway im going to create the Custom DataSource.
    So please let me know . how can i extarct tha particular data from base tables
    kumar

    Hi Venkat
    See i have some 5-tables . I need to extarct from these tables.
    first i need to extract the data from one table fully.
    Then i need to extarct the data from second table based on profict centers, company codes of first table.
    Then i need to extract the data from third table based on profict centers of first table and movement type = 2p,2n,2s condition.
    So how can i extarct like this data from multiple tables.
    Please let me know
    kumar

  • How can I extract the data from Xstring .

    Hi Gurus ,
    How can I extract the data from a XSTRING  .
    I have to get the data which is filled in the survey form the data is getting saved in form of xstring .
    Someone told me that there is a standard FM for that . but I am not able to find .
    Please reply with the FM in case some one knows about it .
    Thanks in advance .

    The following code works as of 7.0 (in any SAP system):
    FORM XSTRING_TO_STRING USING input TYPE xstring CHANGING output TYPE string.
    TYPES : BEGIN OF ty_struc,
              line TYPE c LENGTH 100,
            END OF ty_struc.
    DATA lt_char TYPE TABLE OF ty_struc.
    DATA length TYPE i.
    length = xstrlen( input ) / cl_abap_char_utilities=>charsize.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
      EXPORTING
        buffer                = input
      tables
        binary_tab            = lt_char.
    CONCATENATE LINES OF lt_char INTO output RESPECTING BLANKS.
    output = output(length).
    ENDFORM.
    Edited by: Sandra Rossi on Mar 30, 2010 12:24 AM

  • How can I extract the info from my Time Capsule?

    How can I extract the info from my Time Capsule?

    What info would that be??
    If you mean how to recover TM back to a computer.. see Pondini Q14-17
    http://pondini.org/TM/FAQ.html
    If that isn't it .. we do not know what.. "the info" you are talking about.

  • HOW CAN I EXTRACT THE SYSTEM DATE?

    HOW CAN I EXTRACT THE SYSTEM DATE?

    import java.util.*;
    import java.text.SimpleDateFormat;
    public class date2{
        public static void main(String[] args){
            Date today = new Date();
            SimpleDateFormat output = new SimpleDateFormat();
            String answer = output.format(today);
            System.out.println(answer);
    }If you want to make it prettier, you can look at using a locale, or a pattern string in the SimpleDateFormat constructor. Read the Documentation.
    Note that new Date(), constructs a Date with the current Time,
    you could also use: new Date(System.currentTimeMillis());
    Hope this helps
    -Philip.

  • How can I extract the native SQL generated by TopLink?

    How can I extract the native SQL generated by TopLink?
    This is useful for example to use pagination, or pass the SQL to a stored procedure that may do many things, like using a cursor, or apply security.
    Pagination example where the SQL inside the inner parentheses are generated from Toplink, and the outer SQL is generic:
    select *
    from
    (select xx.*, rownum as rn
    from
    (select o.order_id, r.name, ...
    from placed_order o, restaurant r
    where o.restaurant_id = r.restaurant_id
    order by o.order_ext_id
    ) xx
    where rownum < 21)
    where rn > 10

    Alternatively, you can open your sessions.xml in the Mapping Workbench and for a specific session, you can Click the Login Tab and then the Options tab. Then select "Native SQL" and it will be outputted to the console (assuming that is where you outputing it).
    zb

  • How can I extract the soundtrack from iMovie and put it in my iTunes Library?

    How can I extract the soundtrack from iMovie and put it in my iTunes Library?

    Or this
    From iMovie 10.0.6 select Share > File. Then select Format=Audio Only. Then select File Format and choose from AAC,MP3,AIFF or WAV.

  • How can I call the create method in BO from Application Service

    Hello!
    When I create a Business Object, CAF generates some methods automatically.
    How can I call the create method in the BO from Application Service logic?
    When i call the method then the entityManager and the sessionContext is NULL.
    How can I initialize this?
    Can anybody help me?
    Thanks, Thomas

    If you are using CE 7.11...
    1) In the Application Services, add the BO as dependant object in dependencies tab.
    2) In the implemention, add the following codes to call create method of the BO:
    this.get<BO>.createMethod();
    julius

  • How can I access the Help preferences?

    How can I access the Help preferences? I hate the way the Help window stays in front of every other window, so I really need to change it's behaviour.

    Mary,
    To see the reports button, your workflow user record must be at least Process Administrator (use the admin module to see an individual person's properties, in the Privileges tab I think..)
    The backend stores information suchs as where and when a workitem was processed, but it won't contain the information that was populated on the forms, unless you make the fields you need to searchable fields on the process map. Beware, this can add to the size of the database quickly.
    All of the available tables are documented in the pdf files that are distributed with the product.
    Good luck,
    Sanna

  • Mail -- How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    How can I change the default email account from which my messages go, without having to change it each time I draft a message?  It currently assumes an email account that I rarely use. Thanks.

    sorry, but I can't find the mail preference in the latest Yosemite OS. Do you know where I can find it?
    Thank you
    Don

  • Re:How can we delete the concurrent node entry from the FND_NODE table

    HI ,
    11.5.10.2 on Oracle Solaris on SPARC (64-bit) .
    How can we delete the concurrent node entry from the FND_NODES table without running Autoconfig.
    Currently we are having 3 nodes RAC and we are deciding to remove one node from the RAC and all 3 nodes are registered as concurrent node with application but concurrent manager is running only on one node.
    Lot of the custom configuration we did it at application web tire level. If we run the Autoconfig at that time we need to redo those changes again that we are trying to avoid.
    Regards .

    we are trying to avoid to run FND_CLONE.setup_clean because it will delete all the nodes entries from the FND_NODES.If those entries are invalid then they should be deleted.
    Running AutoConfig after purging the table will populate it with the correct entries.
    In order to populate the nodes entries again we need to run autoconfig and it will change the server id in fnd_nodes and then we need to redo the ADI client configuration on users PC and redo all the changes that we made in jserv and webserver.For ADI Clients, you should use the correct server ids which will be populated in the table for you once you run AutoConfig.
    For jserv configuration, you can refer to (Customizing an AutoConfig Environment [ID 270519.1]) to make the preserve all your custom setup/configuration after running AutoConfig.
    If there any custom script to delete only one node from the fnd_node so that we don't need to run autoconfig after that, then I really appreciate.No.
    Thanks,
    Hussein

  • HT1544 how can I reinstall the Mac OS X from scratch?

    I have an early 2008 iMac that came with Mac OS X 10.5 leopard. I have bought all os's since then, and Today I am using the most recent one, mountain lion. My question is, how can I reinstall the Mac OS X from scratch? Is there a quick way ? Or do I have to:
    Find the leopard CDs that came with the iMac
    And go through the cd installation.
    Then, can I jump from leopard to mountain lion?

    If your goal is to just reinstall Mountain Lion, you can restart the computer holding the Command and R keys, then choose the reinstall OS X option from the utilities choices presented to you.
    That restarts the computer using the recovery hard drive that was created when you installed Mountain Lion...but note you must have an internet connection when you do this reinstall.

  • How can I stop the iWeb welcome movie from appearing

    How can I stop the iWeb welcome movie from appearing every time iWeb starts up?
    Oh yes and now that we are talking: when I plug in my ipod, I want iTunes to start, not iPhoto.
    Who knows these tricks?

    iPhoto seems to be viewing the iPod as a camera.  Therefore go to iPhoto's General preference pane and select No application in the Connecting camera opens: menu.
    OT

Maybe you are looking for

  • Problem building Client JVM on RedHat Linux 7.1

    Hi :) I am trying to build the client VM on RedHat Linux 7.1. I have religiously followed all the pre-requirements, making sure that I meet them all. Nevertheless, I get a bunch of error messages. They are divided into two categories: - "cannot conve

  • Text message reply to a single person in an incoming group text?

    I am not figuring out how to reply to just one person in a group text message...Can anyone help please?

  • Error 4261 - burning problems

    Hello, I've been burning CDs with iTunes for years without any problem. As of about 2 weeks ago, I started receiving 4261 errors almost every time I attempt to burn a CD. At the advice of some similar posts, I have slowed down the burn speed to 1x am

  • Schedule a report with the system date imbeded in the file name

    Hello, Could anyone tell me how I can schedule a crystal report with the system date imbedded in the file name (FileNameYYYYMMDD) through BOE?  When I scheduled the report through BOE, I gave a file name and selected Attach Date Time, but the file na

  • Rebuilding partitions indexes takes a lot of time

    We have 5 partitions in one table with the following sizes: P1 ---- 160MB P2 ---- 160MB P3 -- 1280MB P4 -- 5400MB P5 - 24640MB Nobody is connected to the instance, no apps is running on this server, the server is dedicated to the database and only fo