Database Schema - SQL vs BEx

Hi
I used to work with Microstrategy that was on to of SQL database.
Now I got new job using BO. Problem is that reports are based on BeX Queries. I can't see an SQL.
How can I become familiar with Database Structure. (In Microstrategy I was able to see SQL behind and figure out Table Structure)
Is SAP Workbench only solution ?
Thanks

Hi,
You should able to see the SQL generated script but wont be able to edit it.
Data Access>>Edit Query>> Tabs beside Prompt preferences>> View SQL Script
Below is the link to guide you further.
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00caed47-dfd9-2d10-18b4-811af2c634fe&overridelayout=true
Thanks,
Jothi

Similar Messages

  • GeneratingClasses and mappingFiles from database schema/ sql with ant/maven

    hi,
    I have an application using the the following ant script (it creates mapping files - hbms and sql schema for my database, basing on xdoclet for hibernate), (application also use spring beans in configuration file):
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="demo" default="generate">
         <property file="build.properties" />
          <target name="init">
               <echo message="Clening..."/>
               <delete dir="target" failonerror="false"/>
               <echo message="Creating folders..."/>
            <mkdir dir="target"/>
            <mkdir dir="target/classes"/>
            <mkdir dir="target/jar"/>
               <echo message="Defining xdoclet2 ant task..."/>
            <path id="xdoclet2.task.classpath">
                <fileset dir="lib/xdoclet">
                    <include name="*.jar"/>
                </fileset>
            </path>
            <path id="project.classpath">
                <fileset dir="lib">
                    <include name="*.jar"/>
                </fileset>
            </path>
            <taskdef
                name="xdoclet2"
                classname="org.xdoclet.ant.XDocletTask"
                classpathref="xdoclet2.task.classpath"
                />
        </target>
         <target name="generate" depends="init" description="Cleans and builds everything.">
               <echo message="Generating hbms..."/>
            <xdoclet2>
                <fileset dir="source/src">
                    <include name="**/*Model.java"/>
                </fileset>
                <component
                    classname="org.xdoclet.plugin.hibernate.HibernateMappingPlugin"
                    destdir="target/hbm"
                    version="2.0"
                    />
            </xdoclet2>
               <echo message="Compiling..."/>
              <javac classpathref="project.classpath" destdir="target/classes"
                   srcdir="source/src">
              </javac>
               <echo message="Creating jar..."/>
              <jar destfile="target/jar/demo.jar">
                   <fileset dir="target/classes"/>
                   <fileset dir="resources"/>
                   <fileset dir="target/hbm"/>
              </jar>
            <path id="hibernate.task.classpath">
                <fileset dir="lib">
                    <include name="*.jar"/>
                </fileset>
                <fileset dir="target/jar">
                    <include name="*.jar"/>
                </fileset>
            </path>
               <echo message="Creating database schema..."/>
             <taskdef name="schemaexport"
                  classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask"
                  classpathref="hibernate.task.classpath"/>
                  <schemaexport
                      properties="resources/hibernate.properties"
                      quiet="no"
                      text="no"
                      drop="no"
                      delimiter=";"
                      output="target/schema-export.sql">
                      <fileset dir="target/hbm">
                          <include name="**/*.hbm.xml"/>
                      </fileset>
                  </schemaexport>
         </target>
    </project>EXAMPLE MAPPING FILE:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 2.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-2.0.dtd">
    <hibernate-mapping>
      <class table="DEMO_ADDRESS" name="amg.demo.model.AddressModel">
        <id unsaved-value="null" name="id">
          <generator class="native">
            <param name="sequence">id_seq</param>
          </generator>
        </id>
        <version unsaved-value="undefined" name="version" column="version" type="java.lang.Long"/>
        <property name="firstName"/>
        <property name="lastName"/>
        <property name="type" type="amg.demo.model.AddressTypeEnum"/>
        <property name="zipCode"/>
      </class>
    </hibernate-mapping>I wish I would know how to make an inverse operation - I mean having the sql database schema I should generate classes and propably the mapping xml-es.
    Could u please give me some example applications/ant or maven scripts with some database sql schemat or some not very complicated links to the tutorials concerning this problem?

    If you're using Eclipse check out some of the Hibernate tools. I have used these before:
    http://www.eclipse-plugins.info/eclipse/search.jsp?query=hibernate

  • SQL Server CE 3.5 SP2 - SQLCE Toolbox / Automated Database Schema Upgrade Scripting / Drop Index

    I am provisioning for automated database schema upgrades in a Windows Forms Application (VS2010/VB) which uses SQL Server Compact 3.5 SP2.  A portion of the schema upgrade procedure uses TSQL commands passed to SQLCE like the following:
    cmd.CommandText = "DROP INDEX [SaleComps$ProjID]"
    cmd.ExecuteNonQuery()
    However, when this command is processed by the SQLCE engine, I get the following error:
    Command: DROP INDEX [SaleComps].[ProjID]
    Error: The specified index does not exist. [ ProjID ]
    But, if I try to recreate the index (or try to change the index column) I get the following errors which indicate that the index is still there:
    Command: ALTER TABLE [SaleComps] ALTER COLUMN [ProjID] nvarchar(20) NULL
    Error: Cannot alter a column that is part of a key or an index. [ Index Name = SaleComps$ProjID,Column = ProjID ]
    Command: CREATE INDEX "SaleComps$ProjID" ON "SaleComps" ("ProjID" ASC)
    Error: The specified index already exists. [ SaleComps$ProjID ]
    Any ideas why this would not be working? Thanks!
    -BGood

    No, I was guessing at the syntax from reviewing other web postings, some of which were in different SQL dialects. 
    While your SQLCE Toolbox did not provide the DROP INDEX command, it did provide most of the "Schema Diff" scripting commands.  In hindsight, maybe SQLCE Toolbox should recognize when schema differences involve a Column which is used in an index, and
    DROP the index before executing the ALTER COLUMN command, then re-CREATE the index with the modified column.
    Despite this shortcoming, I am very thankful for the help provided by SQLCE Toolbox, and learned a little more about SQL scripting in the process.
    Thanks, ErikEJ!
    -BGood

  • Workspace to parse SQL statements from multiple database schema's

    Hi ,
    When go through the following link of workspace admin user :
    Home>HTML DB Workspace Administration>Manage Services>Schema Reports>Workspace Schemas there I saw "Your workspace has the privilege to parse SQL statements using the following database schemas. Note that the terms database schema and database user can be used interchangeably.
    " at the right pane.
    So how can i make my workspace to parse SQL statements from multiple database schema's ?That must be listed there .But i have only one schema in view ? Can i make it multiple ?If then How ?
    Anybody have an idea ?
    ROSY

    Assign as many schemas to your workspace as you want using the administration app. Read about it in the doc.
    Scott

  • Sample Oracle database Schema and sample training SQL

    Hi,
    I am running a windows 7, 64 bit machine. I am looking for sample oracle database schema with sample SQL queries and exercises(tutorial). Can you please point me in the right direction where I can download both.
    Thanks for your time and help.

    sb92075 wrote:
    ssk1974 wrote:
    Hi,
    I am running a windows 7, 64 bit machine. I am looking for sample oracle database schema with sample SQL queries and exercises(tutorial). Can you please point me in the right direction where I can download both.
    Thanks for your time and help.
    http://www.lmgtfy.com/?q=oracle+sample+schema
    LOL!!!!

  • Issue in creation of group in oim database through sql query.

    hi guys,
    i am trying to create a group in oim database through sql query:
    insert into ugp(ugp_key,ugp_name,ugp_create,ugp_update,ugp_createby,ugp_updateby,)values(786,'dbrole','09-jul-12','09-jul-12',1,1);
    it is inserting the group in ugp table but it is not showing in admin console.
    After that i also tried with this query:
    insert into gpp(ugp_key,gpp_ugp_key,gpp_write,gpp_delete,gpp_create,gpp_createby,gpp_update,gpp_updateby)values(786,1,1,1,'09-jul-12',1,'09-jul-12',1);
    After that i tried with this query.but still no use.
    and i also tried to assign a user to the group through query:
    insert into usg(ugp_key,usr_key,usg_priority,usg_create,usg_update,usg_createby,usg_updateby)values(4,81,1,'09-jul-12','09-jul-12',1,1);
    But still the same problem.it is inserting in db.but not listing in admin console.
    thanks,
    hanuman.

    Hanuman Thota wrote:
    hi vladimir,
    i didn't find this 'ugp_seq'.is this a table or column?where is it?
    It is a sequence.
    See here for details on oracle sequences:
    http://www.techonthenet.com/oracle/sequences.php
    Most of the OIM database schema is created with the following script, located in the RCU distribution:
    $RCU_HOME/rcu/integration/oim/sql/xell.sql
    there you'll find plenty of sequence creation directives like:
    create sequence UGP_SEQ
    increment by 1
    start with 1
    cache 20
    to create a sequence, and
    INSERT INTO UGP (UGP_KEY, UGP_NAME, UGP_UPDATEBY, UGP_UPDATE, UGP_CREATEBY, UGP_CREATE,UGP_ROWVER, UGP_DATA_LEVEL, UGP_ROLE_CATEGORY_KEY, UGP_ROLE_OWNER_KEY, UGP_DISPLAY_NAME, UGP_ROLENAME, UGP_DESCRIPTION, UGP_NAMESPACE)
    VALUES (ugp_seq.nextval,'SYSTEM ADMINISTRATORS', sysadmUsrKey , SYSDATE,sysadmUsrKey , SYSDATE, hextoraw('0000000000000000'), 1, roleCategoryKey, sysadmUsrKey, 'SYSTEM ADMINISTRATORS', 'SYSTEM ADMINISTRATORS', 'System Administrator role for OIM', 'Default');
    as a sequence usage example.
    Regards,
    Vladimir

  • Help me to fix the error while running DBMaintain Against the Database Schema in ASE.

    Hi All,
    I am trying to install sybase mobiliser platform 5.1 SP 03.I am  referring the following guide
    http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01871.0513/pdf/Mobiliser_Platform_Installation_Guide_5.1…
    Now I have configured the ASE database server with default settings and now it is running fine.
    Now my concerns are as follows:
    1) I have executed the database schema (mobr5): 001_MONEY_drop_and_create_user.DDL with the help of linux command
    isql -Usa -SASE1 -Phello@123 -i/opt/sybase/db/sql/001_MONEY_drop_and_create_user.DDL -o/opt/sybase/ASE-15_0/install/ASE1.log
    How do I check the created database schema and user with default name 'mobr5'?
    2) While running DBMaintain Against the Database Schema, I have followed the steps mentioned in the guide and made the following changes in the file dbmaintain.properties.ase
    database.driverClassName=com.sybase.jdbc4.jdbc.SybDriver
    database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
    database.userName=mobr5
    database.schemaNames=mobr5
    database.password=paybox
    #Must be set if the driver is not packaged inside the scriptarchive or is present on the classpath
    #e.g. /path/to/driver.jar
    #database.driverLocation=/path/to/jconnect.jar
    database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase.jar
    database.driverLocation=/opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla.jar
    When I execute the script archives ,
    java –jar /opt/sybase/db/sql/com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-driverless.jar -c /opt/sybase/db/sql/dbmaintain.properties.ase
    java –jar com.sybase365.mobiliser.vanilla.standalone-5.1.3.RELEASE-scriptarchive-ase-vanilla-driverless.jar -c dbmaintain.properties.ase
    I get the following error:
    So please help me to resolve the issues.

    Hi All,
    Issue is resolved and database has been updated successfully..
    Error was in database .url field of dbmaintain.properties.ase file.
    I have changed the database.url field  from database.url=jdbc:sybase:Tds:ASE1:5000/mobr5
    to  database.url=jdbc:sybase:Tds:<Private IP of Linux instance>:5000/mobr5
    Note:- I am installing mobiliser platform on AWS cloud.So I have made use of Private IP address of AWS Linux instance.

  • TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance.

    The command TfsAdmin ProjectServer /RegisterPWA causes next error:
    TF244069: An error occurred while checking the provisioning status of the reporting database schema for a PWA instance.
    Project Server returned the following error: "Server was unable to process request. ---> The request failed with HTTP status 401: Unauthorized.".
     (type ProvisionException)
    Exception Stack Trace:    at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionPwaDBSchema.HandleSoapException(SoapException soapException, String errorResourceString)
       at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionPwaDBSchema.IsDBSchemaProvisioned()
       at Microsoft.TeamFoundation.Sync.Provisioning.ProvisionManager.Provision()
    I installed SharePoint 2013 and Project Server 2013 as farm and TFS 2012 and my account has permissions everywhere. I read article
    http://msdn.microsoft.com/en-us/library/gg412653.aspx and gave full permissions for TFS account to SQL and Project, Project app pool account to SQL, but still have an error.
    How can I find out what exactly permissions are not enough???

    The problem was in claims authentication. Changed to Windows and all worked out.

  • Creation of a Database Schema is not working (Into a Sync Group)

    Hello,
    We have in: Sql Databases > Sync > Sync Group, a group called "SyncGroupViviendasProyectosVentasPruebas"
    If we go to "Sync Rules" and click "DEFINE SYNC RULES", no matter the databse we choose (there are 2), when we click in "REFRESH
    THE DATABASE SCHEMA" it dont works!
    It seems to be working but minutes later there is no Schema created.
    Why? Why the Create Database Schema is not working?
    Thanks,

    The detail error log from our service backend is:
    'Type=Microsoft.SqlServer.Management.Sdk.Sfc.InvalidVersionEnumeratorException,Message=Operation not supported on version 11.0 SqlAzureDatabase.,Source=Microsoft.SqlServer.SqlEnum,StackTrace=   at Microsoft.SqlServer.Management.Smo.XmlReadDoc.LoadFile(Assembly
    a&#44; String strFile)
       at Microsoft.SqlServer.Management.Smo.SqlObject.LoadInitDataFromAssemblyInternal(Assembly assemblyObject&#44; String file&#44; ServerVersion ver&#44; String alias&#44; StringCollection requestedFields&#44; Boolean store&#44;
    StringCollection roAfterCreation&#44; DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Smo.SqlObject.LoadInitData(String file&#44; ServerVersion ver&#44; DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.LoadElement(ObjectLoadInfo oli&#44; ServerVersion ver&#44; DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.GetElement(ObjectLoadInfo oli&#44; ServerVersion ver&#44; DatabaseEngineType databaseEngineType)
       at Microsoft.SqlServer.Management.Sdk.Sfc.ObjectCache.GetAllElements(Urn urn&#44; ServerVersion ver&#44; DatabaseEngineType databaseEngineType&#44; Object ci)
       at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetObjectsFromCache(Urn urn&#44; Object ci)
       at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo&#44; Request request)
       at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo&#44; Request request),'
    It might be a collation/SMO issue after I do some research, so may I know that have you change the collation of you SQL Azure database? If yes, please try to use default collation and try again.
    Regards,
    Bowen

  • What is the best methodology to handle database schema changes after an application has been deployed?

    Hi,
    VS2013, SQL Server 2012 Express LocalDB, EF 6.0, VB, desktop application with an end user database
    What is a reliable method to follow when there is a schema change for an end user database used by a deployed application?  In other words, each end user has their own private data, but the database needs to be expanded for additional features, etc. 
    I list here the steps it seems I must consider.  If I've missed any, please also inform:
    (1) From the first time the application is installed, it should have already moved all downloaded database files to a separate known location, most likely some sub-folder in <user>\App Data.
    (2) When there's a schema change, the new database file(s) must also be moved into the location in item (1) above.
    (3) The application must check to see if the new database file(s) have been loaded, and if not, transfer the data from the old database file(s) to the new database file(s).
    (4) Then the application can operate using the new schema.
    This may seem basic, but for those of us who haven't done it, it seems pretty complicated.  Item (3) seems to be the operative issue for database schema changes.  Existing user data needs to be preserved, but using the new schema.  I'd like
    to understand the various ways it can be done, if there are specific tools created to handle this process, and which method is considered best practice.
    (1) Should we handle the transfer in a 'one-time use' application method, i.e. do it in application code.
    (2) Should we handle the transfer using some type of 'one-time use' SQL query.  If this is the best way, can you provide some guidance if there are different alternatives for how to perform this in SQL, and where to learn/see examples?
    (3) Some other method?
    Thanks.
    Best Regards,
    Alan

    Hi Uri,
    Thank you kindly for your response.  Also thanks to Kalman Toth for showing the right forum for such questions.
    To clarify the scenario, I did not mean to imply the end user 'owns' the schema.  I was trying to communicate that in my scenario, an end user will have loaded their own private data into the database file originally delivered with the application. 
    If the schema needs to be updated for new application features, the end user's data will of course need to be preserved during the application upgrade if that upgrade includes a database schema change.
    Although I listed step 3 as transferring the data, I should have made more clear I was trying to express my limited understanding of how this process "might work", since at the present time I am not an expert with this.  I suspected my thinking
    is limited and someone would correct me.
    This is basically the reason for my post; I am hoping an expert can point me to what I need to learn about to handle database schema changes when application upgrades are deployed.  For example, if an SQL script needs to be created and deployed
    then I need to learn how to do that.  What's the best practice, or most reliable/efficient way to make sure the end user's database is changed to the new schema after the upgraded application is deployed?  Correct me if I'm wrong on this,
    but updating the end user database will have to be handled totally within the deployment tool or the upgraded application when it first starts up.
    If it makes a difference, I'll be deploying application upgrades initially using Click Once from Visual Studio, and eventually I may also use Windows Installer or Wix.
    Again, thanks for your help.
    Best Regards,
    Alan

  • SQL Server 2012 Deploy Database to SQL Azure...

    I have spent many days trying to copy a simple test database from my PC to SQL Azure but with little success.  Then I installed SQL Server 2012 and see a new task:
    Deploy Database to SQL Azure...  It looks like an automated extraction to DAC and then creating the Azure database all in one step.
    I was elated, but got hit with the following three types of errors.
    One or more unsupported elements were found in the schema used as part of a data package.
    Error SQL71564: The element Extended Property: [dbo].[Accounts].[Address].[MS_Description] is not supported when used as part of a data package (bacpac).
    Error SQL71564: Table Table: [dbo].[Activities] does not have a clustered index.  Clustered indexes are required for inserting data in this version of SQL Server.
    Error SQL71564: Element User: [NT AUTHORITY\NETWORK SERVICE] has an unsupported property AuthenticationType set and is not supported when used as part of a data package.
     (Microsoft.SqlServer.Dac)
    May I know what I can do on the on-premise database to rid of the first and third error?
    Thanks.

    Hello,
    1) Remove the Extended Property from the (?) column Address in table Accounts.
    BTW, for small databases it's sometimes easiere to generate a script for the database (and modify it slightly) instead of using the Wizard
    Olaf Helper
    Blog
    Xing
    What is Extended Property?   What is this .MS_Description?   I can't see it in the table designer or the Column Properties.  (I don't know whether this was corruption caused by Data Sync I used earlier.)  How do I remove it.
    Of all the methods of copying SQL Server to Azure SQL, this one gives the least mistakes.  If I can solve this Extended Properties thing hopefully I can migrate the database over.

  • 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

  • Problem with database schema objects in the entity object wizard

    Hi All,
    When creating a new entity object, I am facing a problem with database schema objects in the entity object wizard, database schema objects (check boxes for tables,synonyms...) are disabled. Actually I am using a synonym but I am not able to select the synonym check box.
    Can any of you folks tell me how to enable the database schema objects (check boxes for tables,synonyms...).
    Thanks in Advance.
    Raja.M

    Make sure your using rite version of jdeveloper..
    Make sure your using apps schema and check whether your able perform DML operations in the schema vis sql developer.
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                           

  • Problem adding database schema , eroor : not connected

    Thank you for reading my post
    I download the demo sample from oracle soa web site . and i am trying to follow the tutorial to
    create the database schema, to make this step complete
    I create oracle_home and oracle_SID variables (Windows OS )
    then
    I open an sqlplus session (sys/pass as sysdba) and to make sure that i am
    connected i execute
    select * from V$database ;
    it works
    then i execute :
    select * from hr.jobx
    it works file.
    it mean that i am connected to database.
    but when i execute @build.sql i get the following errors , can some one help me ?
    i should say that after i execute the @build.sql i can not execute any command because it says that SP2-0640:Not connected
    SQL> @build.sql
    old   1: DROP USER &&1 CASCADE
    new   1: DROP USER SOADEMO CASCADE
    DROP USER SOADEMO CASCADE
    ERROR at line 1:
    ORA-01918: user 'SOADEMO' does not exist
    SP2-0734: unknown command beginning "DEFAULT TA..." - rest of line ignored.
    SP2-0734: unknown command beginning "TEMPORARY ..." - rest of line ignored.
    SP2-0734: unknown command beginning "QUOTA UNLI..." - rest of line ignored.
    SP2-0734: unknown command beginning ", create t..." - rest of line ignored.
    SP2-0734: unknown command beginning ", create p..." - rest of line ignored.
    SP2-0734: unknown command beginning ", create s..." - rest of line ignored.
    SP2-0734: unknown command beginning ", create t..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ", create v..." - rest of line ignored.
    SP2-0734: unknown command beginning ", create s..." - rest of line ignored.
    SP2-0734: unknown command beginning ", alter se..." - rest of line ignored.
    SP2-0734: unknown command beginning ", create t..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ", create m..." - rest of line ignored.
    SP2-0734: unknown command beginning ", query re..." - rest of line ignored.
    SP2-0734: unknown command beginning ", create d..." - rest of line ignored.
    SP2-0734: unknown command beginning ", create a..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ", alter us..." - rest of line ignored.
    SP2-0734: unknown command beginning ", resumabl..." - rest of line ignored.
    SP2-0734: unknown command beginning ", ALTER AN..." - rest of line ignored.
    SP2-0734: unknown command beginning ", DROP ANY..." - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ", LOCK ANY..." - rest of line ignored.
    SP2-0734: unknown command beginning ", CREATE A..." - rest of line ignored.
    SP2-0734: unknown command beginning ", SELECT A..." - rest of line ignored.
    SP2-0042: unknown command "TO &&1" - rest of line ignored.
    SP2-0044: For a list of known commands enter HELP
    and to leave enter EXIT.
    SP2-0734: unknown command beginning ", execute_..." - rest of line ignored.
    SP2-0042: unknown command "TO &&1" - rest of line ignored.
    ERROR:
    ORA-01017: invalid username/password; logon denied
    Warning: You are no longer connected to ORACLE.
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    drop table 'ITEMS'
    SP2-0640: Not connected
    drop table 'ADDRESS'
    SP2-0640: Not connected
    drop table 'CUSTOMER'
    SP2-0640: Not connected
    drop table 'ORDERS'
    SP2-0640: Not connected
    drop table 'PRODUCT'
    SP2-0640: Not connected
    drop table 'CUSTOMER_ADDRESS'
    SP2-0640: Not connected
    drop sequence 'EJB_SEQ_ID_GEN'
    SP2-0640: Not connected
    drop sequence 'ADDRESS_EJB_SEQ_ID_GEN'
    SP2-0640: Not connected
    drop sequence 'ORDER_SEQ_ID_GEN'
    SP2-0640: Not connected
    drop table 'SSN'
    SP2-0640: Not connected
    SP2-0640: Not connected
    create table 'ITEMS'
    SP2-0640: Not connected
    create table 'ADDRESS'
    SP2-0640: Not connected
    create table 'CUSTOMER'
    SP2-0640: Not connected
    create table 'CUSTOMER_ADDRESS'
    SP2-0640: Not connected
    create table 'ORDERS'
    SP2-0640: Not connected
    create table 'PRODUCT'
    SP2-0640: Not connected
    create primary key constraint on 'ITEMS'
    SP2-0640: Not connected
    create primary key constraint on 'ADDRESS'
    SP2-0640: Not connected
    create primary key constraint on 'CUSTOMER'
    SP2-0640: Not connected
    create primary key constraint on 'ORDERS'
    SP2-0640: Not connected
    create primary key constraint on 'PRODUCT'
    SP2-0640: Not connected
    create foreign key constraint on 'ITEMS'
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    create foreign key constraint on 'ORDERS'
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    SP2-0640: Not connected
    What OBJECTS were created?
    SP2-0734: unknown command beginning ",object_na..." - rest of line ignored.
    SP2-0734: unknown command beginning "from       user..." - rest of line ignored.
    SP2-0734: unknown command beginning "order by 1..." - rest of line ignored.
    Are there any INVALID OBJECTS?
    SP2-0734: unknown command beginning ",object_na..." - rest of line ignored.
    SP2-0734: unknown command beginning "from       user..." - rest of line ignored.
    SP2-0734: unknown command beginning "where      sta..." - rest of line ignored.

    Hi
    I almost resolved the issue but i do not know whether it is a correct path that i used or not.
    i have made some changes in build.sql as follow :
    -i changed the schema name to HR , and its pass to HR_PASS
    -i comment schema creation command
    now it successfully executed.
    but i can not understand what was the problem.
    Thanks

  • Can't access tables in other Oracle database schemas

    Hi. We got our Oracle database admin to install APEX in our Oracle database. She created a login and schema for my Oracle database user so that I could work with APEX a little. Here's the information on the version of APEX we have installed:
    Database Version Information
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    PL/SQL Release 11.2.0.2.0 - Production
    CORE 11.2.0.2.0 Production
    TNS for IBM/AIX RISC System/6000: Version 11.2.0.2.0 - Production
    NLSRTL Version 11.2.0.2.0 - Production
    I've found that my user is only able to access Oracle tables within my own Oracle database schema. Most of our main tables are in 3 other schemas and I'd need access to all tables in all these schemas. Right now whenever I encounter a drop list of values for Schema, only by own schema is available in the list of values.
    Is there something our Admin can do to make these tables in other schemas available to my user account?

    Sharpe,
    This documentation should point you in the right direction. It will show you how to add multiple schemas to a workspace.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21678/adm_mg_wrkspc.htm#CHDBDCCJ
    Cheers,
    Tyson Jouglet

Maybe you are looking for

  • LOOKING FOR AN APP THAT WILL ALLOW ME TO READ A PDF DOCUMENT OFF LINE

    My itouch has 8 Gb of RAM and I am looking for an app that will allow me to store a PDF document in memory and read it off line as there are times when I do not have access to WiFi. I can email myself the document but I am off line, I don't think tha

  • How to access SSRS in cloud remotely over internet

    How to access SSRS in cloud remotely over internet. How authentication and authorization of reports based on user roles can be managed over internet. Thanks in advance for your help. Bala

  • Re: forte-users-digest V1 #89

    forte-users-digest Tuesday, 8 October 1996 Volume 01 : Number 089 From: Alexander Ananiev <[email protected]> Date: Tue, 08 Oct 1996 16:36:14 -0500 Subject: "Single DBSession" approach The standard Forte approach for the database access assumes that o

  • Flash Player 11.7.700.169 and Youtube videos viewing problem

    I have just updated to the latest version of Flash Player 11.7.700.169 I cannot view many of my favorite YouTube as it ask me over and over again to update to the latest version . This is the latest version and I did it 4 times in arow. Always unable

  • Hp officejet all-in-non​e wireless 4500n

    I need help regarding my HP all-in-one wireless printer 4500n. It was installed a few years back and for a long time I had no problems. Now, whether it is from my android phone, laptop, or desktop, the printer and sending device do not communicate. A