Index does not exist in database system ORACLE??????

Hi Experts,
I created a Secondary Index in DEV, its fine and the message is,
<b><i>Index KNA1~Z01 exists in database system ORACLE</i></b>
I moved it to TEST and there I got the message is like,
<i><b>Index does not exist in database system ORACLE</b></i>
So,
1 - Wht I hv to do now? Shuld I see BASIS people?
2- Why its happened like that? Coz of not enough space?
ThanQ.

thanq sudheer,
I got the return code as 4, so Can I go for creation of new request and there by moving to test?
1 - Anyways, so, after Activating Seconadyr Index, Shuld I come back and Do I need to activate the Table also?
or
2- Just activating the index is enough?
thanq.
Message was edited by:
        Srikhar

Similar Messages

  • Index does not exist in database system DB6

    Hi,
    Problem : <b>Index does not exist in database system DB6</b>.
    I need further explanation why when i transport index from Development Client to Production Client the index is active but does not exist in database system DB6.
    So when the cases is occurs i must re-create the index again in Production Level...
    Can someone give me some ideas?
    Thanks.

    Hi,
    it might be due to some BUG in RDBMS...
    First Check the Secondary index in TEST system
    Look at the Transport Number in DEV system, If this is having error, then it will show you the error details also,
    If that not moved Properly then you need to create another request for the INDEX and move it again
    See the threads with similar problem...
    Warning: Index does not exist in database system MSSQL
    Index does not exist in database system ORACLE??????
    Re creation of database index
    Hope it will solve your problem...
    <b>Reward Points if useful</b>
    Thanks & Regards
    ilesh 24x7

  • Warning: Index does not exist in database system MSSQL

    Hi,
    After activating the Index from SE11,
    I receive the following Warning:
    Index does not exist in database system MSSQL.
    What does this mean? Has performance been increased or does the index 1st have to exist in the database system MSSQL?

    When you create index at SE11 and you need activate database utility.
    utilitities-database utility->then click activate and adjust database.
    else you can use SE14 and so that Index will create databse level.
    Reward Points if it is helpful
    Thanks
    Seshu

  • Index does not exist in database system DB6 sap

    Hi All
    In development system i have added a field into already existing  index and activated successfully without any errors or warnings and after transported the TR  into Quality system,In Quality system it shows the warning Index does not exist in database system DB6 sap
    Thanks
    Vamsi

    Hi Mohan,
    After any change in the existing structure of the table you need to adjust and then activate it.
    It can be done using SE14 tcode, please try using this.
    Regards,
    Mohammed

  • Index Does Not Exist In Database System MSSQL

    Hello,
    I have an Index that has this message:
    " Index Does Not Exist In Database System MSSQL"
    Can someone guide me how to update Index to the database?
    Thank you.

    Check this thread:
    missing primary index
    Otherwise, a few more informations would help! Thanks.

  • Index does not exist in database system MaxDB

    Hi!
    Could some one tell me what can I do with this error message.
    This message is in Prod, it doesn't happen in Qas and Test environment. The Database and sap was down and up again.
    The Index was active in prod. again.
    I really need help.
    Thanks in advance

    Dear Mr. Rodriguez,
    You wrote that the problem occurred on the PROD system.
    Are you SAP customer?
    If you are SAP customer plese see the SAP notes::
    928037     FAQ: MaxDB Indexes
    940420     FAQ: Database structure check (VERIFY)
    990602     FAQ: CCMS for MaxDB/SAP liveCache technology
    896023     Incorrect CREATE INDEX statement in DFACT.SQL
    767598     Available documentation
    If you are SAP customer, please create the ticket on queue BC-DB-SDB for
    your issue.
    Please review the Rules of Engagement at
    Welcome and Rules of Engagement
    Please provide more information to get clear on your problem:
    -> What is the database version?
        < dbmcli -d <SID> -u control,<control> show version >
    -> What were the errors in the knldiag* files?
    -> If you restarted the database ones, it will be helpful to
        review the knldiag.old file for additional information.
    -> Please run Database structure check & review the results.
    Thanks you and best regards, Natalia Khlopina

  • Primary index does not exist in database but shows in SE14?

    I added a couple of key fields to a Z table and activated it. Every thing went well - adjusted it with SE14 also.
    When I checked the Runtime object - it is OK.
    When I checked Database Object, it is showing that the Primary Index does not exist in Database but SE14 says that the Priamry Index exists in Database.
    Please advise how to correct this. I saw another psoting when I searched per this error message: "Indexes: Inconsistent with DDIC source" . It tells to create this index at Database but need to know the steps.
    pl advise.
    (reposting here)
    Edited by: Venkatabby on Mar 26, 2008 4:05 PM

    hi,
    To create a index for a table,
    go to se11->click on Indexes tab and create  a primary index.
    Indexes speed up data selection from the database. They consist of selected fields of a table, of which a copy is then made in sorted order. If you specify the index fields correctly in a condition in the WHERE or HAVING clause, the system only searches part of the index (index range scan).
    The system automatically creates the primary index. It consists of the primary key fields of the database table. This means that for each combination of fields in the index, there is a maximum of one line in the table. This kind of index is also known as UNIQUE.
    If you cannot use the primary index to determine the result set because, for example, none of the primary index fields occur in the WHERE or HAVINGclauses, the system searches through the entire table (full table scan). For this case, you can create secondary indexes, which can restrict the number of table entries searched to form the result set.
    You create secondary indexes using the ABAP Dictionary. There you can create its columns and define it as UNIQUE.
    reward points if useful.
    regards
    sandhya

  • Index exists in database system Oracle

    Hi Experts,
    I have created a table with idexes. But i want indexes to be in satus "Index does not exist in database system".
    But rather its giving me some other status as "ndex exists in database system Oracle"
    How to achieve the same.
    Please help.
    Moderator message: standard task for any system administrator,  please search for available information.
    Edited by: Thomas Zloch on Jun 30, 2011 11:26 AM

    thanq sudheer,
    I got the return code as 4, so Can I go for creation of new request and there by moving to test?
    1 - Anyways, so, after Activating Seconadyr Index, Shuld I come back and Do I need to activate the Table also?
    or
    2- Just activating the index is enough?
    thanq.
    Message was edited by:
            Srikhar

  • Setup solution database - "2007 index does not exist"

    Hi all,
    after setting up the solution database following the Implementation Guide on a Solution Manager 7 SP 19 system, I created some test problem and solution articles and linked them.
    When I try to do now a full compilation for the first time via SAF Diagnosis, Goto > Indexes, then the error message "2007 - index does not exist" comes up.
    So, I checked the customizing and did the customizing again. I assigned the Knowledge Base SDB to a higher level than its sub knowleged bases SDB Problems, SDB Solutions like this:
    SDB
    - SDBATTACHEMENT
    - SDBICS
    - SDB PROBLEMS
    - SDB SOLUTIONS
         - SDB SOLUTIONS DOC
    Anyway, the same error message
    I checked some threads but it didn´t help so far.
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414900)ID1583639050DB00866280264985025627End blog=/pub/wlg/7522
    Did anyone solved this issue?
    How can I activate the index?
    Any hints/ ideas are highly appreciated.
    jan

    Hi guys, just to get the thread up.. quite important.
    Is there anyone who can share some ideas?

  • FATAL: Database "myDB" does not exist in the system catalog.

    hi there everyone,
    just having a problem to create a database in the system catalog.
    i am a beginner to JDBC.
    i have created a database by using ''create database myDB'' under cygwin (winXP).
    but still getting the error.
    so am i doing it right??
    FATAL: Database "myDB" does not exist in the system catalog.
    my java code
    String url = "jdbc:postgresql://localhost:5432/myDB";
    thx in advance

    ok,,, i've solved the problem...
    when i '' create database myDB'', it actually crreated ''mydb'' instand of ''myDB'', so myDB does not exist.
    also need to connected to mydb not in template1..... stupid me.

  • Short dump 'Table does not exist in database'

    Hello All,
    When a report is executing it is going to short dump by saying 'Table does not exist in database'. As per the short dump analysis this issue is happening because of the following   Native SQL statement statement :
    Program :  %_T050N0 (This is a dynamic  program generating by SAP )
    Form Name :  DYN_LIC_SEL_TOT
    exec sql performing LOOP_MOVE_WRITE_ISAP.
    select single_plate, itm_num, ctry_code, model_lot,
    lic_hold_flg, qty into :dcat-lplate, :dcat-matnr,
    :dcat-werks, :dcat-charg, :dcat-holdflag,
    :dcat-qty from ZLICENSE_R2 where itm_num   = :p_matnr and
                    model_lot = :p_charg
    endexec.
    As per the customer this issue occurring since they migrated the SAP  back-end data base from Oralce to DB6. Here I felt that ZLICENSE_R2 is not migrated from the  Oracle to DB6. But as per the BASIS Team, even this table was not maintained in Oracle also. If the table was not maintained in the Oracle, this issue should have been there even before migration also.
    Following is the short dump details:
    Short text
        Table does not exist in database.
    What happened?
        The table or view name used does not
        exist in the database.
        The error occurred in the current database connection "DEFAULT".
    What can you do?
        Check the spelling of the table names in your report.
        Note down which actions and inputs caused the error.
        To process the problem further, contact you SAP system
        administrator.
        Using Transaction ST22 for ABAP Dump Analysis, you can look
        at and manage termination messages, and you can also
        keep them for a long time.
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_NATIVE_SQL_ERROR', was not
         caught in
       procedure "DYN_LIC_SEL_TOT" "(FORM)", nor was it propagated by a RAISING
    clause.
    Since the caller of the procedure could not have anticipated that the
    exception would occur, the current program is terminated.
    The reason for the exception is:
    Triggering SQL statement: "select single_plate, itm_num, ctry_code, model_lot,
    lic_hold_flg, qty from ZLICENSE_R2 where itm_num = ? and model_lot = ? "
    Database error code: "-204"
    Could you please  let me know what might be the reason for this issue.
    Many Thanks in Advance.

    Transaction SE11, input ZLICENSE_R2 for table name, and display the table. Did the table display? If not, that is the main problem.
    If the table displays, go to menu item Utilities -> Database Object -> Database Utility
    In the resulting screen, under the "Status" fields, you should see text "Exists in the database." If you don't, then the table exists in the dictionary, but doesn't exist in the database system. Click the "Create database table" button and then you should be able to run the program.
    You may need basis team's help to carryout some of these actions.

  • Table TTZDF does not exist on database

    HI forum
    i am installing the last SAPIDES Ehp3 Linux / Maxdb during the process of installation all job were imported sucessfully 32 of 50 , in the phase CHECK DDIC PASSWORD, the system can´t do log in.
    Review the log in the work directory (dev_w0) the follow message is generated.
    A Sat Jun 12 21:19:56 2010
    A  **GENER Trace switched off ***
    B  dbmyclu : info : my major identification is 3231713892, minor one 0.
    B  dbmyclu : info : Time Reference is 1.12.2001 00:00:00h GMT.
    B  dbmyclu : info : my initial uuid is CF0B144C2E40F845E1000000C0A00A64.
    B  dbmyclu : info : current optimistic cluster level: 2
    B  dbmyclu : info : pessimistic reads set to 2.

    C Sat Jun 12 21:20:15 2010
    C  *** ERROR =>   prepare() of C_0063, rc=1, rcSQL=-942 (POS(95) Unknown table name:TTZDF)
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(95) Unknown table name:TTZDF)
    C  sc_p=0x2b4da28435b8,no=63,idc_p=(nil),con=0,act=0,slen=190,smax=256,#vars=1,stmt=0x19449e10,table=TTZDF                        
    C  SELECT "CLIENT" , "DSTRULE" , "YEARACT" , "DATEFROM" , "TIMEFROM" , "DATETO" , "TIMETO" FROM "TTZDF"
    C   WHERE "CLIENT" = ? ORDER BY "CLIENT" , "DSTRULE" , "YEARACT"  WITH LOCK ISOLATION LEVEL 1;
    B  ***LOG BZA=> table TTZDF      does not exist on database R/3       
    B  *** ERROR => Buffer loading failed: {fcode=293, rc=32, cnt=0, table='TTZDF'}
    C  *** ERROR =>   prepare() of C_0063, rc=1, rcSQL=-942 (POS(114) Unknown table name:TTZDF)
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(114) Unknown table name:TTZDF)
    C  sc_p=0x2b4da28435b8,no=63,idc_p=0x2b4da2909220,con=0,act=0,slen=199,smax=256,#vars=2,stmt=0x19449e10,table=TTZDF                        
    C  SELECT  /*+ KEYACCESS  */ "CLIENT" , "DSTRULE" , "YEARACT" , "DATEFROM" , "TIMEFROM" , "DATETO" , "T
    C  IMETO" FROM "TTZDF" WHERE "CLIENT" = ? AND "DSTRULE" = ? ORDER BY "CLIENT" , "DSTRULE" , "YEARACT" ;
    B  ***LOG BZA=> table TTZDF      does not exist on database           
    B  *** ERROR => missing return code handler     
    abtstmp#?[613] does not handle return code 2 from dbcrtab#10[1764]     
    ==> calling sap_dext to abort transaction

    C Sat Jun 12 21:20:26 2010
    C  *** ERROR =>   prepare() of C_0065, rc=1, rcSQL=-942 (POS(95) Unknown table name:TTZDF)
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(95) Unknown table name:TTZDF)
    C  sc_p=0x2b4da28436e8,no=65,idc_p=(nil),con=0,act=0,slen=190,smax=256,#vars=1,stmt=0x1944e480,table=TTZDF                        
    C  SELECT "CLIENT" , "DSTRULE" , "YEARACT" , "DATEFROM" , "TIMEFROM" , "DATETO" , "TIMETO" FROM "TTZDF"
    C   WHERE "CLIENT" = ? ORDER BY "CLIENT" , "DSTRULE" , "YEARACT"  WITH LOCK ISOLATION LEVEL 1;
    B  ***LOG BZA=> table TTZDF      does not exist on database R/3       
    B  *** ERROR => Buffer loading failed: {fcode=293, rc=32, cnt=0, table='TTZDF'}
    C  *** ERROR =>   prepare() of C_0065, rc=1, rcSQL=-942 (POS(114) Unknown table name:TTZDF)
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(114) Unknown table name:TTZDF)
    C  sc_p=0x2b4da28436e8,no=65,idc_p=0x2b4da2909350,con=0,act=0,slen=199,smax=256,#vars=2,stmt=0x1944e480,table=TTZDF                        
    C  SELECT  /*+ KEYACCESS  */ "CLIENT" , "DSTRULE" , "YEARACT" , "DATEFROM" , "TIMEFROM" , "DATETO" , "T
    C  IMETO" FROM "TTZDF" WHERE "CLIENT" = ? AND "DSTRULE" = ? ORDER BY "CLIENT" , "DSTRULE" , "YEARACT" ;
    B  ***LOG BZA=> table TTZDF      does not exist on database           
    B  *** ERROR => missing return code handler     
    abtstmp#?[613] does not handle return code 2 from dbcrtab#10[1764]     
    ==> calling sap_dext to abort transaction

    C Sat Jun 12 21:20:28 2010
    C  *** ERROR =>   prepare() of C_0065, rc=1, rcSQL=-942 (POS(114) Unknown table name:TTZDF)
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(114) Unknown table name:TTZDF)
    C  sc_p=0x2b4da28436e8,no=65,idc_p=0x2b4da2909350,con=0,act=0,slen=199,smax=256,#vars=2,stmt=0x1944e480,table=TTZDF                        
    C  SELECT  /*+ KEYACCESS  */ "CLIENT" , "DSTRULE" , "YEARACT" , "DATEFROM" , "TIMEFROM" , "DATETO" , "T
    C  IMETO" FROM "TTZDF" WHERE "CLIENT" = ? AND "DSTRULE" = ? ORDER BY "CLIENT" , "DSTRULE" , "YEARACT" ;
    B  ***LOG BZA=> table TTZDF      does not exist on database           
    B  *** ERROR => missing return code handler     
    abtstmp#?[613] does not handle return code 2 from dbcrtab#10[1764]     
    ==> calling sap_dext to abort transaction

    C Sat Jun 12 21:20:30 2010
    C  *** ERROR =>   prepare() of C_0065, rc=1, rcSQL=-942 (POS(114) Unknown table name:TTZDF)
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(114) Unknown table name:TTZDF)
    C  sc_p=0x2b4da28436e8,no=65,idc_p=0x2b4da2909350,con=0,act=0,slen=199,smax=256,#vars=2,stmt=0x1944e480,table=TTZDF                        
    C  SELECT  /*+ KEYACCESS  */ "CLIENT" , "DSTRULE" , "YEARACT" , "DATEFROM" , "TIMEFROM" , "DATETO" , "T
    C  IMETO" FROM "TTZDF" WHERE "CLIENT" = ? AND "DSTRULE" = ? ORDER BY "CLIENT" , "DSTRULE" , "YEARACT" ;
    B  ***LOG BZA=> table TTZDF      does not exist on database           
    B  *** ERROR => missing return code handler     
    abtstmp#?[613] does not handle return code 2 from dbcrtab#10[1764]     
    ==> calling sap_dext to abort transaction

    C Sat Jun 12 21:20:31 2010
    C  *** ERROR =>   prepare() of C_0065, rc=1, rcSQL=-942 (POS(114) Unknown table name:TTZDF)
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(114) Unknown table name:TTZDF)
    C  sc_p=0x2b4da28436e8,no=65,idc_p=0x2b4da2909350,con=0,act=0,slen=199,smax=256,#vars=2,stmt=0x1944e480,table=TTZDF                        
    C  SELECT  /*+ KEYACCESS  */ "CLIENT" , "DSTRULE" , "YEARACT" , "DATEFROM" , "TIMEFROM" , "DATETO" , "T
    C  IMETO" FROM "TTZDF" WHERE "CLIENT" = ? AND "DSTRULE" = ? ORDER BY "CLIENT" , "DSTRULE" , "YEARACT" ;
    B  ***LOG BZA=> table TTZDF      does not exist on database           
    B  *** ERROR => missing return code handler     
    abtstmp#?[613] does not handle return code 2 from dbcrtab#10[1764]     
    ==> calling sap_dext to abort transaction

    C Sat Jun 12 21:21:18 2010
    C  *** ERROR =>   prepare() of C_0065, rc=1, rcSQL=-942 (POS(114) Unknown table name:TTZDF)
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(114) Unknown table name:TTZDF)
    C  sc_p=0x2b4da28436e8,no=65,idc_p=0x2b4da2909350,con=0,act=0,slen=199,smax=256,#vars=2,stmt=0x1944e480,table=TTZDF                        
    C  SELECT  /*+ KEYACCESS  */ "CLIENT" , "DSTRULE" , "YEARACT" , "DATEFROM" , "TIMEFROM" , "DATETO" , "T
    C  IMETO" FROM "TTZDF" WHERE "CLIENT" = ? AND "DSTRULE" = ? ORDER BY "CLIENT" , "DSTRULE" , "YEARACT" ;
    B  ***LOG BZA=> table TTZDF      does not exist on database           
    B  *** ERROR => missing return code handler     
    abtstmp#?[613] does not handle return code 2 from dbcrtab#10[1764]     
    ==> calling sap_dext to abort transaction

    C Sat Jun 12 21:21:21 2010
    C  *** ERROR =>   prepare() of C_0065, rc=1, rcSQL=-942 (POS(114) Unknown table name:TTZDF)
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(114) Unknown table name:TTZDF)
    C  sc_p=0x2b4da28436e8,no=65,idc_p=0x2b4da2909350,con=0,act=0,slen=199,smax=256,#vars=2,stmt=0x1944e480,table=TTZDF                        
    C  SELECT  /*+ KEYACCESS  */ "CLIENT" , "DSTRULE" , "YEARACT" , "DATEFROM" , "TIMEFROM" , "DATETO" , "T
    C  IMETO" FROM "TTZDF" WHERE "CLIENT" = ? AND "DSTRULE" = ? ORDER BY "CLIENT" , "DSTRULE" , "YEARACT" ;
    B  ***LOG BZA=> table TTZDF      does not exist on database           
    B  *** ERROR => missing return code handler     
    abtstmp#?[613] does not handle return code 2 from dbcrtab#10[1764]     
    ==> calling sap_dext to abort transaction

    C Sat Jun 12 21:21:29 2010
    C  *** ERROR =>   prepare() of C_0066, rc=1, rcSQL=-942 (POS(114) Unknown table name:TTZDF)
    C  *** ERROR => SQL PREPARE on connection 0, rc=-942 (POS(114) Unknown table name:TTZDF)
    C  sc_p=0x2b4da2843780,no=66,idc_p=0x2b4da29093e8,con=0,act=0,slen=199,smax=256,#vars=2,stmt=0x194421a0,table=TTZDF                        
    C  SELECT  /*+ KEYACCESS  */ "CLIENT" , "DSTRULE" , "YEARACT" , "DATEFROM" , "TIMEFROM" , "DATETO" , "T
    C  IMETO" FROM "TTZDF" WHERE "CLIENT" = ? AND "DSTRULE" = ? ORDER BY "CLIENT" , "DSTRULE" , "YEARACT" ;
    B  ***LOG BZA=> table TTZDF      does not exist on database           
    B  *** ERROR => missing return code handler     
    abtstmp#?[613] does not handle return code 2 from dbcrtab#10[1764]     
    ==> calling sap_dext to abort transaction
    M  ***LOG R47=> ThResFree, delete (001024) .
    I search notes and in sdn forum any information about this error, but there isn´t information.
    How i can solve this inconsistence durant the installation for finish the SAP IDES installation.
    Hi forums
    cheking the process of the installation, the problem i wait have it  solve doing the reinstallation with any  adjust in the database release .. i will be comment the process to the solution.
    Jairo

    thie process was solved with a new installation-

  • Se14 message : View Does not exist in database

    Hi All ,
    I have created view and transported to test system , In the test system i am not able to activate it , the message is that " view does not exists in database ", Is it some thing for the basis to do .
    Thanks in advance
    Vinay

    hi,
    Have you tried to re register your database within OEM, CG

  • Native SQL "Table does not exist in database"

    Hi Developers,
    I'm doing a database connection to an Oracle db and trying to read data using native SQL - I keep getting the runtime error "table does not exist in database" on the statement Fetch Next Cursor. The following is the code snippet (I've commented out the Exec SQL and Fetch Next to make sure I have a connection and I do). HR is a schema in the database and T_Donation is a table in HR.
    Data: w1(3),
             c1 type cursor.
    start-of-selection.
      if con_name is initial.
        write: 'No connection specified'.                       "#EC NOTEXT
        return.
      endif.
    try to open the connection and catch the errors (if any)
      try.
          con_ref = cl_sql_connection=>get_connection( con_name ).
        catch cx_sql_exception into sqlerr_ref.
        error occured
          write:
            'Could not open connection', con_name, '.'.         "#EC NOTEXT
          if sqlerr_ref->unknown_connection = 'X'.
            write:
              / con_name, 'is not defined in DBCON'.            "#EC NOTEXT
          elseif sqlerr_ref->db_error = 'X'.
            write:
              / 'sql error', sqlerr_ref->sql_code, 'occured:',
              / sqlerr_ref->sql_message.                        "#EC NOTEXT
          else.
            perform get_trace_file using dev_file.
            write:
              / 'DBI error', sqlerr_ref->internal_error, 'occured.',
              / 'See trace file for further info:',
                icon_read_file as icon hotspot, dev_file.       "#EC NOTEXT
          endif.
          return.
      endtry.
    connection successfully opened
      write:
        / 'Connection', con_name, 'successfully opened.'.       "#EC NOTEXT
    *- Get the data from MS-SQL Server
      EXEC SQL.
        open C1 for
        SELECT HR.T_DONATION.DN_DONATIONYEAR
        FROM HR.T_DONATION
      ENDEXEC.
      do.
        EXEC SQL.
          FETCH NEXT C1 into :w1
        ENDEXEC.
        if sy-subrc = 0.
          perform loop_output.
        else.
          exit.
        endif.
      enddo.
      EXEC SQL.
        CLOSE C1
      ENDEXEC.
    close connection again
      con_ref->close( ).
      write:
        / 'Connection', con_name, 'closed'.                     "#EC NOTEXT
    end-of-selection.
    *& Form LOOP_OUTPUT
    Output
    form loop_output .
      write: /5 w1.
    endform. " LOOP_OUTPUT
    Thanks for your help.
    Jim
    Message was edited by:
            James Barnes

    Well my advice is to check the question in the sql tutorial, it will be quicker then getting an answere.

  • Connect-SPOService : The Application ID (AppID) for which the service ticket is requested does not exist on the system.

    I am trying to connect to SharePoint in my Office 365 environment by following https://support.office.com/article/Set-up-the-SharePoint-Online-Management-Shell-environment-7b931221-63e2-45cc-9ebc-30e042f17e2c and I am getting:
    Connect-SPOService : The Application ID (AppID) for which the service ticket is requested does not exist on the system.
    Is there some setting I need to change on the O365 side? Thanks.

    Hi,
    Based on your description, my understanding is that you want connect SharePoint Online using PowerShell.
    Please make sure that the following software is installed.
    Windows Management Framework 3.0
    SharePoint Online Management Shell
    And then, open the SharePoint Online Management Shell and use the Script below to test
    whether it works.
    $User = "[username]@[tenant].onmicrosoft.com"
    $Pass = "[password]"
    $creds = New-Object System.Management.Automation.PSCredential($User,(ConvertTo-SecureString $Pass -AsPlainText -Force));
    Connect-SPOService -Url https://[tenant]-admin.sharepoint.com -Credential $creds
    Get-SPOSite
    More information:
    http://blog.falchionconsulting.com/index.php/2013/01/using-powershell-to-manage-sharepoint-2013-online/
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

Maybe you are looking for