Database Objects node missing schemas

When i expand 'Database Objects' in the object navigator i see users but i am wondering why this is only a subset of users when i select from DBA_USERS. How do i get to see all the schemas in the database and why is this not initially possible?
Many Thanks
Gus

Hi
My understanding is that the list of users that you see in the Navigator in Forms is just those users who own objects that you have privileges on. Create yourself a user with no privileges other than CONNECT - connect as that user in Forms, and all you see is the stuff that's been granted to PUBLIC.
Most users won't necessarily own any objects, so you don't see them. But you see SYS for example because there are a whole heap of packages/views that are granted to PUBLIC.
regards
Andrew
UK

Similar Messages

  • How to suppress compiler errors without excluding database objects from the "Schema Compare" tool (using VS2013/SSDT)

    Hi,
    In short: How to suppress compiler errors without excluding the object from the "Schema Compare" tool ??
    A bit longer:
    We have a SQL Server 2008 project in Visual Studio 2013 running SQL Server Data Tool.
    An old database, with a lot of history in, has been imported into SSDT and there are many syntax errors preventing the project from compiling/running. An typical error is: "SQL70001: This statement is not recognized in this context".
    Running the "faulty" scripts on the server, executes just fine. I understand that there are syntax errors and they should be rewritten, but it's not gonna happen just like that - it is a slow process over a long period of time.
    I know it is possible to change Build Action to None, but that also exclude the object from appearing in the Schema Compare function/window.
    So - how to ignore some compiler errors and still having the objects to appear when doing "Schema Compare" ??
    Thank you in advance.

    Hi Steven,
    Thanks for your comments.
    Well, it sure does help in the future, but right now i would prefer the other way - to suppress some errors and still allow the scripts to build.
    The thing is that if we "rewrite" the objects into create scripts, then we have a huge test job ahead of us + the database environments (PROD vs DEV and UAT) does not share the same AD or DB users and therefore grants is lost if dropping/creating
    objects, right!
    If you drop a object before creating it, the drop will also drop the roles and grants and since they don't share user table, the create will not be able to add the permissions again. There might be a solution to that, but it is going to be very complicated
    for some newbies like us. We need something we can trust.
    BR
    Peter

  • Schema Diagram error when drop new database objects

    Hi All,
    I am following the document to ad database objects to the Schema Diagram using JDeveloper 11.1.1.4. But when I drag a view to the diagram, it gives me this error.
    An error was encountered
    CAR_REFERENCE_CODES_V.CODE
    Name CODE is already in use.
    Here CAR_REFERENCE_CODES_V is the name of my view and CODE is the column name in the view.
    What should I do?
    Thanks

    Hello,
    There is a Connect item related to this issue. This is the link of that Connect item:
    https://connect.microsoft.com/SQLServer/feedback/details/730985/smss-crashes-when-creating-new-database-diagram
    Try the workarounds posted there (Workarounds section).
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • Retrieve all source database object names from an application in APEX 4.0

    Hello
    I have completed an application developed in APEX 4.0 ( @Oracle 10g database ).
    Now we need to migrate the scripts including all database objects that support the application from Schema A to Schema B.
    Is there a report I can run to provide me the information like this :
    Page number, Name of the database object used ( including table, view and sequence )
    This would allow me to examine each database object used in Schema A and make sure the same object and data have been copied to Schema B without missing anything.
    Thanks
    Susanna

    Hi,
    On APEX 4.1 there is Database Object Dependencies Report
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/bldr_app_rpt.htm#CEGGAICH
    I'm not sure is this feature in APEX 4.0
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • Where is the database object administration GUI in Oracle XE 11g?

    Please read my whole question, because I'm sure people will misunderstand, and tell me to load http://localhost:8080/apex in my browser.  I know that is there.
    I am a previous user of Oracle XE 10g, but I just installed Oracle Express 11g. I only want to use it to get a local instance of Oracle database. The 10g APEX UI provided an easy way to administer database objects (users, schemas, and the like), but it appears the 11g APEX UI is some kind of weird application development environment that I don't want to use. It doesn't even seem aware of the schemas I created in the database using SQL Plus.
    So, where is the regular admin GUI for Oracle database objects like users/schemas (i.e. something that will list the schemas that exist in the database, and allow me to add or delete them)? Or does 11g force you to do that using SQL (in which case, I'm going to go back to 10g).
    Thanks,
    Jeff

    No, SQL workshop is not what I want.
    Basically, I don't want to deal with this concept of a "workspace" at all. It's useless to me and just gets in my way. All I want is a a UI where I can view a list of the schemas that exist in the database, and manipulate them easily.
    I have TOAD, so I could use that, but I liked the old 10g administration GUI, since it provided the exact functionality at the exact level of complexity that I needed.

  • How does Apex access and manage db objects in other schemas?

    I'm looking for a description of how Apex accesses and manages database objects in other schemas.
    I'm sure I've seen such a description somewhere earlier but am unable to find it again...

    Hi Rene,
    When you are connected to sqlworkshop, it is basically connected to the sceham owner of the workspace. If you execute the query
    select sys_context( 'userenv', 'current_schema' ), user,  username from user_users;you would see the schema and user(currently connected) and schema owner through which you have logged in. The user will have all the privileges granted to schema owner. So basically you get connected through APEX_PUBLIC_USER and it has all the privileges of the schema owner.
    In order to run scripts in another schema you would need grants on other schema same like you are connected to user A through sqlplus and wants to create objects in schema B. For example lets say you want to create a table in schema B and you have create table privileges in scehma B , you can execute command create table B.emp as select * from A.emp;
    I hope this answers your question.
    Regards,
    Manish

  • Export database objects in Version 3.0

    I'm fairly new to APEX and I need to export some database objects along with my application. I currently have an application on Oracle's site and I need it (along with database tables and sequences) exported to a server that we have onsite. While I can see how to export the application, I'm having trouble understanding how to export my database tables (both structure and data) and sequences. Can somebody point me in the right direction?
    Thanks,
    Brian

    Brian,
    You can navigate to Home>Utilities>Data Load/Unload>Unload to dump (unload) tables to files in text or xml format. You can go to Home>Utilities>Generate DDL to generate DDL for database objects in your schema.
    Scott

  • To find Missing DB Objects from one schema,sid to other schema,sid

    Hi Friends..
    I have an requirement as bellow...
    Recently we migrated from one schema to other ,some of the DB objects are missed while migrating.
    After Migration now the schema and SID are Different for newly created schema
    while comparing the newly created schema2 with old schema1 found that some of the DB objects are missed.
    So i need to find out the difference's from Schema1 to Schema2.
    But now schema 2 is having different sid and schema name and to make the changes in schema2 with respect to schema1.
    Please let me know how to go ahead with this....
    Thanks in advance...

    Hi,
    Here's one way:
    SELECT     object_name
    ,     object_type
    FROM     all_objects
    WHERE     owner     = 'SCHEMA1'     -- Case-sensitive
        MINUS
    SELECT     object_name
    ,     object_type
    FROM     all_objects
    WHERE     owner     = 'SCHEMA2'     -- Case-sensitive
    ;Use a database link for one half of the MINUS, if necessary.
    This will not detect objects that have the same name and type, but are different. For example, if both schemas have a table called TABLE_X, the query above will not display TABLE_X, even if the two tables have different rows and/or columns.

  • Database schema SCM does not contain the associated database objects

    I am getting the following error when i am trying to migrate the form to apex using application migration.
    "*Database schema SCM does not contain the associated database objects for the project, aafs.*
    *Ensure the database schema associated with the project contains the database objects associated with the uploaded Forms Module .XML file(s).* ".
    Actully i am having one schema which i named as SCM, and i have defined one table TT.
    I created one form test.fmb in which i used TT table.its compiled successfully.
    Then i generated the xml file using frmf2xml from fmb file. After that, I created the project in appication migration wizard in SCM schema.
    Project creattion is working fine.but when i m trying to create application,it is showing me above error.
    can any one help in solving this problem.

    Hi Hilary,
    Thanks for your response/feedback.
    1. The schema associated with the project does not contain the necessary objects Can you please verify that the schema associated with your Forms conversion project does in fact contain the objects associated with the uploaded files. Could you also verify that the object names referenced in the error message do not exist within the schema associated with your workspace. Ensure that the schema associated with the project contains the necessary database objects before proceeding to the generation phase of the conversion process.
    Ans:
    Yes it does contain the objects (See results from SQL query Commands below):
    SELECT MWRA_CONTRACT_NO, OLD_CONTRACT_NO FROM PROJECTS@CONTRACT_LX19.MWRA.NET
    ORDER BY MWRA_CONTRACT_NO
    000000569 551TA
    000000570 553TA
    000000575 560TA
    000000576 561TA
    000107888 502TA
    000108498 500TA
    000108502 503TA
    2. The block being converted contains buttons, which may have been incorrectly identified as database columns, and included in the original or enhanced query associated with your block This is a known issue ,bug 9827853, and a fix will be available in our upcoming 4.0.1 patch release. Some possible solutions to this issue are:
    -> delete the buttons before generating the XML
    -> delete the button tags from the XML
    -> add "DatabaseItem=No" for the button in the XML file before importing it in Apex.The button is excluded when creating the Application.
    Ans
    yes it does contain push buttons to transfer to another forms and these are defined as Non data base items. Parial XML code provided below:
    - <Item Name="REPORTS" FontSize="900" DirtyInfo="true" Height="188" XPosition="4409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="REPORTS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    <Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('REPORT_1');" />
    </Item>
    - <Item Name="TRACKHDR" FontSize="900" DirtyInfo="true" Height="188" XPosition="3409" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3709" FontSpacing="Normal" Label="TRACK" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    <Trigger Name="WHEN-BUTTON-PRESSED" TriggerText="GO_BLOCK('TRACKHDRS');" />
    </Item>
    - <Item Name="SUBAWRD" FontSize="900" DirtyInfo="true" Height="188" XPosition="2429" FontName="Fixedsys" ForegroundColor="black" DatabaseItem="false" Width="948" CompressionQuality="None" YPosition="3719" FontSpacing="Normal" Label="SUBAWARDS" BackColor="canvas" FillPattern="transparent" ShowHorizontalScrollbar="false" FontWeight="Medium" ShowVerticalScrollbar="false" FontStyle="Plain" ItemType="Push Button">
    3. If you are still experiencing issues, then please create a testcase on apex.oracle.com and update this thread with the workspace details so I can take a look.
    Test case details are given below. It was created per ORACLE for open Service Request Number 3-1938902931 on ORACLE Metalink.
    Workspace: contract4
    username: [email protected] (my email)
    Password: contract4
    Comments:
    For my migration/testing purpose a dabatase link and synonyms have been setup by our ORACLE DBA. Could this be causing this problem?
    Do we know when the fix 4.0.1 patch release will be available?
    Thanks for your help.
    Indra

  • Benefits of Assigning Database Objects to Schemas

    Hi,
    I need some clarification. Sam Alapati states the following in his book "Expert Oracle9i Database Administration:"
    "Dividing a database's objects among various schemas promotes ease of management and a higher level of security."
    Could you kindly explain how dividing a database's objects among various schemas promote
    1) ease of management, and
    2) higher level of security.
    Thanks,
    Karim

    Like it's been discuss in this thread.
    Re: Three database table sets under one schema
    in short
    1) ease of management
    you group your related database objects into schemas so it's easier for you to figure out which applications using which set of tables, packages etc.
    2) higher level of security
    schema owner has full access to it's objects. If you put every tables into one schema, you can't control which table schema holder has access to which he can't, because he owns everything.

  • SCHEMA/DATABASE 내에 새로운 OBJECT 가 생성될때 자동으로 권한을 부여받는 방법

    제품 : ORACLE SERVER
    작성날짜 : 2002-11-05
    SCHEMA/DATABASE 내에 새로운 OBJECT 가 생성될때 자동으로 권한을 부여받는 방법
    =====================================================
    PURPOSE
    schema 나 database 내에 새로운 table 이 생성될 때 application role 에
    object privilege 를 grant 하는 operation 을 자동으로 하는 방법에 대해
    소개한다.
    이 방법은 procedural object, view 와 같은 object type 에도 확장 적용할
    수 있으며 database 내의 application object 의 보안을 관리하는 모든
    DBA 에게 필요한 자료이다.
    Explanation
    CREATE 같은 DDL 문과 관련된 trigger 를 fire 시킬 수 있는 user event
    를 사용한다.
    - DDL trigger 는 database 나 schema 와 관련될 수 있다.
    - SCHEMA triger 는 특정 user 에 대해 각 event 에 대해서 fire 된다.
    - DATABASE trigger 는 모든 user 에 대해 각 event 에 대해 fire 된다.
    Example
    SCOTT schema 에 table 이 생성될 때마다, SELECT, INSERT, UPDATE,
    DELETE privilege 를 role R1 에 grant 할 필요가 있는 예를 살펴보자.
    ( 참고로, 다음은 oracle 9i 에서 role R1 이 있다는 전제하에 test 한다.)
    1. sys user 에서 새로 생성되는 table 이름을 저장할 table 을 생성한다.
    생성된 table 을 특정 schema 또는 PUBLIC 으로 모든 권한을 부여한다.
    SQL> connect / as sysdba
    Connected.
    SQL> drop table event_table;
    Table dropped.
    SQL> create table event_table
    (ora_dict_obj_owner varchar2(30), ora_dict_obj_name varchar2(30));
    Table created.
    SQL> grant all on sys.event_table to scott;
    Grant succeeded.
    2. procedure 를 생성한다.
    위의 1.에서 생성한 table 로 부터 table name 을 retrieve 하여
    role R1 에 table name 의 권한을 부여하고 row 를 삭제한다.
    SQL> create or replace PROCEDURE grant_proc AS
    own VARCHAR2(30);
    nam VARCHAR2(30);
    v_cur INTEGER;
    cursor pkgs is
    select ora_dict_obj_owner, ora_dict_obj_name
    from SYS.event_table;
    BEGIN
    open pkgs;
    loop
    fetch pkgs into own, nam;
    exit when pkgs%notfound;
    v_cur := dbms_sql.open_cursor;
    dbms_sql.parse(v_cur,
    'grant SELECT, INSERT, UPDATE, DELETE on '||own||'.
    '||nam|| ' to R1', dbms_sql.native);
    dbms_sql.close_cursor(v_cur);
    commit;
    delete from sys.event_table;
    commit;
    end loop;
    end;
    Procedure created.
    3. role R1 에 권한을 부여하는 procedure 를 call 하는 job 을 submit
    하는 procedure 를 생성한다.
    SQL> create or replace procedure grant_job(procname varchar2) as
    jobid number := 0;
    procnm varchar2(30);
    begin
    ProcNm := 'Begin '||ProcName||'; End;';
    dbms_job.submit(jobid, procnm);
    commit;
    end;
    Procedure created.
    4. trigger 를 생성한다.
    이 trigger 는 CREATE 문 이후에 fire 되며 위의 1.에서 생성된
    table 에 생성된 table 의 이름이 insert 된다.
    그리고 role R1 에 object 권한을 부여하는 procedure 를 call 하는
    job 을 submit 하는 procedure 를 call 한다.
    SQL> CREATE or REPLACE TRIGGER role_update
    AFTER CREATE on scott.schema
    DECLARE
    PRAGMA AUTONOMOUS_TRANSACTION;
    BEGIN
    IF( ora_sysevent='CREATE' and ora_dict_obj_type = 'TABLE') THEN
    insert into sys.event_table values
    (ora_dict_obj_owner, ora_dict_obj_name);
    grant_job('grant_proc');
    END IF;
    END;
    Trigger created.
    5. 다음의 작업으로 확인해 볼 수 있다.
    SQL> connect scott/tiger
    Connected.
    SQL> create table test_trig (c number);
    Table created.
    SQL> create table test_trig2 (c number);
    Table created.
    SQL> select * from sys.event_table;
    ORA_DICT_OBJ_OWNER ORA_DICT_OBJ_NAME
    SCOTT TEST_TRIG
    SCOTT TEST_TRIG2
    -> 위에서 새로 생성된 table 의 이름들이 insert 되어 있다.
    SQL> connect / as sysdba
    Connected.
    SQL> select * from dba_tab_privs where grantee='R1';
    no rows selected
    -> job 이 아직 실행되지 않았을 것이다.
    SQL> select * from user_jobs;
    JOB LOG_USER PRIV_USER
    SCHEMA_USER LAST_DATE LAST_SEC THIS_DATE THIS_SEC NEXT_DATE
    NEXT_SEC TOTAL_TIME B
    INTERVAL
    FAILURES
    WHAT
    NLS_ENV
    MISC_ENV INSTANCE
    39 SCOTT SYS
    SYS 13-SEP-02
    11:43:46 0 N
    null
    Begin grant_proc; End;
    NLS_LANGUAGE='AMERICAN' NLS_TERRITORY='AMERICA' NLS_CURRENCY='$' NLS_ISO_CURRENC
    Y='AMERICA' NLS_NUMERIC_CHARACTERS='.,' NLS_DATE_FORMAT='DD-MON-RR' NLS_DATE_LAN
    GUAGE='AMERICAN' NLS_SORT='BINARY'
    0102000000000000 0
    -> job 이 실행되는 동안 기다린다.
    다시 event_table 을 select 해 본다.
    SQL> select * from sys.event_table;
    no rows selected
    SQL> select * from dba_tab_privs where grantee='R1';
    GRANTEE OWNER TABLE_NAME GRANTOR PRIVILEGE GRA HIE
    R1 SCOTT TEST_TRIG SCOTT INSERT NO NO
    R1 SCOTT TEST_TRIG SCOTT SELECT NO NO
    R1 SCOTT TEST_TRIG SCOTT UPDATE NO NO
    R1 SCOTT TEST_TRIG SCOTT DELETE NO NO
    R1 SCOTT TEST_TRIG2 SCOTT INSERT NO NO
    R1 SCOTT TEST_TRIG2 SCOTT SELECT NO NO
    R1 SCOTT TEST_TRIG2 SCOTT UPDATE NO NO
    R1 SCOTT TEST_TRIG2 SCOTT DELETE NO NO
    8 rows selected.
    job 이 실행된 후 event_table 은 비워 있고
    role R1 은 새로 생성된 2개의 table 에 대한 권한을 받았을 것이다.
    SQL> select * from user_jobs;
    no rows selected
    단, 위에서 설명된 것에 따르면 SCHEMA trigger 는 현재 user 의
    schema 에서만 fire 되므로 DBA 가 해당 schema 아래에 table 을 생성한다면 이는 작동되지 않을 것이다.
    SQL> connect system/manager
    Connected.
    SQL> create table SCOTT.TEST_TRIG3 (c number);
    Table created.
    SQL> select * from dba_tab_privs
    where grantee='R1' and table_name='TEST_TRIG3';
    no rows selected
    scott.schema 대신에 DATABASE 에 같은 trigger 를 생성한다면
    schema 내에 생성된 table 은 누가 생성했던지 role R1 은 object 권한을
    적절하게 부여 받을 것이다.
    Reference Documents
    <Note:210693.1>
    Oracle9i Application Developer's Guide - Fundamentals
    Chapter Working With System Events - Event Attribute Functions
    Oracle8i SQL Reference - SQL Statements - CREATE TRIGGER
    Oracle8i SQL Reference - SQL Statements - CREATE PROCEDURE

  • Some objects in sys schema not imported usinf full database import/export.

    Hello All,
    We need to migrate database from one server to new server using same database version 11g Release 2 (11.2.0.1.0). We have some production objects in sys schema. We took full export using full=y and then import on new server using full=y. Other objects belonging to different tablespaces and users has successfully imported but production objects i.e table in sys schema not import.
    We used following commands for export and import:
    # exp system file=/u01/backup/orcl_full_exp.dmp log=/u01/backup/orcl_full_exp.log full=y statistics=none
    # imp system file=/u01/backup/orcl_full_exp.dmp log=/u01/backup/orcl_full_imp.log full=y ignore=y
    Kind Regards,
    Sharjeel

    Hi,
    First of all it is not good practice to keep user object in the sys schema
    second you are useing version 11gr2 what not you go for datapump export/import method.
    third, did you get any error in import, what is the error

  • Database Query missing Schema specification - Gives DB error 2812

    Hi All,
    I have spent the better part of the day trying to find out why, when I export my report, I am getting an exception with a DB error of 2812, Stored procedure not found.
    My program is a system service running on a Windows Server 2008 64-bit box.  It is connecting to a SQL Server 2008 R2 instance using an OLE DB (ADO) connection.
    When I load the data for this report from within CR, it works fine.
    When I run my system service on my Windows 7 64-bit development system, it works fine.
    However, when I run the service on the server, it fails.
    I have tried running it in 32-bit mode and 64-bit mode.  The report was using the SQL Server Native Client driver and I updated it to SQL Server Native Client 10.  I put the latest version of that driver on the server so it matched what was on my development machine.  I made sure that the server had the latest runtime of CR for VS 2010 (13.1).  Nothing was making any difference.
    I couldn't figure out what was going on.  Then I turned on logging.  When the service is run on my local system, the database query that is generated to call the stored procedure includes the database name and the schema.  When the service is run on my local system, the query only includes the stored procedure name.  This perfectly explains the error I am getting.
    So the question is why is it behaving differently on my local system than on the server.  The only difference is that on my local system I build the service in Debug mode and for the Server it is built in Release mode.  It may make a difference but it seems unlikely.
    I will include the text of the two log files.  If anyone has any idea of why it is behaving differently on the two systems I would greatly appreciate hearing from you.
    (It won't format correctly if I include both logs.  I'll include one here and post a reply with the other.)
    Thanks,
    David
    Log file from Server:
    TIMESTAMP     THREAD_ID     FILENAME     LINE_NUMBER     LOGGED_DATA     LEVEL
    2011-8-24-18-53-35     8412     .\ado.cpp     2943     Begin DbMatchLogonInfo     20
    2011-8-24-18-53-36     8412     .\ado.cpp     2974     Begin DbMatchLogonInfo     20
    2011-8-24-18-53-37     8412     .\ado.cpp     2943     Begin DbMatchLogonInfo     20
    2011-8-24-18-53-37     8412     .\ado.cpp     2974     Begin DbMatchLogonInfo     20
    2011-8-24-18-53-37     8412     .\ado.cpp     2943     Begin DbMatchLogonInfo     20
    2011-8-24-18-53-37     8412     .\ado.cpp     2974     Begin DbMatchLogonInfo     20
    2011-8-24-18-53-37     8412     .\ado.cpp     2943     Begin DbMatchLogonInfo     20
    2011-8-24-18-53-37     8412     .\ado.cpp     2974     Begin DbMatchLogonInfo     20
    2011-8-24-18-53-37     8412     .\ado.cpp     377     Beginning DbLogonServer      20
    2011-8-24-18-53-37     8412     .\serverh.cpp     223     Beginning DbServerHandle::logon     20
    2011-8-24-18-53-37     8412     .\serverh.cpp     3976     adoConnection->Open succeeded: dataLinkFile=,provider=SQLNCLI10,dataSource=TLI-Core,userID=name,password=*********     10
    2011-8-24-18-53-37     8412     .\serverh.cpp     3988     initialCatalog=TLI_AuditInvoice,jetSystemDatabase=,jetDatabaseType=Access,jetDatabasePassword=,useIntegratedSecurity=0,includeInitialCatalogProp=1,includeSecurityProps=1,includeJetSecurityProps=0     10
    2011-8-24-18-53-37     8412     .\serverh.cpp     414     Finishing DbServerHandle::logon     20
    2011-8-24-18-53-37     8412     .\DbQueryBuilder.cpp     512     Query Targets: SQLNCLI.1, NativeSQLServer     10
    2011-8-24-18-53-37     8412     .\DbQueryBuilder.cpp     523     Successfully built query:   "RptShipmentTransitByOwnerID";1 206, 4, ''     10
    2011-8-24-18-53-37     8412     .\ado.cpp     1643     Beginning DbExecuteQuery     20
    2011-8-24-18-53-37     8412     .\serverh.cpp     2749     Beginning DbServerHandle::openRowset     20
    2011-8-24-18-53-37     8412     .\serverh.cpp     2909     adoRecordset->Open failed: "RptShipmentTransitByOwnerID";1 206, 4, ''     1
    2011-8-24-18-53-37     8412     .\adocommon.cpp     527     ADO Error Code: 0x80040e14 Source: Microsoft SQL Server Native Client 10.0 Description: Could not find stored procedure 'RptShipmentTransitByOwnerID'. SQL State: 42000 Native Error: 2812     1
    Edited by: Don Williams on Aug 25, 2011 8:45 AM

    Sorry, I had a mis-type.  The above post should have read:
    I couldn't figure out what was going on. Then I turned on logging. When the service is run on my local system, the database query that is generated to call the stored procedure includes the database name and the schema. When the service is run on my SERVER , the query only includes the stored procedure name. This perfectly explains the error I am getting.
    Log file from development system:
    TIMESTAMP     THREAD_ID     FILENAME     LINE_NUMBER     LOGGED_DATA     LEVEL
    2011-8-24-18-59-51     23808     .\ado.cpp     2943     Begin DbMatchLogonInfo     20
    2011-8-24-18-59-51     23808     .\ado.cpp     2974     Begin DbMatchLogonInfo     20
    2011-8-24-19-0-54     23808     .\ado.cpp     377     Beginning DbLogonServer      20
    2011-8-24-19-0-54     23808     .\serverh.cpp     223     Beginning DbServerHandle::logon     20
    2011-8-24-19-0-55     23808     .\serverh.cpp     3976     adoConnection->Open succeeded: dataLinkFile=,provider=SQLNCLI10,dataSource=dsname,port,userID=user,password=*********     10
    2011-8-24-19-0-55     23808     .\serverh.cpp     3988     initialCatalog=TLI_AuditInvoice,jetSystemDatabase=,jetDatabaseType=Access,jetDatabasePassword=,useIntegratedSecurity=0,includeInitialCatalogProp=1,includeSecurityProps=1,includeJetSecurityProps=0     10
    2011-8-24-19-0-55     23808     .\serverh.cpp     414     Finishing DbServerHandle::logon     20
    2011-8-24-19-0-55     23808     .\DbQueryBuilder.cpp     512     Query Targets: SQLNCLI.1, NativeSQLServer     10
    2011-8-24-19-0-55     23808     .\DbQueryBuilder.cpp     523     Successfully built query:   "TLI_AuditInvoice"."Gideon"."RptShipmentTransitByOwnerID";1 206, 4, ''     10
    2011-8-24-19-0-55     23808     .\ado.cpp     1643     Beginning DbExecuteQuery     20
    2011-8-24-19-0-55     23808     .\serverh.cpp     2749     Beginning DbServerHandle::openRowset     20
    2011-8-24-19-0-56     23808     .\serverh.cpp     2925     adoRecordset->Open succeeded without async option: "TLI_AuditInvoice"."Gideon"."RptShipmentTransitByOwnerID";1 206, 4, ''     10
    2011-8-24-19-0-56     23808     .\serverh.cpp     2942     Finishing DbServerHandle::openRowset     20
    2011-8-24-19-0-56     23808     .\ado.cpp     1859     Finishing DbExecuteQuery     20
    2011-8-24-19-0-56     23808     .\DbQueryBuilder.cpp     512     Query Targets: SQLNCLI.1, NativeSQLServer     10
    2011-8-24-19-0-56     23808     .\DbQueryBuilder.cpp     523     Successfully built query:    SELECT "Owner"."AccountName", "Owner"."OwnerID"   FROM   "TLI_AuditInvoice"."dbo"."Owner" "Owner"   WHERE  "Owner"."OwnerID"=206     10
    2011-8-24-19-0-56     23808     .\ado.cpp     1643     Beginning DbExecuteQuery     20
    2011-8-24-19-0-56     23808     .\serverh.cpp     2749     Beginning DbServerHandle::openRowset     20
    2011-8-24-19-0-56     23808     .\serverh.cpp     2925     adoRecordset->Open succeeded without async option:  SELECT "Owner"."AccountName", "Owner"."OwnerID" FROM   "TLI_AuditInvoice"."dbo"."Owner" "Owner" WHERE  "Owner"."OwnerID"=206     10
    2011-8-24-19-0-56     23808     .\serverh.cpp     2942     Finishing DbServerHandle::openRowset     20
    2011-8-24-19-0-56     23808     .\ado.cpp     1859     Finishing DbExecuteQuery     20
    Edited by: CDavidOrr on Aug 25, 2011 1:52 AM
    Edited by: Don Williams on Aug 25, 2011 8:46 AM

  • What is the use of Offline Database Object in SOA

    Hi All,
    Can anyone let me know the purpose of Offline Database Object in SOA.
    1) When we will create the Offline Database Object in soa ?
    2) How do we connect this object to any data base schema ?
    Note:- Please provide me the example on this
    Thanks,

    Hi Dominik,
            Thanks for the repy !!!!
    Now, as you said we can access a (deep) node of the whole model using an access object.
    Let us consider the component set ONEORDER. As seen we can use the following path to reach BTDocFlowAll using search object :-
    BTQuery1O -> BTOrder  -> BTOrderHeader  -> BTHeaderDocFlowSet -> BTDocFlowSet -> BTDocFlowAll ....
    Also, to reach BTDocFlowAll we can even use the access object as follows :-
    BTAdminI -> BTItemDocFlowSet  -> BTDocFlowAll....
    Now my question is :-
    Normally we use the class cl_crm_bol_query_service to fire a search based on a search object. Can we use the same class to fire a search based on access object ?
    (actually I currently dont have a CRM system so I could not try it out myself).
    If not, then how do we fire a query using an access object ?
    Regards,
    Ashish

  • SQL Developer Strangeness with database objects beginning with 'AQ'

    I have two separate but seemingly related issues.
    *1. I am experiencing a situation whereby database objects beginning with the letters 'AQ' are not included when performing a database export from SQL Developer (using the procedure described below).*
    Procedure:
    1. Create any database objects starting with 'AQ'
    2. Tools > Database Export
    3. Check every item in the 'Types to Export' step of the Export Wizard
    4. Progress to the 'Specify Objects' step of the Export Wizard
    Expected:
    The 'Specify Objects' step of the Export Wizard lists all database objects
    Actual:
    The 'Specify Objects' step of the Export Wizard lists all database objects EXCEPT those prefixed with AQ. As these objects are not listed, I am not able to export them.
    *2. Sequences that start with the letters 'AQ' do not appear in the object list*
    Any sequences starting with the letters 'AQ' are missing from the Sequences list in the left panel of SQL Developer.
    At a glance, it appears as though these are symptoms of the same issue that's described in [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=898765&tstart=180]. I have attempted this in versions 1.5.4 and 2.1.1.64 under both Windows XP and Vista. Both exhibit the same problems.
    Thanks.
    Edited by: thrillhouse on 16-Mar-2010 17:27

    I have created a new bug for the first and reopened the bug for the second. In the latter case we fixed the AQ for most nodes, but it seems a few nodes, like the Sequences were not included.
    Sue

Maybe you are looking for