3.1EA1: Teradata 'database' command throws 'unknown command' error

I'm able to connect to TD using SQL Developer 3.1. I then try and switch databases using TD's 'database' command and receive the below error. If it helps, I use this command frequently in both bteq and winSQL. Having said that, I'm very excited to see Teradata support come to SQLDeveloper!
command_
database dw_vw_dev;
output_
Error starting at line 1 in command:
database dw_vw_dev
Error report:
Unknown Command

Hi <Please supply your name>,
At the moment SQL Developers Worksheet recognizes Oracle SQL and scripts.
But we have not extended it to recognize the non Oracle languages.
The Worksheet needs to recognize the statements so it can break a script into separate statements (identify the start and end of a statement)
And to figure out if its normal statement or one which returns a value or result set.
As most databases SQL is reasonable similar , things like SELECT, INSERT, UPDATE, .. are recognized fine for non Oracle databases.
But something like the Teradata DATABASE command is not recognized (yet).
For statements we don't recognize we currently do not run them against the database.
Ill investigate this some more to see if we can make it a bit more hands off.
In the mean time we do have a workaround which requires adding a hint to tell the worksheet what type of statement it is.
http://dermotoneill.blogspot.com/2010/11/workheet-hints.html
Hope this helps,
Regards,
Dermot.
SQL Developer Team.

Similar Messages

  • "SP2-0734: unknown command..." error while importing a dump file

    hello,
    i want to import a dump file into my database named orcl, and i come accross the same error after executing the import command. my import command is:
    SQL> imp mvdemo/mvdemo file=mvdemo.dmp full=y ignore=y
    i use oracle 10g enterprise edition.
    i created the user mvdemo/mvdemo.
    the error i see in my screen is:
    SP2-0734: unknown command beginning "imp mvde..." - rest of line ignored.
    for a long period of time, i havent used oracle dbms. before, i remember that i used enterprise manager in import/export processes. however, i am not able to find the enterprise manager in 10g options now. do i have to install the enterprise manager seperately in oracle 10g enterprise edition? may this problem be relational with this matter?
    if someone could answer, i would be greatful.
    best regards

    Import is run from the command prompt, not the SQL prompt.

  • Unknown command problem

    hi my problem is that i am creating a maze game. the maze is a 2d array of integers. and fed in threw a reader and loaded.
    static void play(){
    try {
    //creates a buffered reader
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    //boolean varible is set to true when the program is running until exit is typed
    boolean running = true;
    while (running){
    //a new String varible which is used for input
    String line = in.readLine();
    //when the game is being played a line string says you typed. + line
    //the +line is what the user typed
    System.out.println("You typed "+line);
    //if the user types south call the south method;
    if(line.startsWith("south")){
    south();
    //if the user types east call the east method
    else if(line.startsWith("east")){
    east();
    //if the user types west call the west method
    else if(line.startsWith("west")){
    west();
    //if the user types north then call the north method
    //this is not case sensitive
    else if(line.equalsIgnoreCase("north")){
    north();
    // check if they have reached the goal
    if(currentX == goalX && currentY == goalY)
    System.out.println("You have reached the goal!");
    //print out the maze after each turn(this was only used for testing purposes)
    print();
    //if the user types exit then change the value of running to false and exit the java console
    //it also calls the equalsIgnoreCase this method will allow entry in any case
    if (line.equalsIgnoreCase("exit")){
    running = false;
    // else
    //          System.out.print( "Unknown command: " + line );
    the problem is that if the user types in an invalid command i want to display this error message.
    when i run the program however i get the error every time even though the move happens the error message is still displayed. i only want the error message to display when an invalid command is typed
    i am a beginner so please use basic language.
    thanks jon

    Use the code formatting tags when you post code.
    hi my problem is that i am creating a maze gameTrue, if you weren't creating a game, you'd probably have no problem.
    threw a readerWhere did you throw it?
    i am a beginner so please use basic language. Put your "unknown command output" and exit check blocks directly after the check for "north"

  • Mysql Unknown Command Error:

    Hi, I have a New website jokes.randhawaworld.com but i am
    hacing severe mysql errors and that are related to:
    Error Executing Database Query.
    Communication link failure: Unknown command
    I ceated a Support Ticket and They said they enabled the
    Robust Exception handling to dig around. I checked and my queries
    were causing trouble, i changed the values of some queries to
    hardcore it they worked but when they were made dynamic it
    generated error. Slowly all my queries were getting errors. May be
    my 1 query could be wrong not all.
    Can anyone please tell what is going wrong with Me.
    vist at: jokes.randhawaworld.com to see its contents
    Also I made the website using AJAX but no sign of Ajax is
    shown on the webpage. i am in a shared host with hostingtoaz
    Plz guide me
    Thanks

    nightwolf666 wrote:
    > Hi, I have a New website jokes.randhawaworld.com but i
    am hacing severe mysql
    > errors and that are related to:
    >
    > Error Executing Database Query.
    > Communication link failure: Unknown command
    Using cfgoogle returns
    http://gm22.net/2006/09/22/communication-link-failure-unknown-command/
    Mack

  • Unknown command beginning "shutdown i

    Hi dbaguru,
    Can any one provide me solution. i unable to shutdown my dabase it showing below message when i make my database into downmode.
    SQL*Plus: Release 8.0.6.0.0 - Production on Tue Aug 19 14:19:58 2008
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter user-name: sys as sysdba
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    unknown SET option beginning "SQLPLUSCOM..."
    SQL> shutdown immediate
    unknown command beginning "shutdown i..." - rest of line ignored.

    It looks like you are using Sqlplus from Oracle 8 to shutdown an Oracle 9 database.
    I think you should logout and check your environment to make sure you are using the correct sqlplus to connect to the correct database.

  • IMPDP / EXPDP unknown command

    Hi,
    I don't use oracle databases for a long time and I am not a DBA. Now I am using it again with the following environment: there is a server with a huge database Oracle 10g EE and I am developing an application that uses a part of this. I have Oracle 10g XE on my development machine and I want to use expdp/impdp to copy the tables I am interested in into my machine.
    My problem is that I get a SP2-0042 error telling me that the command is unknown (in both server and dev machine). From what I understood the datapump should be available in both versions. Does anyone can help me?
    Thank you,
    Rui

    Expdp/impdp are separate utilities and not subcommands in sqlplus. I recommend you read the documentation.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/part_dp.htm#i436481
    Werner

  • Unknown command beginning "recover da..." - rest of line ignored

    Hi.
    I have one corrupted datafile (status column from v$datafile have value 'RECOVER' for it and I get ORA-01113, ORA-01110 when I try to get it online). It seems I need manually recover datafile via 'RECOVER DATAFILE' command. However when I issue it in SQL*Plus I get: 'unknown command beginning "recover da..." - rest of line ignored.'.
    I have Oracle 8.0.5 Database.
    Thx

    Is this production server If yes 'DON'T touch and get away from that key board' in tom words.
    and take a oracle support if you are not familer with recover command.
    In case its your testing enviornment the you can take the corrupt datafile offline restore the new from latest backup and for this you should have all archive log from the date of last backup.
    after restoring datafile use recover command.
    http://www.iselfschooling.com/mc4articles/mc4recovery.htm
    go through following link for step by step recovery.

  • Disconnected: Unknown command: 7

    What ?
    simple lookup to newly, successful deployment, other modules work fine.The stacktrace is
    javax.naming.NamingException: Disconnected: Unknown command: 7
         at com.evermind.server.rmi.RMIContext.lookup(RMIContext.java:153)
         at javax.naming.InitialContext.lookup(InitialContext.java:347)
         at dk.son.nms.subscription.TestClient.<init>(TestClient.java:26)
         at dk.son.nms.subscription.TestClient.main(TestClient.java:38)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)
    I must say (as a customer, that cant login to metalink atm), i am not impressed. In the past day(one day), i've gotten error messages from OC4J like this;
    - javax.naming.NamingException: Disconnected: Unknown command: 7 (current)
    - internal deployer exception : ArrayIndexOutofBounds(10)
    (hadnt this been java, you'd bee rooted now)
    - internal deployer exception : null
    (I LOVE this one)
    - internal deployer exception : Syntax error in source
    (thank god ... WHAT SOURCE? .. infact it was NOT 'a' source)
    This is errors that tell me absolutly NOTHING about what is actually wrong .. I could list the causes and solutions to these but it would be a never ending list.
    This is not proffesional software !! Is it ? I am spending way WAY too much time figuring these things out, time i should be using on more productive things.. ask my boss.
    Jesus ... venting temporarily over .. I'll be throwing up a webpage soon, at least im planning to, with all these rigid error messages and my 'IMHO' oppinion about them...
    might as well vent this stuff ->void/null as well..

    Hello,
    I am with the same problem... some of my EJBs works fine, but one fails when trying to make a lookup with the correct JNDI name... I tested on OC4J 10.1.3 and all works fine, thought on OC4J 9.0.4 the problem has shown...
    Did you know what is this problem about?

  • Unknown command beginning  "NODUPLICATES..."

    Hello,
    When I execute this sql script, I get the error below. I'm on Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit. It runs and gives formatted output. Do you have any suggestions as to why I get this error?
    set pagesize 100
    set linesize 100
    column c0 format a10 heading 'Owner Name'
    column c1 format a20 heading 'Table Name'
    column c2 format a20 heading 'Index Name'
    column c3 format a20 heading 'Column Name'
    column c4 format a10 heading 'Uniqueness'
    break on c0 skip1 NODUPLICATES on c1 skip1 NODUPLICATES on c2 skip1
    NODUPLICATES on c4 NODUPLICATES
    select     ...
    unknown command beginning "NODUPLICAT..." - rest of line ignored.
    Edited by: Cerito on May 31, 2013 8:26 AM

    Hi,
    Cerito wrote:
    Hello,
    When I execute this sql script, I get the error below. I'm on Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit. It runs and gives formatted output. Do you have any suggestions as to why I get this error?
    set pagesize 100
    set linesize 100
    column c0 format a10 heading 'Owner Name'
    column c1 format a20 heading 'Table Name'
    column c2 format a20 heading 'Index Name'
    column c3 format a20 heading 'Column Name'
    column c4 format a10 heading 'Uniqueness'
    break on c0 skip1 NODUPLICATES on c1 skip1 NODUPLICATES on c2 skip1It looks like the line below is supposed to be a continuation of the line above.
    NODUPLICATES on c4 NODUPLICATESIf you can't put the entire command on one line, then put a single hyphen ( - ) at the end of the first line, to tell SQL*Plus that the command is continued on the line below, like this:
    break on c0 skip1 NODUPLICATES on c1 skip1 NODUPLICATES on c2 skip1  -
           NODUPLICATES on c4 NODUPLICATES
    select     ...
    unknown command beginning "NODUPLICAT..." - rest of line ignored.
    Edited by: Cerito on May 31, 2013 8:26 AMIn SQL (and also in SQL*Plus) commands are delimited by ; and or /, and a newline is just whitespace. SQL*Plus is a different langauge, with different syntax. In SQL*Plus, newline marks the end of a command, unless you put a hyphen at the end of the line before it.
    Edited by: Frank Kulash on May 31, 2013 11:34 AM
    Edited by: Frank Kulash on May 31, 2013 11:52 AM
    By the way, NODUPLICATES is the default. You might consider just saying
    break on c0 skip1  on c1 skip1  on c2 skip1   on c4so the entire BREAK command fits easily onto 1 line. On the other hand, it's often nice to make the command very clear, even if that means making it longer. In that case, you might want something like:
    BREAK  ON c0  SKIP 1  NODUPLICATES   -
           ON c1  SKIP 1  NODUPLICATES   -
           ON c2  SKIP 1  NODUPLICATES   -
           ON c4             NODUPLICATES

  • Error: Could not complete your request because an unknown command was encountered.

    I've been working on a file in FreeHand 11 for a few months
    now, and for some reason after saving and closing the file about a
    week ago, I can no longer open it - on either of my computers (both
    PCs, one running XP, one running Vista). When I attempt to do so, I
    am presented with the following error message:
    Could not complete your request because an unknown command
    was encountered.
    Is there any possible way to fix this?

    Haha. I know. I was stupid... The last backup of the file is
    four months old. Unfortunately I've done quite a lot of work on it
    since then...
    One interesting thing though, is that I can still see the
    thumbnail picture in Windows Explorer. Also, I'm able to open the
    file with Fireworks, but none of the hidden layers (most of my
    work) are there.
    I just tried to open it again on my desktop. Same error
    message (but in German)...:
    "Ihre Anforderung konnte nicht ausgeführt werden. Ein
    unbekannter Fehler ist aufgetreten." :S

  • Retrieve URL from database and navigate through command button

    I am new to ADF and Jdeveloper. In our database we store the URLs to our help/FAQ webpage in a table. What I would like to do is retrieve this URL from the database and code a command button to navigate the user to this URL but I am not sure how to accomplish this and have not had any lucking searching for a solution. I have created a view object for the table that contains the URL. Many thanks in advance.

    Hi,
    Welcome to OTN.
    You can create a view object based on the table (on which you have the URL stored).
    Create a goButton (Instead of a command button) and bind the column (which stores the URL) to the destination property of the go button.
    Something like
    <af:goButton text="Help" id="gb1"
                        targetFrame="_blank" destination="#{bindings.URL.inputValue}"/>-Arun

  • Sql select with concate of columns SP2-0734: unknown command beginning

    I am running a ksh script that does some dumpster diving and pull records out.
    It is basically reading a file does a select and at the end, you will see $i.
    AND ORD_ORDER.ADV_ORDER_TEXT_FIELD_568='$';
    I can run the script manually. (without the while loop)
    But, when I run it thru the script I get a whack of errors.
    SP2-0734: unknown command beginning "FROM ADVXR..." - rest of line ignored.
    SP2-0734: unknown command beginning "ADVXRT_HDB..." - rest of line ignored.
    SP2-0734: unknown command beginning "ADVXRT_HDB..." - rest of line ignored.
    SP2-0734: unknown command beginning "ADVXRT_HDB..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    What I need it to do is pull the selected records out and place in a file.
    Script
    cat $TICKETS_MISMATCH |while read i
    do
    $SQLPLUS -silent "advxrt_hdb/$LOGONID@hdb" <<EOF >$TICKETS_MISMATCH_FULL
    set feedback off
    set verify off
    set echo off
    set heading off
    set pagesize 7010
    SELECT ORD_ORDER.ADV_ORDER_TEXT_FIELD_568
    || ','
    || ORD_ORDER.ORDER_NUM
    || ','
    || ORD_ORDER.ADV_ORDER_SUMMARY_FIELD_012
    || ','
    || LAB_USER.NAME
    || ','
    || LAB_USER.LOGON_ID
    || ','
    || LAB_USER.ADV_EXTENDED_USER_FIELD_001
    || ','
    || TO_CHAR(MOBILECOMP1_SR.ADV_COMPLETION_TIME_FIELD_001, 'HH24:MI:SS')
    || ','
    || TO_CHAR(MOBILECOMP1_SR.ADV_COMPLETION_DATE_FIELD_001, 'DD-MON-YYYY')
    || ','
    || MOBILECOMP1_SR.ADV_COMPLETION_NOTES_FIELD_001
    || ','
    || MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_003
    || ','
    || MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_013
    || ','
    || MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_014
    || ','
    || MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_023
    || ','
    || ORD_JOB_CODE.NAME
    || ','
    || ROUND(ASN_ASSIGNMENT.TOTAL_TIME_EN_ROUTE / 60,0)
    || ','
    || ROUND(ASN_ASSIGNMENT.TOTAL_TIME_ON_SITE / 60,0)
    FROM ADVXRT_HDB.LAB_USER,
    ADVXRT_HDB.SR_REPORT,
    ADVXRT_HDB.ASN_ASSIGNMENT,
    ADVXRT_HDB.ORD_ORDER,
    ADVXRT_HDB.MOBILECOMP1_SR,
    ADVXRT_HDB.ORD_JOB_CODE
    WHERE (ASN_ASSIGNMENT.ASSIGNMENT_ID = SR_REPORT.ASSIGNMENT)
    AND (ASN_ASSIGNMENT.FOR_ORDER = ORD_ORDER.ORDER_ID)
    AND (MOBILECOMP1_SR.MOBILE_COMP1_ID = SR_REPORT.RECORD_NUMBER)
    AND (ORD_ORDER.JOB_CODE = ORD_JOB_CODE.JOB_CODE_ID)
    AND (SR_REPORT.USER_ID = LAB_USER.USER_ID(+))
    AND ORD_ORDER.COMPLETED BETWEEN ((TO_DATE('${date_entered} 00:00:00','YYYY-MM-DD HH24:MI:SS')) - ((SELECT DECODE
    (UTC_OFFSET, NULL, 0, UTC_OFFSET) FROM TZ_UTC_TO_LOCAL TZ WHERE (TO_DATE
    ('${date_entered} 00:00:00','YYYY-MM-DD HH24:MI:SS') BETWEEN TZ.STARTS_UTC AND
    TZ.ENDS_UTC)AND TZ.TIME_AUTHORITY = 1000264000000000000000000013))/(24*60*60))
    AND
    ((TO_DATE('${date_entered} 11:59:59','YYYY-MM-DD HH24:MI:SS')) - ((SELECT DECODE
    (UTC_OFFSET, NULL, 0, UTC_OFFSET) FROM TZ_UTC_TO_LOCAL TZ WHERE (TO_DATE
    ('${date_entered} 11:59:59','YYYY-MM-DD HH24:MI:SS') BETWEEN TZ.STARTS_UTC AND
    TZ.ENDS_UTC)AND TZ.TIME_AUTHORITY = 1000264000000000000000000013))/(24*60*60))
    AND ORD_ORDER.ADV_ORDER_TEXT_FIELD_568='${i}';
    exit;
    EOF
    done

    SQL> DEFINE sqlplusrelease
    DEFINE SQLPLUSRELEASE = "1002000200" (CHAR)
    cat $TICKETS_MISMATCH |while read i
    do
    $SQLPLUS -silent "advxrt_hdb/$LOGONID@hdb" <<EOF >>$TICKETS_MISMATCH_FULL
    set feedback off
    set verify off
    set echo off
    set heading off
    set pagesize 7010
    SET SQLBLANKLINES ON
    SELECT  ORD_ORDER.ADV_ORDER_TEXT_FIELD_568
        || ','
        || ORD_ORDER.ORDER_NUM
        || ','
        || ORD_ORDER.ADV_ORDER_SUMMARY_FIELD_012
        || ','
        || LAB_USER.NAME
        || ','
        || LAB_USER.LOGON_ID
        || ','
        || LAB_USER.ADV_EXTENDED_USER_FIELD_001
        || ','
        || TO_CHAR(MOBILECOMP1_SR.ADV_COMPLETION_TIME_FIELD_001, 'HH24:MI:SS')
        || ','
        || TO_CHAR(MOBILECOMP1_SR.ADV_COMPLETION_DATE_FIELD_001, 'DD-MON-YYYY')
        || ','
        || MOBILECOMP1_SR.ADV_COMPLETION_NOTES_FIELD_001
        || ','
        || MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_003
        || ','
        || MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_013
        || ','
        || MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_014
        || ','
        || MOBILECOMP1_SR.ADV_COMPLETION_TEXT_FIELD_023
        || ','
        || ORD_JOB_CODE.NAME
        || ','
        || ROUND(ASN_ASSIGNMENT.TOTAL_TIME_EN_ROUTE / 60,0)
        || ','
        || ROUND(ASN_ASSIGNMENT.TOTAL_TIME_ON_SITE / 60,0)
    FROM ADVXRT_HDB.LAB_USER,
           ADVXRT_HDB.SR_REPORT,
           ADVXRT_HDB.ASN_ASSIGNMENT,
           ADVXRT_HDB.ORD_ORDER,
           ADVXRT_HDB.MOBILECOMP1_SR,
           ADVXRT_HDB.ORD_JOB_CODE
    WHERE     (ASN_ASSIGNMENT.ASSIGNMENT_ID = SR_REPORT.ASSIGNMENT)
           AND (ASN_ASSIGNMENT.FOR_ORDER = ORD_ORDER.ORDER_ID)
           AND (MOBILECOMP1_SR.MOBILE_COMP1_ID = SR_REPORT.RECORD_NUMBER)
           AND (ORD_ORDER.JOB_CODE = ORD_JOB_CODE.JOB_CODE_ID)
           AND (SR_REPORT.USER_ID = LAB_USER.USER_ID(+))
           AND ORD_ORDER.COMPLETED BETWEEN ((TO_DATE('${date_entered} 00:00:00','YYYY-MM-DD HH24:MI:SS')) - ((SELECT DECODE
                (UTC_OFFSET, NULL, 0, UTC_OFFSET) FROM TZ_UTC_TO_LOCAL TZ WHERE (TO_DATE
                ('${date_entered} 00:00:00','YYYY-MM-DD HH24:MI:SS') BETWEEN TZ.STARTS_UTC AND
                TZ.ENDS_UTC)AND TZ.TIME_AUTHORITY = 1000264000000000000000000013))/(24*60*60))
           AND
                ((TO_DATE('${date_entered} 11:59:59','YYYY-MM-DD HH24:MI:SS')) - ((SELECT DECODE
                (UTC_OFFSET, NULL, 0, UTC_OFFSET) FROM TZ_UTC_TO_LOCAL TZ WHERE (TO_DATE
                ('${date_entered} 11:59:59','YYYY-MM-DD HH24:MI:SS') BETWEEN TZ.STARTS_UTC AND
                TZ.ENDS_UTC)AND TZ.TIME_AUTHORITY = 1000264000000000000000000013))/(24*60*60))
            AND ORD_ORDER.ADV_ORDER_TEXT_FIELD_568='${i}';
    exit
    EOF
    done

  • Strange SP2-0042: unknown command in sqlplus

    Hello everyone,i was attemptting to execute a sql statement from an external file. But i got "SP2-0042: unknown command "ï»? - rest of line ignored.". It's works with ANSI but can not based on UTF8 encoding.My file only contains as following :
    spo db_changesfff.log
    SPO OFF
    Anyone has ideas?thanks in advance!!

    We had this problem as well and we noticed that the script file that contained the UTF-8 had two FF FE magic numbers at the beginning of the file. View your file in HEX mode of your text editor and verify that a single FF FE is at the beginning of the file. We created our UTF-8 file using Notepad. This seems to put two FF FE's in the file header. When we removed one set of FF FE, everything worked just fine.

  • FLASHBACK Database : rman vs sql command differnces

    I am new to Oracle and want understand the difference and which is the correct way of flashing back the database?
    RMAN command vs SQL Command on using FLASHBACK DATABASE
    SQL> FLASHBACK DATABASE TO RESTORE POINT BEFORE_ONLINE_TEST;  {CODE} Vs rman> run{
         flashback database to restore point BEFORE_TEST_320130313;
         sql "alter database open resetlogs"; }
    Referring this article on http://docs.oracle.com/cd/E11882_01/backup.112/e10642/rcmflash.htm#BGBDCAFA it says we can use both RMAN and SQL command for database flashback.
    Questions:
    1. Difference between using RMAN and SQL command on database flashback?
    2. When to use RMAN or SQL on the  database flashback?
    3. Which is the Oracle recommended or best way ?
    Edited by: Sivaprasad S on Mar 15, 2013 7:26 PM
    Edited by: Sivaprasad S on Mar 15, 2013 7:26 PM
    Edited by: Sivaprasad S on Mar 15, 2013 7:27 PM
    Edited by: Sivaprasad S on Mar 15, 2013 7:27 PM
    Edited by: Sivaprasad S on Mar 15, 2013 7:28 PM
    Edited by: Sivaprasad S on Mar 15, 2013 7:29 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    When I issue the SQL Plus command of
    SQL> flashback database to restore point BEFORE_TEST_20130313 ;
    flashback database to restore point BEFORE_TEST_20130313
    ERROR at line 1:
    ORA-38754: FLASHBACK DATABASE not started; required redo log is not available
    ORA-38762: redo logs needed for SCN 87612483975 to SCN 87612485856
    ORA-38761: redo log sequence 1 in thread 1, incarnation 3 could not be accessedHowever on running this on RMAN
    RMAN>
    list backup of archivelog scn between 87612483975 and 87612485856
    RMAN> ;
    starting full resync of recovery catalog
    full resync complete
    List of Backup Sets
    ===================
    BS Key  Size       Device Type Elapsed Time Completion Time
    5212758 19.75M     SBT_TAPE    00:00:04     13-MAR-2013 16:36:17
            BP Key: 5212765   Status: AVAILABLE  Compressed: NO  Tag: TAG20130313T163611
            Handle: <TestDB_60:809973373:1>.al   Media: 945c30b6:506c6cd2:3a14:0001
      List of Archived Logs in backup set 5212758
      Thrd Seq     Low SCN    Low Time             Next SCN   Next Time
      1    1       87612468290 13-MAR-2013 13:28:19 87612484321 13-MAR-2013 16:36:06
      1    2       87612484321 13-MAR-2013 16:36:06 87612484339 13-MAR-2013 16:36:09
    BS Key  Size       Device Type Elapsed Time Completion Time
    5212759 896.50M    SBT_TAPE    00:00:17     13-MAR-2013 16:36:30
            BP Key: 5212766   Status: AVAILABLE  Compressed: NO  Tag: TAG20130313T163611
            Handle: <TestDB_59:809973373:1>.al   Media: 945c30b6:506c6cbd:39f5:0001
      List of Archived Logs in backup set 5212759
      Thrd Seq     Low SCN    Low Time             Next SCN   Next Time
      1    5       87612363812 12-MAR-2013 14:22:26 87612659040 13-MAR-2013 03:04:08
    run {
    allocate CHANNEL dev_2  TYPE 'SBT_TAPE' format '%U' PARMS  'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8)';
    allocate CHANNEL dev_3  TYPE 'SBT_TAPE' format '%U' PARMS  'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8)';
    allocate CHANNEL dev_4  TYPE 'SBT_TAPE' format '%U' PARMS  'SBT_LIBRARY=/opt/omni/lib/libob2oracle8_64bit.so,ENV=(OB2BARTYPE=Oracle8)';
    flashback database to restore point BEFORE_TEST_20130313;
    sql "alter database open resetlogs";
    release channel dev_2;
    release channel dev_3;
    release channel dev_4;
    starting media recovery
    archived log for thread 1 with sequence 2 is already on disk as file +DG_PERF_FLASH_02/TestDB/archivelog/2013_03_14/thread_1_seq_2.3612.810054205
    archived log for thread 1 with sequence 3 is already on disk as file +DG_PERF_FLASH_02/TestDB/archivelog/2013_03_14/thread_1_seq_3.1588.810054205
    channel dev_2: starting archived log restore to default destination
    channel dev_2: restoring archived log
    archived log thread=1 sequence=1
    channel dev_2: reading from backup piece <TestDB_60:809973373:1>.al
    channel dev_2: piece handle=<TestDB_60:809973373:1>.al tag=TAG20130313T163611
    channel dev_2: restored backup piece 1
    channel dev_2: restore complete, elapsed time: 00:00:46
    channel dev_2: deleting archived log(s)
    archived log file name=+DG_PERF_FLASH_02/TestDB/archivelog/2013_03_15/thread_1_seq_1.2969.810106317 RECID=49 STAMP=810106318
    media recovery complete, elapsed time: 00:00:05
    Finished flashback at 10-MAR-2013 05:32:07
    database reset to incarnation 5215723
    When we issue the SQL Plus command, if there is  need of old database backup of archive log, how does that SQL Plus communicate with rman recovery catalog and retrieve?

  • Unknown Command when opening a file

    When I try to open a file created in freehand it tells me
    "could not complete your request because an unknown command was
    encountered." I get this message on a lot of files. However, when I
    go to "my computer" and open the folder containing the file you can
    see the thumbnail and the file is there. I need help.

    > When I try to open a file created in freehand it tells
    me "could not complete
    > your request because an unknown command was
    encountered." I get this message
    > on a lot of files. However, when I go to "my computer"
    and open the folder
    > containing the file you can see the thumbnail and the
    file is there. I need
    > help.
    In most cases, it seems, it is about fonts. FreeHand can't
    find the font used in the document and stumbles in the replace
    function (dialog). Also FreeHand saves information about default
    printer (?!?!) and may get confused there too.
    If you know the fonts used, install, if not reduce the number
    of installed fonts to minimum. Also try to import into new document
    like Judy suggested.
    If you have (access to) Illustrator CS3 try to open the files
    with it. If it works you'll know at least the file is ok.
    Thumbnail is probably the last survivor when the rest of the
    file gets corrupted.
    Jukka

Maybe you are looking for

  • Compressio​n de vidéo par lots

    Bonjour, Je souhaiterais utiliser LabVIEW pour faire du traitement de données sur des films déjà acquis. Il s'agirait de compresser des films en format .avi. Je peux y arriver artificiellement en - créant un AVI ('IMAQ AVI Create' avec en entrée de '

  • Which CD ROM drive is compatible with Satellite 1690CDT?

    Hello, I own an old Tosiba Satellite 169CDT notebook which still works well for me. Unfortunately the buid in CD ROM drive is broken. Does anybody know, where I can get a repacement drive for less money? Can anybody tell me the model no or model desc

  • Email notification - Application Owner Issue

    Hi All, We are trying to config email notification on planning.we have to save the SMTPserver with application Owner user ID .........but the user ID application owner is deleted.......when we try to create the same user in HSS & try to give access p

  • Startup problems

    My Powerbook G4 was running fine with no problems. Suddenly now when I go to turn it on, it will either be hung up on the grey screen with the spinning sprocket or it will stay on that screen for a minute or two and then eventually complete the start

  • Non existant videos in iTunes/iPad

    In iTunes, when my iPad is connected, it says that I have 5 unwatched TV shows. These shows don't exist in iTunes, nor are they actually on my iPad. I have tried mulitpul times to delete these files.  They delete, but then show up the next time I syn