Triggering Sequence

Hi friends
Please tell me the firing sequence of trigger,
becoz i can't able to use the correct sequencing of trigger,
which will fire first PREUPDATE TRIGGER OR WHEN NEW RECORD INSTANCE,
since is using this trigger in forms customization, when i query the forms in apps
i confuse which is triggering first

This is not the correct forum for apps. You can ask your question in apps forum.
For the triggers when-new-record-instance will fire first then pre-update.
If when-new-record-instance trigger in block level and you are enter into a item then it will fire for every record but the ptr-update will fire when u will commit that time pre-update will fire if there are any changed data in the form.
Regards
SUN

Similar Messages

  • Create/Drop/Compile Table, Views, Triggers, Sequences, etc.

    Is there a way to create, drop, and compile objects on an Oracle database with the ADF library? If so, any good examples?
    Can the results be captured as well?

    Frank,
    Maybe I wasn't clear enough. The only example I saw that involved the blob column was number 85 which did not contain info for database maintance.
    I have a JClient application that reads database structures like triggers, tables, and views. I would like the user to be able to push a button and the trigger be compiled in the database. While SQL Dev probably has more features and does a better job I have added a bunch of internal stuff that would have to be manually added in SQL Dev each time a new trigger was created.
    Is there a way, when working with the current transaction(or new transaction), to issue a statement like you would in SQL*Plus "DROP TABLE EMPLOYEES;" with the results being "TABLE DROPPED"?
    thanks.

  • All triggers execution  sequence in form6i

    i have one issue in form6i.
    can you tell me all trigger execution sequence in form6i?

    You can create your own form with simple master detail blocks and with all the triggers (form level, Block level and item level) and add coding to show message.
    then when you run u can find the triggerring sequence.
    For example in
    pre-form (message('pre-form'));
    post-form (message('post-form'));
    pre-query(message('pre-query'));
    post-query(message('post-query'));

  • JDeveloper 10g Creating a new record with trigger sequence primary key

    Hi there, I'm sorry to post this incredibly simple question and I'm sure that someone must have answered this on this forum before but the searching of this site is incredible slow and painful and after 30 mins I can't find help.
    I am using a struts Data Action to create a new record in the database and then being forwarded to an edit page where I can enter the new details. Then when the details are entered I am clicking an update button and returning to a browse screen where I can either commit the change to the database or rollback. Sounds pretty simple but I am really struggling with trying to get the trigger of the number sequence to work properly.
    Ideally I would like to click the create new record button and then the primary key/triggered sequence number is already displayed on the empty form...
    ... but if this is too tricky or not possible then I would like the user to either not enter any value in the key field (which currently causes error - JBO-27014: Attribute PoNo in PO_SYS_MODULE.PoSystemView1 is required) OR the user enters a number and the trigger overwrites this number with the next in the sequence.
    I can enter a new record if I look in the manager console and see the next number in the sequence and then create the record using this number and then click commit twice, as the first time I get the error: JBO-25019: Entity row of key oracle.jbo.Key[154 ] not found in PoSystem. Or if I enter a value 5 times greater than the next in the sequence I have to click the commit button 5 extra times to get the sequence to match the input.
    I hope that this lengthy explanation fills you in on my problem, there must be a simple solution to this and I will be VERY grateful to anyone who can help me.
    Many thanks
    Ben Sayers (clearly a newbie)

    Hi,
    ADF Business Components handles this for you - unless yo prefer doing this manually. In the Entity Object, set the PK attribute's type to DBSequence. Then create a database sequence and use a database trigger to add the sequence value on insert
    Frank

  • How to dump your database including other objects like views, sequence,etc

    hi.
    is it possible to generate a sql file that contains your database structure including the values in it and other objects. I have tried generating just the tables and that's the only way I know to dump a database using jdeveloper. but is there a way to generate a sql file with your db structure and also other objects like views, triggers, sequences and etc.
    thanks.. :D

    You may need to use utility(which may come with your DB) for creating DB dump

  • How to get JDev 10.1.2/ADF working with MS SQL Server Identity Column

    Hello JDevTeam & JDevelopers,
    I want to use JDev/ADF with a MS SQL Server 2005 database that contains tables employing IDENTITY Columns.
    Using JDev/ADF and DBSequence with an Oracle database employing before triggers/sequences accomplishes what I am trying to do except I want to accomplish the same thing using a MSSQL Server 2005 database. Unfortunately I cannot change the database.
    I have been able to select records but I am unable to insert records (due to my lack of knowledge) when using MS/SQL Server Identity Columns with JDev/ADF.
    The following are the steps taken thus far.
    Step1: Create table named test in the 2005 MSSQL Server (see script below).
    Step2: Register 3rd Party JDBC Driver with JDeveloper; Using use Tools/Manage Libraries. Create a new entry in User Libraries with the following;
         Library Name     = Ms2005Jdbc
         Class Path     = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu\sqljdbc.jar
         (note: Latest TYPE 4 JDBC driver for Microsoft SQL Server 2005 - free at http://msdn.microsoft.com/data/ref/jdbc/)
    Step3:Create New Database Connection;
         Connection Name = testconn1
         Type = Third Party JDBC Driver
         Authentication Username = sa, Password = password, Check Deploy Password
         Connection
              Driver Class = com.microsoft.sqlserver.jdbc.SQLServerDriver     
              Library = Ms2005Jdbc     
              Classpath = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu
              URL = jdbc:sqlserver://192.168.1.151:1433;instanceName=sqlexpress;databaseName=test
         Test Connection = Success!
    Step5: Create a new application workspace using Web Application default template
    Step6: In Model project, Create new Business Components Diagram.
    Step7: Create new Entity Object. Goto to connections/testconn1, open tables and drag table test onto the diagram.
    Step8: Generate Default Data Model Components by right-clicking on Entity Object. Except all the defaults.
    When I test the Appmodule I select the view object and can scroll through all the records without error. If I try to insert a record, I get JBO-27014: Attribute testid in test is required.
    Going back to the EntityObject I deselect the Mandatory attribute and re-run the test. Now when I try to insert it accepts the value for testname but it does not update the PK testid like it would using an "JDev/ADF/DBSequence/Oracle database/before trigger/sequence" solution.
    Going back to the EntityObject and selecting refresh on insert does not solve this problem either. Changing the URL connection string and adding "SelectMethod=cursor" did not help and changing the SQl Flavor to SQLServer produced errors in the Business Components Browser. I've tried overriding isAttributeChanged() and other things as well.
    I am totally stuck! Can anyone provide a solution?
    Thanks for you help,
    BG...
    Create table named test
    use [testdb]
    go
    set ansi_nulls on
    go
    set quoted_identifier on
    go
    create table [test](
         [testid] [int] identity(0,1) not null,
         [testname] [nvarchar](50) collate sql_latin1_general_cp1_ci_as not null,
    constraint [pk_test] primary key nonclustered
         [testid] asc
    )with (pad_index = off, ignore_dup_key = off) on [primary]
    ) on [primary]

    Figured it out!
    When using the MS SQL Server 2000 Database with the MS JDBC 2000 Driver you specify the SQL Flavor to SQLServer. However setting the SQL Flavor to SQLServer with MS SQL Server 2005 Database and the MS JDBC 2005 Driver will *** fail ***.
    When working with the MS SQL Server 2005 Database and the MS JDBC 2005 Driver you set the SQL Flavor to SQL92 and the Type Map to Java.
    If using a named instance like I am you would specify the URL = jdbc:sqlserver://<db host ip address>:<listening port>;instanceName=<your instance name>;selectMethod=cursor;databaseName=<your database name> (note: leave out the < >)
    The 2005 Driver Class is different then the 2000 and is specified as com.microsoft.sqlserver.jdbc.SQLServerDriver
    Note: In a default MS SQL Server 2005 installation the listening port will change *** everytime *** the host is restarted! You can override this though.
    For the primary key you need to deselect the Mandatory attribute in the EntityObject editor.
    Set Refresh on insert/update = no.
    Set Updateable = never.
    Now my Primary Keys which get their values from the Identity Column are working with ADF in a predictable way.
    Simple enough but I have been away from this stuff for awhile.
    BG...

  • View for "create directory"

    Hi
    Is there a dictonary view where i can find all the "virtual directory" which are created with the "create directory" command ??
    Thanks.

    ah.. :)
    So I should add, that in general those view names are "plurals" (ending with an S), e.g. dba | all | user _ objects, tables, tab_columns, indexes, synonyms, triggers, sequences, users, and so on.
    (And the v$ dynamic/stats view names are often in singular, like v$metric, process, session, datafile, tablespace - but this "rule" seem to be deteriorating with new views added).

  • AirPlay no longer working reliably on Snow Leopard

    I'm on Mac OS X 10.6.8 with latest patches installed, including iTunes 10.6.3. Mac Mini with 8GB RAM. All components connected to home network via wired Ethernet (no wifi involved). Components use fixed IP addresses.
    I've been using AirPlay with my AVR very reliably for couple months to play music using Home Sharing. I have also ATV as well as AE, which I've used for whole home audio setup. It's awesome and I've been very happy with this setup.
    I've had the system unplugged from about middle of April 2012, and replugged in the middle of July. No changed components, and with no hardware changes in the home network. Since then however, AirPlay no longer works reliably.
    The symtoms are as follows:
    1. I start iTunes, get the AirPlay icon, select the AVR destination, playback works fine
    2. On the AVR, I switch to another audio input (like ATV, or PS3), which obviously makes iTunes to stop playing the music
    3. From this moment on, iTunes is no longer able to play music to _any_ of the AirPlay destinations, i.e. not to AVR, not to ATV and neither to AE - if I hit Play button in iTunes, no error is displayed, just the song position in iTunes doesn't advance, and no sounds comes out of the remote speakers; if I switch to local (computer) speakers, it works
    If I Quit iTunes and start it again, it again works, until AVR source switch. For sure, this makes for mighty hassle to the extend it's barely usable at all.
    The problem can be triggered any time, happens always - there is no difference, if the triggering sequence is run after several minutes or after several hours of playback.
    I've tried several obvious steps to fix this, but none has made any difference:
    1. before switching audio source on AVR, stopped iTunes playback, either directly in iTunes or via Remote app
    2. networksetup -setv6off hint from forums, for WiFi and Ethernet
    3. tried downgrade of iTunes to 10.6.1 via Time Machine
    4. switched off firewall on Mac Mini
    5. connected Mac Mini with the AVR directly via known working cable (ruling out switches and any cable faults in between), also tried to connect them to the same network switch
    I've also tried to run tcpdump on the ethernet interface when the iTunes is in the non-working state, and indeed there is no network traffic between mac mini and the AVR. Apparently iTunes doesn't even attempt to send the data to the AirPlay device. I see that there are several multicast packets sent by the AVR during this time, apparently some kind of Bonjour stuff.
    Any hint what might be wrong, or another idea how to fix this? Was there any known-buggy AirPlay update to Mac OS X during the period?

    Okay, so tried one more thing and found the culprit - the problem no longer appears after I switch off 'Allow iTunes audio control from remote speakers' preference in iTunes. Apparently this problem happens due to an interaction between the AVR (Denon AVR-1912) and iTunes.
    Leaving the message on forum, to help people with similar problem.

  • What's the easiest way to move app data and data structures to a server?

    Hi guys,
    I've been developing my app locally with Apex 4.2 and Oracle 11g XE on Windows 7. It's getting close to the time to move the app to an Oracle Apex server. I imagine Export/Import is the way to move the app. But what about the app tables and data (those tables/data like "customer" and "account" created specifically for the app)? I've been using a data modeling tool, so I can run a DDL script to create the data structures on the server. What is the easiest way to move the app data to the server? Is there a way to move both structures and data in one process?
    Thanks,
    Kim

    There's probably another way to get here, but, in SQL Developer, on the tree navigation, expand the objects down to your table, right click, then click EXPORT.. there you will see all the options. This is a tedious process and it sucks IMO, but yeah, it works. It sucks mostly because 1) it's one table at a time, 2) if your data model is robust and has constraints, and sequences and triggers, then you'll have to disable them all for the insert, and hope that you can re-enable constraints, etc without a glitch (good luck, unless you have only a handful of tables)
    I prefer using the oracle command line EXP to export an entire schema, then on the target server I use IMP to import the schema. That way, it's near exact. This makes life messy if you develop more than one application in a single schema, and I've felt that pain -- however -- it's a whole lot easier to drop tables and other objects than it is to create them! (thus, even if the process of EXP/IMP moved more than you wanted to "move".. just blow away what you don't want on the target after the fact..)
    You could use oracle's datapump method too.
    Alternatively, what can be done, IF you have access to both servers from your SQL developer instance (or if you can tnsping them both already from the command line, you can use SQL*PLUS), is run a script that will identify your apex apps' objects (usually by prefix to object names, like EBA_PROJ_%, etc) and do all the manual work for you. I've created a script that does exactly this so that I can move data from dev to prod servers over a dblink. It's tricky because of the order that must be executed to disable constraints and then re-enable them, and of course, trickier if you don't consistently prefix ALL of your "application objects"... (tables, views, triggers, sequences, functions, procs, indexes, etc)

  • Database import errors

    Hello everyone!
    I have some problems with importing a database, I can't find the answer so I turn to you people.
    I've tried to import to an empty database (with the necessary tables of course) but that gave more errors, so I created the important schemes and tables with the sqls from the original database.
    The original database is working, everything is in there so I don't really understand the "not found" or "does not exists" errors, because I think Oracle is supposed to do the import in such a way, that the connections between objects doesn't get lost, so the database is built up from the bottom.
    The machine I export the data from:
    CentOS 5.5
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    NLS_CHARACTERSET EE8MSWIN1250
    nls_length_semantics string BYTE
    The machine I try to import data:
    Red Hat Enterprise Linux Server release 5.6 (Tikanga)
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    NLS_CHARACTERSET AL32UTF8
    nls_length_semantics string CHAR
    (Before you ask, we are Platinum Partners that is why we have Enterprise Edition, we can use it but we don't have support)
    The export command: expdp system/password full=y directory=dmpdir dumpfile=export.dmp logfile=export.log
    Job "SYSTEM"."SYS_EXPORT_FULL_01" completed successfully at: 14:46:34
    The import command: impdp system/password full=y directory=dmpdir table_exists_action=append dumpfile=export.dmp logfile=import_db.log
    Job "SYSTEM"."SYS_IMPORT_FULL_01" completed with 999 error(s) at 15:55:46
    The errors I don't understand:
    ORA-39083: Object type JOB failed to create with error:
    ORA-00001: unique constraint (SYS.I_JOB_JOB) violated
    ORA-31693: Table data object "SYSMAN"."MGMT_JOB_PURGE_POLICIES" failed to load/unload and is being skipped due to error:
    ORA-00001: unique constraint (SYSMAN.PK_MGMT_JOB_PURGE_POL) violated
    ORA-31693: Table data object "SYSMAN"."MGMT_JOB_SINGLE_TARGET_TYPES" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    ORA-31693: Table data object "SYSMAN"."MGMT_CREDENTIALS2" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-28239: no key provided
    ORA-31693: Table data object "SYSMAN"."MGMT_HC_VENDOR_SW_COMPONENTS" failed to load/unload and is being skipped due to error:
    ORA-29913: error in executing ODCIEXTTABLEFETCH callout
    ORA-02291: integrity constraint (SYSMAN.VNC_VND_FK) violated - parent key not found
    KUP-11007: conversion error loading table "SCHAME_NAME"."TABLE_NAME"
    ORA-12899: value too large for column COLUMN_NAME (actual: 3767, maximum: 4000)
    KUP-11009: data for row: COLUMN_NAME: 0X'4146414245484E41507C4146414245484E41507CC166616265'
    And many objects are missing, triggers, sequences, indexes. Much more than the number of errors in the import_db.log.
    I hope someone can help me.
    Thank you in advance,
    Adam
    Edited by: 925120 on Apr 3, 2012 1:55 AM
    Edited by: 925120 on Apr 3, 2012 2:07 AM

    Hi, and welcome to OTN!
    Firstly, try to create the new database with the same character set and nls_length_semantics,
    The machine I export the data from:
    CentOS 5.5
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production
    NLS_CHARACTERSET EE8MSWIN1250
    nls_length_semantics string BYTE
    The machine I try to import data:
    Red Hat Enterprise Linux Server release 5.6 (Tikanga)
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    NLS_CHARACTERSET AL32UTF8
    nls_length_semantics string CHARThis could be responsible for the error:
    KUP-11007: conversion error loading table "SCHAME_NAME"."TABLE_NAME"
    ORA-12899: value too large for column COLUMN_NAME (actual: 3767, maximum: 4000)Secondly, I often find it better to not do a full export/import when moving between databases, and especially when moving between different database versions. The importing database have a (almost) fully populated sys and sysman-schema, and the full import is trying to add stuff to those schemas, causing all kind of violations.
    So, could you try to either export only the schemas that you're interested in (the user schemas), or just import these from the full export, and post the results?
    HtH
    Johan
    BTW, here's more info on expdp/impdp: http://www.orafaq.com/wiki/Data_Pump

  • Master-Detail Form - implementing some thing like Post-Query trigger

    Hi all,
    I am struggling to implement an eqivalent of a post-query trigger in Oracle Forms. Please bear with me as I am trying to explain in detail what the problem is.
    Here is my situation.
    I have three tables EMP, DEPT and LOCATION. I created a Master/Table pages on EMP and DEPT.
    Basic relationships.
    Each LOCATION has one or more DEPTs; Each DEPT is at one and only one LOCATION.
    Each DEPT has one ore more EMPs; Each EMP is assigned to only and only DEPT.
    Not getting too complicated, here are the table layouts:
    LOCATION:
    ID number(10,0) not null,
    NAME varchar2(20) not null
    DEPT
    ID number(10,0) not null,
    NAME varchar2(20) not null,
    LOC_ID number (10,0) not null foreign key from LOCATION
    EMP
    ID number(10,0) not null,
    NAME varchar2(20) not null,
    DEPT_ID number (10,0) not null foreign key from DEPT
    Assume I have all the constraints, BIU triggers, sequences defined properly.
    I am using the APEX page wizard to create a Master/Detail Form on DEPT and EMP. The first page is the Master Report on DEPT. I want to display the Location Name on this page also. Because the Master Report allows
    you to change the query, I was able to add the Location Name as part of the
    query. This was very simple.
    Select a.name "Department_Name",
    b.name "Location"
    from dept a, location b
    where a.loc_id = b.id
    Moving on, In the Master Detail Form, I would like to get the Location Name as part of the first Region (Dept Region).
    In this region, I would like to include the Location Name also. So my first region on the Master Detail form includes:
    Dept Id: ________
    Dept Name: _______
    Location Name: __________
    As Region are automatically populated using using a Fetch Row from EMP table (Automated Row Fetch) on an After Header process point, I don't have a way of including the Location as part of query. So I created a Region level Item called Location Name, made it Display only.
    In the old SQL*Forms, or Oracle Forms days, I used to use a Post-Query trigger, or Post-Change trigger to fire on the Loc_Id column to populate the Location Name. Simple fetch like:
    Select name
    into :P80_location_name
    from location
    where loc_id = :P80_loc_id
    However, I am struggling to implement some thing simple like this in APEX. Tried creating a processes, computatations etc, but nothing is working.
    I have seen some previous responses to fetching values from a foreign table
    using a button or AJAX script, but this should be very basic. What am I
    missing here?
    Appreciate any insights.
    Thanks.
    John

    Hi John,
    I'm not too familiar with the post-query triggers in Oracle Forms, but the use of a List of Values (LOV) on your LOCATION table might do the trick for you. If you create a dynamic LOV based on your LOCATIONS table, it can then be referenced by the LOC_ID item on the Master-Detail page, to display the Location Name. You could try doing the following:
    1. Create a new dynamic LOV, LOCATIONS, using a query similar to the following:
    select Name d, ID r
    from LOCATION
    order by 1
    2. Edit the "Create" button on the Master report page, and in the "Optional URL Redirect" section set "Request" to CREATE. Click Apply Changes, to save the setting.
    3. Edit the LOC_ID item on your Master-Detail page, and set the following:
    * in the "Name" region change the "Display As" setting to Select List
    * in the "Label" region change the Label to Location Name.
    * in the "List of Values" region set the "Named LOV" to LOCATIONS
    * in the "Read Only" section, set the condition to Request != Expression 1, and set Expression 1 to CREATE.
    Click Apply Changes to save the settings.
    When you run the pages now, the Location Name field will appear as Read-Only when editing a selected Master row. The item will appear as a Select List when the user clicks "Create" on the Master page, to create a new Master row.
    I hope this helps.
    Regards,
    Hilary

  • Getting images to show in Apex that are stored in the DB

    I'm trying to get an image to show in html code or javascript that I store in the DB. It shows in an IR but I can't get it to show in a html <img> tag.
    My DB is an oracle XE 11 DB and I'm using Apex 4.
    This is my table:
    CREATE TABLE "MAP_IMG_POS"
    (     "ID" NUMBER(10,0),
         "ID_MAP_IMAGE" NUMBER(10,0),
         "ID_POSITION" NUMBER(10,0),
    "ID_SERVER" NUMBER(10,0),
         "CREATION_USER" VARCHAR2(255),
         "CREATION_DATE" DATE,
         "MODIFICATION_USER" VARCHAR2(255),
         "MODIFICATION_DATE" DATE);
    I added PK, triggers, sequence etc
    I insert the images using an Apex form.
    I found this procedure to get the images:
    create or replace
    PROCEDURE my_image_display(p_image_id IN NUMBER)
    AS
    l_mime VARCHAR2 (255);
    l_length NUMBER;
    l_file_name VARCHAR2 (2000);
    lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, IMAGE, DBMS_LOB.getlength (image)
    INTO l_mime, lob_loc, l_length
    FROM map_images
    WHERE id = p_image_id;
    OWA_UTIL.mime_header (NVL (l_mime, 'application/octet'), FALSE);
    HTP.p ('Content-length: ' || l_length);
    OWA_UTIL.http_header_close;
    WPG_DOCLOAD.download_file (lob_loc);
    END my_image_display;
    and put it in my schema.
    I gave the following grants in my Shema:
    GRANT EXECUTE ON schema1.my_image_display TO PUBLIC;
    CREATE PUBLIC SYNONYM my_image_display FOR schema1.my_image_display;
    I created a html region and added the following code:
    <img src="#OWNER#.my_image_display?p_image_id=2"/>
    2 ofc being the id of one of the images.
    Yet when I load the page the image won't show. I do get a little icon when I right click it and check the code I just see:
    http://127.0.0.1:8080/apex/SCHEMA1.my_image_display?p_image_id=2
    Any ideas what I'm doing wrong? I'm also open for suggestions on other ways to do this..
    I appreciate all the help!

    After a long search and much much reading..
    Re: HTP.Print not working
    This finally helped me ;-)

  • CRM reports other than Interactive reports

    HI,
          In my projects we have lot of custom fields developed in BP, Lead and Opportunity. The client needs a report based on the cutom fields. When we tried to creat new reports through interactive report we can find one reports for lead and opportunity that to only the standard fields are available.
       how to create a report for custome fields. I am not able to create the DashBoard reports also. Can any one sent the settings for DashBoard.
    With regards,
    Selvam T

    Hi John,
    1) How do I include triggers, sequences, etc in the report? We are exporting this to document the data model and it is not complete.
    3) Could the report include a linked table of contents as part of the report?Well, at this stage reports are static. You can't change them.
    2) When I open the exported Microsoft XML document in Word 2007, it reports that the file contains formatting items that are not supported in the current version. I would suggest this be updated or perhaps converted to OpenDocument format to be more standardized.This suggestion will be considered, although you shouldn't have problems opening files with MSWord 2003 and above. Does Word say exactly what it doesn't like ? That's strange.
    Thanks.

  • Error in Migration from SQL Server to Oracle latest version

    I am following the steps in the notes
    http://www.oracle.com/technology/tech/migration/workbench/files/omwb_getstarted.html#capt
    I was doing great (connected and captured SQL Server db and Oracle etc) till I ran the Generation Script which is giving me errors since I do not have DBO/admin permissions to create users.
    I wish to create the database within an existing user's database schema - that is in my schema since I do not have privileges to create users.
    What lines do I change in the script to make this happen.
    PLEASE HELP

    You should remove the create user ..., grant ... and connect ... statements from the script. All you should keep are the DDLs for creating the objects: tables, views, triggers, sequences, SPs ...
    But why don't you download Oracle Database Express Edition (http://www.oracle.com/technology/software/products/database/xe/index.html) and play with it. You can install it easily on your machine and then you can create as many users/schemas as you want as you are the DBA :).

  • Reports: Other Than Tables, Format Issue, Content

    Hi,
    I am using Data Modeler 3.0 which I downloaded the other day. I have used the reports function to generate a document that shows table information. This has worked ok for tables but I had a few questions / suggestions:
    1) How do I include triggers, sequences, etc in the report? We are exporting this to document the data model and it is not complete.
    2) When I open the exported Microsoft XML document in Word 2007, it reports that the file contains formatting items that are not supported in the current version. I would suggest this be updated or perhaps converted to OpenDocument format to be more standardized.
    3) Could the report include a linked table of contents as part of the report?
    Thanks,
    John

    Hi John,
    1) How do I include triggers, sequences, etc in the report? We are exporting this to document the data model and it is not complete.
    3) Could the report include a linked table of contents as part of the report?Well, at this stage reports are static. You can't change them.
    2) When I open the exported Microsoft XML document in Word 2007, it reports that the file contains formatting items that are not supported in the current version. I would suggest this be updated or perhaps converted to OpenDocument format to be more standardized.This suggestion will be considered, although you shouldn't have problems opening files with MSWord 2003 and above. Does Word say exactly what it doesn't like ? That's strange.
    Thanks.

Maybe you are looking for