Help on DML Triggers On Schema

All,
We are in the process of implementing audit table for specific schemas:(user1 120 tables)
I was successfully able to create DDL Triggers on the Schema with ----- DDL ON SCHEMA
but for tracking DML operations on each table by different users in user1 schema... do i need to create individual trigger for each table...
BEFORE INSERT OR UPDATE OR DELETE ON <TABLE_NAME>
is this the only way...
Any Ideas?
Regards,
~Ora

Hi,
as you said in your first post, for DDL operations you can use SCHEMA a level trigger, but for DLM operations you will have to stick with one trigger per Table.
Here is some piece of code to generate the triggers for you.
drop type line_tt;
create or replace type line_t as object (x varchar2(4000));
create or replace type line_tt as table of line_t;
create or replace function generate_audit_triggers return line_tt pipelined
is
       cursor my_tables is
              select user as owner, table_name from user_tables where temporary = 'N';
       cursor my_table_cols(tablename in varchar2) is
              select column_name from user_tab_columns where table_name = tablename order by column_name;
       sqlstatement varchar2(4000);      
       wherestatement varchar2(4000);
begin
     for r_table in my_tables loop
         -- generate code for insert trigger
         pipe row(line_t('create or replace trigger ' || r_table.owner || '.' || substr('SPYI_' || r_table.table_name, 1, 30)));
         pipe row(line_t('before insert on ' || r_table.owner || '.' || r_table.table_name));
         pipe row(line_t('for each row'));
         pipe row(line_t('begin'));
         pipe row(line_t('insert into AUDIT_DATA(sqlstatement) values('));
         sqlstatement := '''insert into ' || r_table.owner || '.' || r_table.table_name || '(';
         for r_column in my_table_cols(r_table.table_name) loop
             sqlstatement := sqlstatement || r_column.column_name;
             sqlstatement := sqlstatement || ',';
         end loop;
         sqlstatement := substr(sqlstatement, 1, length(sqlstatement) - 1);
         sqlstatement := sqlstatement || ') values ('''''' || ';
         for r_column in my_table_cols(r_table.table_name) loop
             sqlstatement := sqlstatement || ':new.' || r_column.column_name;
             sqlstatement := sqlstatement || ' || '''''','''''' || ';
         end loop;
         sqlstatement := substr(sqlstatement, 1, length(sqlstatement) - 10);
         sqlstatement := sqlstatement || ''''');''';
         pipe row(line_t(sqlstatement));
         pipe row(line_t(');'));
         pipe row(line_t('end;'));
         pipe row(line_t('/'));
         -- generate code for update trigger
         pipe row(line_t('create or replace trigger ' || r_table.owner || '.' || substr('SPYU_' || r_table.table_name, 1, 30)));
         pipe row(line_t('before update on ' || r_table.owner || '.' || r_table.table_name));
         pipe row(line_t('for each row'));
         pipe row(line_t('begin'));
         sqlstatement := 'if (';
         for r_column in my_table_cols(r_table.table_name) loop
             sqlstatement := sqlstatement || '''a''|| ' || ':old.' || r_column.column_name || ' <> ''a''|| :new.' || r_column.column_name || ' or ';
         end loop;
         sqlstatement := substr(sqlstatement, 1, length(sqlstatement) - 4);
         sqlstatement := sqlstatement || ') then';
         pipe row(line_t(sqlstatement));
         pipe row(line_t('insert into AUDIT_DATA(sqlstatement) values('));
         sqlstatement := '''update ' || r_table.owner || '.' || r_table.table_name || ' set ';           
         wherestatement := ' where ';
         for r_column in my_table_cols(r_table.table_name) loop
             sqlstatement := sqlstatement || r_column.column_name || '=''''' || ''' || :new.' || r_column.column_name || ' || '''''',';
             wherestatement := wherestatement || '''''a''''||' || r_column.column_name || '=''''a''''||''''' || ''' || :old.' || r_column.column_name || ' || '''''' and ';
         end loop;
         sqlstatement := substr(sqlstatement, 1, length(sqlstatement) - 1);
         wherestatement := substr(wherestatement, 1, length(wherestatement) - 5);
         sqlstatement := sqlstatement || wherestatement || ';''';
         pipe row(line_t(sqlstatement));
         pipe row(line_t(');'));
         pipe row(line_t('end if;'));
         pipe row(line_t('end;'));
         pipe row(line_t('/'));
     end loop;
end;
show err
drop table audit_data;
create table audit_data (
       sqlstatement varchar2(4000)
spool tmp.sql
set head off
set linesize 500
set echo off
select x from table(generate_audit_triggers);
spool offHope this helps,
Francois

Similar Messages

  • Dml triggers behaviour on secondary replica

    Quick Q: Say on primary replica database has DML triggers on tables which again writes to other tables (writes to audit log history table) when a DML action is performed on principle table - what is the behavior on secondary replica db? 
    Mahesh

    I understand that part on primary replica and transaction log, but what's the behavior of triggers on secondary replica - are they triggered or disabled?
    They aren't triggered, replaying the log doesn't cause anything such as that to happen. There is nothing to cause them to fire, it's not redoing the statement used, it's just redoing the log. Individual statements are not captured by the log, just the changes
    are reflected.
    -Sean
    The views, opinions, and posts do not reflect those of my company and are solely my own. No warranty, service, or results are expressed or implied.

  • Search help is not triggering second time in interactive form

    Hi,
    I have online interactive form in WDABAP. And I have few search helps in the form, If i click on any search help it is opening and I can select the value and the same is populated to the field. But if i click it again search help is not opening.
    Only one time it is triggering and also after I clicked one serach help, other search helps also dont work.
    Can some one guide me? Is it something to do with scripting or any other configuration?
    Now Im using ALD7.1 and Reader version is 8.1.0.
    did any one faced this problem? Really appreciate if some one can help me on this.
    Regards,
    Ravi

    hi,
    The following code is generated in the preopen event of the valuehelp.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 710.20061129084151.349066.349066 - ValueHelpDropDown.xfo
                       var processingValueHelp = ContainerFoundation_JS.getGlobalValue(event.target, "processingValueHelp");
                       if(processingValueHelp == false) {
                           ContainerFoundation_JS.setGlobalValue(event.target, "processingValueHelp", true);
                           this.rawValue = "";
                           this.clearItems();
                           ContainerFoundation_JS.SendMessageToContainer(event.target,
                                                                         "valueHelp",
                                                                         this.dataNode.somExpression.replace(/(xfa.?\.)(datasets.?\.)(data.*?\.)/, ""),
                                                                         this.rawValue,
                                                                         event.target.mouseX,
                                                                      event.target.mouseY);
                       // END OF DO NOT MODIFY
    I have tried placing this code in click event instead of preopen.But still no use. Can we make changes to this code? Can some one give me some idea what changes need to be done..
    Regards,
    Ravi

  • Urgent Help Required in Triggers

    i have a problem. i created a table total_rows which has tow columns
    1) table_name 2) num_rows. this table stores table name and their corrsponding total no of rows of a particualr schema. to create this table first i analyzed the schema using dba_stats and then queried the dba_tables to get the required data.
    now i want to write a trigger that will dynamically update the value of column num_rows based on insert and deltion that are being done against the table name present in table_name,. for examle suppose i have emp table as a value in table_name and table emp has 1000 rows. suppose 10 employees are deleted then the num_rows should show 990 and if 10 employees are inserted then it should show 1010.
    the problem is that i can write the trigger for a single table but how do i do it for all the table whose name are in table_name columns?
    please help me out. its very urgent?
    regards,
    amrit

    Set heading off;
    Set echo off;
    Set verify off;
    Spool c:\create_views.sql;
    Select 'CREATE OR REPLACE VIEW '||table_name||'_cnt_view As Select table_name, Count(*) num_rows '||
           'From all_tables'
      From all_tables;
    Spool off;
    Set verify on;
    Set echo on;
    Set heading on;

  • Help needed to find the schema/application data size

    Hi,
    Would i request you to help me to measure schema size/(APEX)application data size.
    I've 3 applications running on same schema and now i want to move one application to new server, new schema,
    Now i need to know how much space is required for this application to host on the new server, so i should find the application size and application data size in the current server, your hep is appreciated. thanks in advance.
    Regards

    Hi,
    Would i request you to help me to measure schema size/(APEX)application data size.
    I've 3 applications running on same schema and now i want to move one application to new server, new schema,
    Now i need to know how much space is required for this application to host on the new server, so i should find the application size and application data size in the current server, your hep is appreciated. thanks in advance.
    Regards

  • Help required in triggering concept for sending mails automatically

    I am developing an application in which i had to develop an Auto Responder application. For this application i need to send different mails to different customers automatically on different days. Though i got the concept of using timers and the scheduling process from some of the developers, I think it is not suitable for our application because it is a standalone program and it needs to be executed seperately. I am not much sure of this mail application using timers and scheduling concept.
    So i need a different application where i can be using triggers in database so that it runs embedded in the application.. As per my idea i will be having two variables x and y in the database. X will be a fixed value which contains the no. of days after which a mail has to be sent to the customer.Y is a counter variable which is initialised to 0 and will be incremented daily(For this i wrote a trigger). Once x and y are equal mail should be sent automatically. But the problem is that i need to monitor this application continously. I don't know how to monitor this application. Therefore i request your help in this regard and tell me whether my idea is correct. If it is correct plz tell me how to do it and if possible send me an example.
    Thank you,

    I am developing an application in which i had to develop an Auto Responder application. For this application i need to send different mails to different customers automatically on different days. Though i got the concept of using timers and the scheduling process from some of the developers, I think it is not suitable for our application because it is a standalone program and it needs to be executed seperately. I am not much sure of this mail application using timers and scheduling concept.
    So i need a different application where i can be using triggers in database so that it runs embedded in the application.. As per my idea i will be having two variables x and y in the database. X will be a fixed value which contains the no. of days after which a mail has to be sent to the customer.Y is a counter variable which is initialised to 0 and will be incremented daily(For this i wrote a trigger). Once x and y are equal mail should be sent automatically. But the problem is that i need to monitor this application continously. I don't know how to monitor this application. Therefore i request your help in this regard and tell me whether my idea is correct. If it is correct plz tell me how to do it and if possible send me an example.
    Thank you,

  • Very Urgent-Pls help*Process chain triggered automatically when transported

    Hi All,
    We have got some issue.
    We have a Process chain, started set to immediate becuase its used in meta chain.
    When ever we transport the Chain, its getting triggerred in the Target Client automatically.
    We can prevent this, by keeping the process chain starter as "Event Based". But, as its a local process chain, it must be set to Immediate.
    Please help.
    Cheers,
    Nisha

    Hi Siggi,
    Thanks for this reply.
    Scheduling the Local chain to run in future and then changing it after import, i think, is a work around.
    Iam sure, there must be some thing to stop this trigger.
    And, We have tried Changing the Chains to run Via Meta chain, but, the problem is after the Transport, the local chain can't be triggered on its own using "immediatly". If we try to change it, it'll prompt for a Transport.
    Please help.
    Cheers,
    Nisha

  • Help with Port Triggering

    Okay, I have look around for many guide but I can't seem to get the port trigginger to work my Wireless N Router. I have 2 xbox 360s in the house so I'm not able to use port forwarding. I've tried to do port triggering on my own but every guide is to a none verizion type router. Nothing in the guides match the interface I'm giving with. I dont' know what I'm suppose to do. Please, does anyone know how to port trigger for the xbox live with a verizon router?

    http://www.pcwintech.com/port-triggering-actiontec-mi424-wr-verizon-firmware
    Step 1.
    Open your favorite web browser and input your routers ip address in the address bar.
    Please note that you must have the http:// in order to connect to your router/modem properly.
    Need help finding you router IP address? Click here
    Step 2.
    Enter your username and password and click 'OK'
    Click To View Full Picture
    If you don't know it you can check our list of default router and modem password list here.
    If you have changed it and don't remember it you may have to reset your device to factory default using the reset button on most routers.
    Step 3.
    Once logged into your router click on "Firewall Settings"
    Set the firewall to 'Minimum Security' to allow Inbound connections.
    Now Click 'Apply'
    When the page is done reloading click on 'Port Triggering'
    Click To View Full Picture
    Step 4.
    Click 'Add'
    Click To View Full Picture
    Step 5.
    For 'Outgoing Trigger Ports' click on 'New Trigger Ports'
    Click To View Full Picture
    Step 6.
    For 'Protocol' choose your protocol, normally TCP or UDP.
    For 'Source Ports' choose 'Any'
    For 'Destination Ports' Choose either 'Range' or 'Single' then enter the ports to be used as the trigger.
    Example: 2100 or 2100 - 2105
    Click 'Apply'
    Click To View Full Picture
    Step 7.
    For 'Incoming Ports to Open' click on 'New Opened Ports'
    Click To View Full Picture
    Step 8.
    For 'Protocol' choose your protocol, normally TCP or UDP.
    For 'Source Ports' choose 'Any'
    For 'Destination Ports' Choose either 'Range' or 'Single' then enter the ports to be forwared.
    Example: 2100 or 2100 - 2105
    Click 'Apply'
    Click To View Full Picture
    Step 9.
    If you have more ports to add repeat steps 7 & 8.
    Once all ports have been added give the service a name.
    For 'Service Name' give your entry a unique name.
    Now click 'Apply'
    Click To View Full Picture
    All done!

  • Help defining a complexType in schema

    Hi
    I am hoping someone can help me out. I have a number of attributes in an xml file which contain different structures based on whether it has a single of multiple value.
    As an example, one of these elements refers to optical filters. If it is single valued, the xml will look like <filter>I</filter> while if it has multiple values, the xml looks like <filter>
      <value>I</value>
      <value>J</value>
      <value>K</value>
    </filter>The closest I have been able to come up with in validation to handle this is<xsd:element name="filter" type="filterType"/>
    <xsd:complexType name="filterType" mixed="true">
      <xsd:complexContent>
        <xsd:restriction base="xsd:anyType">
          <xsd:choice>
            <xsd:element name="value" type="FilterList"
                         minOccurs="0" maxOccurs="unbounded"/>
          </xsd:choice>
        </xsd:restriction>
      </xsd:complexContent>
    </xsd:complexType>
    <xsd:simpleType name="FilterList">
      <xsd:restriction base="xsd:string">
        <xsd:enumeration value="I"/>
        <xsd:enumeration value="J"/>
        <xsd:enumeration value="K"/>
      </xsd:restriction>
    </xsd:simpleType>This will validate it fine is it is multi-valued, but because of the use of xsd:anyType it does not validate if it is single valued. I have tried making restriction in FilterType based on FilterList, but the validating parser says this is an error.
    Any suggestions on how to improve this?

    I do not know of a way to make the filter both a simpleType and complexType. In order for both of those to be valid you would have to have a schema that would define the filter as a simple and complex type. It would be much easier if a single valued filter could be valid like so:
    <filter>
       <value>I</value>
    </filter>because something like this may work ....
    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="filter">
            <xs:complexType>
            <xs:sequence>
                <xs:element name="value" minOccurs="1" maxOccurs="3">
                    <xs:simpleType>
                        <xs:restriction base="xs:string">
                            <xs:pattern value="[IJK]"/>
                        </xs:restriction>
                    </xs:simpleType>
                </xs:element>
            </xs:sequence>
            </xs:complexType>
        </xs:element>
    </xs:schema>or perhaps
    <?xml version="1.0"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
        <xs:element name="filter">
            <xs:complexType>
            <xs:sequence>
                <xs:element name="value" minOccurs="1" maxOccurs="3">
                    <xs:simpleType>
                        <xs:restriction base="xs:string">
                            <xs:enumeration value="I"/>
                            <xs:enumeration value="J"/>
                            <xs:enumeration value="K"/>
                        </xs:restriction>
                    </xs:simpleType>
                </xs:element>
            </xs:sequence>
            </xs:complexType>
        </xs:element>
    </xs:schema>but I am unable to find a way to make your example valid.

  • Help with Upgrading Workflow OWF_MGR Schema to 11G

    Hi
    We are planning to upgrade a OWB 10.1.0.3 repository (via 10.1.0.4) and also a 10GR2 repository into the same 11G repository on a new database instance.
    Both sources have their own OWF_MGR schemas.
    Can anyone please confirm if the OWF_MGR schema contains anything other than the deployed process flows and workflow logs?
    I am trying to work out if I need to migrate both OWF_MGR schemas into the new 11G OWF_MGR schema, or if I can just redeploy all the process flows after the design and control centre data has been migrated?
    The 11G installation guide has a section on migrating the Oracle Workflow schema but it is not very clear on what has to be done.
    If anyone else has migrated to 11G on another database, what steps did you take to migrate the workflows schema?
    Thanks
    GB

    Hi Dan.
    You can't upgrade to GW 2012 on SLES 9, and you can't install GW 7 on SLES 11 - quandry huh! Ultimately, here's what you need to do:
    1. Install SLES 11 on the new server.
    2. Install eDirectory and add it to the tree.
    3. Move the system to the new server
    4. Upgrade to 2012 you'll never put GW7 on it of course - just do a move/upgrade at the same time.
    5. Promote the edirectory partiton on the new server to Master.
    6. Remove eDirectory from the old server.
    7. Shut SLES 9 Down
    Hope that helps!
    Oh - by the way - you asked me about my "Moving GroupWise" book in another message. It is used to move GW, but keep the same version. The only book I have that discusses a move/upgrade in one fell swoop is actually the GroupWise 2012 Upgrade Guide for "NetWare". And while it is assuming you are moving from NetWare, your situation would be very similar. It doesn't specifically cover the eDirectory bit though.

  • Help and suggestions for color scheme for multiple flavor package design

    I need help choosing colors for a multiple flavor food product line.
    My objective in this post is to know how to create or acquire the palette I will need in order to proceed with design, mock ups, marketing collateral etc.
    This project requires a color scheme that has enough contrast and variation to represent up to 24 flavors of food packages per type or line of products. Each product flavor or flavor combination (the name of the item, such as Cherry Cocoa Almond or Apricot Vanilla Bean etc.) in the line will be represented by a single color. The product packaging will be white on solid color. The medium will be laser print on gloss label stock.
    The problem is that many flavors will use similar colors. Chocolate items will have different hues of browns and Maple or Nut flavors will also use brown tones. Likewise Orange, Apricot and Mango will use similar hues of orange etc. I know the problem could be solved with dual or multiple colors but I do not have that option for this project. All of the packaging is white on single color. There are no accent colors used.
    I need to generate the palette before designing the packaging in order to create mock ups for print and then photography for print marketing collateral and internet marketing assets etc.
    Does anyone have a good strategy for this or know of any resources available?
    I am using:
    Dell Precision T1700 (64-bit)
    Windows 7 Professional (Service Pack 1)
    Dual screens (not calibrated to Pantone or printer)
    Printer: Konica Minolta bizhub c224e
    Pantone+ Color Bridge Coated and Uncoated book
    Adobe CC, AI, PS, ID etc.
    I am printing onto gloss labels for mock ups and will be using images for web.
    I would also be interested in knowing how to calibrate these devices.
    Thanks!

    When it comes to design and design sense, sometimes just the name of the item could generate ideas.  There really is no right or wrong way to come up with concepts.  But, reaching out to other people is a good way of going about it.  In product development, I always recommend putting together some sort of focus group and brainstorm ideas back and forth.  In larger corporate product departments you would have product managers defining their product descriptions.  You might have a marketing group head get involved.  Well, I know I am not telling you anything you didn't already know.  I'm just saying that, as a designer, I always present my ideas to a few people to get feedback.  And, based on that, I can then further develope the idea or dump it and start over.  I recently was involved with a new product development and came up with some really great conceptuals.  But, then I was told by a product manager that sometimes you have to roll-out something preliminary and, in a few years of selling tons of great items, you then revamp the entire line with a tag that reads "new and improved".  This might work in your case where you have limited resources initially.  Hope you do well.  You could always post screen grabs of what you are thinking and we could give you feedback, too.  Just a thought.

  • Exporting only triggers from schema..

    I only want to export triggers from a schema and no other database objects.
    simillarly i want to only import these triggers into another schema.
    How can i do this.
    please suggest.

    one way to go: install pl/sql developer from Allroun Automations (even trial version) {i believe that outhers tools can do this, but i,ve worked with this one and i like it}.
    Then go: Tools > Export User Objects and you'll find there all the objects in your schema and you can select anything from there using CTRL or CTRL+SHIFT and then you chose and destination file for your export. By doing so, pl/sql developer will generate an sql script containning then selected objects (the definitions of these objects; if you chose a table then in the script you'll find the definition that created the table...and so on....)
    To import in another schema: connect into your outher_schema and just run the generated sql script using sqlplus for exemple.
    by

  • Need help with an extended star schema.

    I have the following data in spreadsheet form and I need to transpose this into an extended star schema in order to prdouce my characteristics and key figures, however I'm having a little trouble understanding where to include the Product Group in the star schema and also what to do with the Sales Doc (Invoice Number) in the sales information spreadsheet. 
    I need to summarise the data into the following also:
    1.     Total quantity and revenue for each Channel and product group
    2.     Total quantity and revenue for each Channel and product group (July 2009 to September 2009)
    3.      Total Quantity and Revenue for iphone sales
    So my question in short is what would the star schema look like?  I'm hoping somebody can help me over this hurdle.
    The following are the details from the spreadsheet:
    Product Details (Attributes)
    File Name:  Product_Details.csv
    Structure     FieldName     Length     Description
         ProdID     5     Uniquely identifies a product
         PG_Group     20     Identifies products in specific groups (Navigational field)
    Sample Data
    ProdID,PG_Group
    PDS01,COMPUTER
    PDS02,COMPUTER
    PDS03,COMPUTER
    PDS04,ACCESSORIES
    PDS05,ACCESSORIES
    PDS06,ACCESSORIES
    PDS07,ACCESSORIES
    PDS08,HARDWARE
    Product Description (Text)
    File Name:  Product.csv
    Structure     FieldName     Length     Description
         ProdID     5     Uniquely identifies a product
         Prod_Desc     Medium Text     Represents the product description
    (Navigational field)
         Language     2     Represents the language descriptor
    Sample Data
    ProdID,Prod_Desc,Language
    PDS01,Notebook Speedy I,EN
    PDS02,Notebook Speedy II,EN
    PDS03,PC Thinkbox I,EN
    PDS04,USB Adaptor,EN
    PDS05,iPhones PX2,EN
    PDS06, Stereo Kit,EN
    PDS07,Camera Connector,EN
    PDS08,USB Storage,EN
    Transactional Data
    Sales information
    File Name:  Sales.txt
    Structure     FieldName     Length     Description
         Product     5     Uniquely identifies a product
         Sales Doc     4     Sales Document number (Invoice Number)
         Calendar Year     8     YYYYMMDD format
         Channel     1     Represents the distribution channel the product was sold by
         Quantity     4     Numeric value indicating the number of each product sold on a specific sales document
         Unit     2     Refers the unit specified by the quantity
         Revenue     8     Refers the sales amount of a specific product on a specific sales document
         Currency     3     Relates the revenue currency type
    Sample Data
    Product;Sales Doc ,Calendar Day,Channel,Quantity,Unit;Revenue,Currency
    ZD_PROD,0DOC_NUMBER,0CALDAY,ZD_CHAN,ZD_QTY,0UNIT,ZD_REV,0CURRENCY
    PDS07,7389,20090705,A,95,EA,151905,USD
    PDS08,7389,20090705,A,115,EA,264385,USD
    PDS02,7473,20090706,B,55,EA,3580445,USD
    PDS01,7472,20090706,C,110,EA,604989,USD
    PDS02,7472,20090706,C,43,EA,2799257,USD
    PDS03,7472,20090706,C,75,EA,4507425,USD
    PDS04,7472,20090706,A,339,EA,301032,USD
    PDS06,7472,20090706,A,120,EA,47976,USD
    PDS01,7473,20090718,D,55,EA,3024945,USD
    PDS02,6845,20090806,B,30,EA,195297,USD
    PDS07,6877,20090807,C,800,EA,12792,USD
    PDS08,6877,20090807,C,250,EA,57475,USD
    PDS03,6912,20090812,C,250,EA,1502475,USD
    PDS04,6900,20090812,B,70,EA,6216,USD
    PDS01,6899,20090812,C,12,EA,659988,USD
    PDS04,6899,20090812,D,55,EA,4884,USD
    PDS04,7479,20090815,C,80,EA,7104,USD
    PDS05,7479,20090815,C,300,EA,70497,USD
    PDS05,6809,20090818,A,1000,EA,234990,USD
    PDS06,6809,20090818,A,130,EA,51974,USD
    PDS03,6831,20090822,C,15,EA,901485,USD
    PDS04,6831,20090822,C,500,EA,4440,USD
    PDS03,6830,20090822,C,125,EA,7512375,USD
    PDS06,6830,20090822,C,400,EA,15992,USD
    PDS04,6841,20090825,C,53,EA,47064,USD
    PDS05,6841,20090825,C,350,EA,822465,USD
    Distribution Channel
    Channel (text)
    File Name:  Channel.csv
    Structure     FieldName     Length     Description
         ChanID     1     Uniquely identifies a specific distribution channel
         Chan_Desc     Medium
    Text     Full name of each distribution channel
    (Navigational field)
    Sample Data
    ChanID, Chan_Desc
    A,Phone
    B,Fax
    C,Internet
    D,Other
    Star Schema Model:

    Potentially the issue may be the combination of actual distance and the presence of any Wi-Fi interference at the location of the AirPort Express that may be the culprit here. The bottom line is you would want the Express to be within a 25+ dB range of the Extreme to be sure that it can consistently stay connected to it.
    For more details on proper base station placement, check out the following AirPort User tip. Please post back your results.

  • Help in writing  query few schema objects  from another schema.

    Hi Gurus,
    Could some one help in writing an sql which will give list of all the object of a schema "genp" visible in another schema "genp_v" and "gen_con" there is an dblink and few grants on those schemas .
    i dont have the password of any of those users i have connected as sys and i can not change the password of any of those users..
    Any help on this is highly apprciated.
    Thanks in advance .

    could you please update me for all the objects apart from just the tables .
    thank you so much .. it was just out of my head at that moment .
    cheers

  • Can somebody help me to check my schema?

    i registered the schema, but i still cannot add the xml documents into the tables.
    I want to add the documents as a column, so that i can build some view tables after that.
    the sample xml documents like this:
    <ChineseGlossary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\hkliss\glossary\cglossary.xsd">
    <ChineseExpression expression="工作天">
    <EnglishExpression expression="business day" />
    <Reference ChapterRef="4A" SectionRef="65, 第5(4)條規則" />
    <SubExpression>
    <ChineseSubExpression expression="工作天" />
    <EnglishSubExpression expression="working day" />
    <Reference ChapterRef="187" SectionRef="2A(2)(a)" />
    </SubExpression>
    </ChineseExpression>
    <ChineseExpression expression="工作日">
    <EnglishExpression expression="working day" />
    <Reference ChapterRef="478" SectionRef="2(1)" />
    </ChineseExpression>
    <ChineseExpression expression="工作守則">
    <EnglishExpression expression="code of practice" />
    <Reference ChapterRef="51" SectionRef="2" />
    </ChineseExpression>
    </ChineseGlossary>
    here is my schema:
    <?xml version="1.0" encoding="UTF-8"?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" xdb:storeVarrayAsTable="true">
         <xs:element name="ChineseGlossary" type="ChineseGlossaryType"/>
         <xs:complexType name="ChineseGlossaryType">
              <xs:sequence>
                   <xs:element name="ChineseExpression" type="ChineseExpressionType" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
         <xs:complexType name="EnglishSubExpressionType">
              <xs:attribute name="expression" type="string_2000"/>
         </xs:complexType>
         <xs:complexType name="ChineseSubExpressionType">
              <xs:attribute name="expression" type="string_2000"/>
         </xs:complexType>
         <xs:complexType name="ChineseExpressionType">
              <xs:sequence>
                   <xs:element name="EnglishExpression" type="EnglishSubExpressionType"/>
                   <xs:element name="Reference" type="ReferenceType"/>
                   <xs:element name="SubExpression" type="cSubExpressionType" minOccurs="0" maxOccurs="unbounded"/>
              </xs:sequence>
              <xs:attribute name="expression" type="string_2000"/>
         </xs:complexType>
         <xs:complexType name="ReferenceType">
              <xs:simpleContent>
                   <xs:extension base="string_2000">
                        <xs:attribute name="ChapterRef" type="string_2000"/>
                        <xs:attribute name="SectionRef" type="string_2000"/>
                   </xs:extension>
              </xs:simpleContent>
         </xs:complexType>
         <xs:simpleType name="string_2000">
              <xs:restriction base="xs:string">
                   <xs:minLength value="0"/>
                   <xs:maxLength value="2000"/>
              </xs:restriction>
         </xs:simpleType>
         <xs:complexType name="cSubExpressionType">
              <xs:sequence>
                   <xs:element name="ChineseSubExpression" type="ChineseSubExpressionType"/>
                   <xs:element name="EnglishSubExpression" type="EnglishSubExpressionType"/>
                   <xs:element name="Reference" type="ReferenceType"/>
              </xs:sequence>
         </xs:complexType>
    </xs:schema>
    after i build the table with 1 field for the unique id, 1 field for the XMLType documents, error occurs like this:
    INSERT INTO CGLOSSARY VALUES(1, XMLTYPE(bfilename('DATA','c-glossary00001.xml'),nls_charset_id('AL32UTF8')))
    ERROR in line 1:
    ORA-19007: SCHEMA - not expected
    http://localhost:8081/public/hkliss/cglossary.xsd.
    - 'DATA' in the insert statement above is the link where the XML documents stored.
    can anyone help me?
    Message was edited by:
    user551705

    Your schema location hint is incorrect in the instance document
    C:\hkliss\glossary\cglossary.xsd
    should be the value of the SchemaURL used when registering the XML Schema

Maybe you are looking for

  • Where can I download Acrobat 9 Professional Extended

    I have tried to download my Acrobat 9 ProExtended on my new PS, and followed the procedure indicated by Adobe, however a message "invalid serial number" was displayed. Needless to say I have checked and rechecked the serial number indicated in "my ac

  • SBDoc is not getting created

    I have created a new custom SBDoc which is an exact copy of SAP standard SBDOC CAPGEN_OBJECT_WRITE. I have activated, generated and released the BDoc. I have created subscriptions for this new SBDoc for a site. However, when a BUPA_MAIN MBDoc is rece

  • Problem uninstalling Office 2010

    My company is currently using Office 2010 ProPlus via O365 subscription.  We are preparing to update to Office 2013 and I am trying to create a script that will uninstall Office & Lync 2010 and install Office 2013. I'm having trouble finding a way to

  • Custom Tools panels - designed for vertical screens?  [in interface jungle]

    Hi! (hi Rufus Deuchler ) This is a really cool feature. But why can not I stick the toolbar vertically on the bottom or top? So as the control bar? Why all this Ai interface is not intended for displays and vertical work? I have a wide monitors but s

  • Liquify not working

    liquify is not working when i open it is all black my video card version is 8.9 using inspiron 15r