How to exclude the replicatio level schema tables?
HelloI'm working on the replication of the oracle10g data stream.
My type of replication is "schema".
If anyone can help me to undersatnd, how to exclude some replication of schema in function tables.
Thank you
Faziarain
user498843 wrote:
Hi what you mean this ID: 239623.1
This s document_id in metalink or other things?
MetaLink
Tags: Database
Similar Questions
-
How to find the child level for each table in a relational model?
Earthlings,
I need your help, and I know that, "Yes, we can change." Change this thread to a question answered.
So: How to find the child level for each table in a relational model?
I have a database of relacional (9.2), all right?
Tips:. O /* This is a child who makes N references to each of the follow N parent tables (here: three), and so on. */ /↑\ Fks O"O O" <-- level 2 for first table (circle) /↑\ Fks "o"o"o" <-- level 1 for middle table (circle) ↑ Fk "º"
-Each circle represents a table;
-Red no tables have foreign key
-the picture on the front line of tree, for example, a level 3, but when 3 becomes N? How is N? That is the question.
I started to think about the following:
First of all, I need to know how to take the kids:
Thought...select distinct child.table_name child from all_cons_columns father join all_cons_columns child using (owner, position) join (select child.owner, child.constraint_name fk, child.table_name child, child.r_constraint_name pk, father.table_name father from all_constraints father, all_constraints child where child.r_owner = father.owner and child.r_constraint_name = father.constraint_name and father.constraint_type in ('P', 'U') and child.constraint_type = 'R' and child.owner = 'OWNER') aux using (owner) where child.constraint_name = aux.fk and child.table_name = aux.child and father.constraint_name = aux.pk and father.table_name = aux.father;
We will share!
Thanks in advance,
Philips
Published by: BluShadow on April 1st, 2011 15:08
formatting of code and hierarchy for readbilityHave you looked to see if there is a cycle in the graph of dependence? Is there a table that has a foreign key to B and B has a back of A foreign key?
SQL> create table my_emp ( 2 emp_id number primary key, 3 emp_name varchar2(10), 4 manager_id number 5 ); Table created. SQL> ed Wrote file afiedt.buf 1 create table my_mgr ( 2 manager_id number primary key, 3 employee_id number references my_emp( emp_id ), 4 purchasing_authority number 5* ) SQL> / Table created. SQL> alter table my_emp 2 add constraint fk_emp_mgr foreign key( manager_id ) 3 references my_mgr( manager_id ); Table altered. SQL> ed Wrote file afiedt.buf 1 select level lvl, 2 child_table_name, 3 sys_connect_by_path( child_table_name, '/' ) path 4 from (select parent.table_name parent_table_name, 5 parent.constraint_name parent_constraint_name, 6 child.table_name child_table_name, 7 child.constraint_name child_constraint_name 8 from user_constraints parent, 9 user_constraints child 10 where child.constraint_type = 'R' 11 and parent.constraint_type = 'P' 12 and child.r_constraint_name = parent.constraint_name 13 union all 14 select null, 15 null, 16 table_name, 17 constraint_name 18 from user_constraints 19 where constraint_type = 'P') 20 start with child_table_name = 'MY_EMP' 21* connect by prior child_table_name = parent_table_name SQL> / ERROR: ORA-01436: CONNECT BY loop in user data
If you have a cycle, you have some problems.
(1) it is a NOCYCLE keyword does not cause the error, but that probably requires an Oracle version which is not so far off support. I don't think it was available at the time 9.2 but I don't have anything old enough to test on
SQL> ed Wrote file afiedt.buf 1 select level lvl, 2 child_table_name, 3 sys_connect_by_path( child_table_name, '/' ) path 4 from (select parent.table_name parent_table_name, 5 parent.constraint_name parent_constraint_name, 6 child.table_name child_table_name, 7 child.constraint_name child_constraint_name 8 from user_constraints parent, 9 user_constraints child 10 where child.constraint_type = 'R' 11 and parent.constraint_type = 'P' 12 and child.r_constraint_name = parent.constraint_name 13 union all 14 select null, 15 null, 16 table_name, 17 constraint_name 18 from user_constraints 19 where constraint_type = 'P') 20 start with child_table_name = 'MY_EMP' 21* connect by nocycle prior child_table_name = parent_table_name SQL> / LVL CHILD_TABLE_NAME PATH ---------- ------------------------------ -------------------- 1 MY_EMP /MY_EMP 2 MY_MGR /MY_EMP/MY_MGR 1 MY_EMP /MY_EMP 2 MY_MGR /MY_EMP/MY_MGR
(2) If you try to write on a table and all of its constraints in a file and do it in a valid order, the entire solution is probably wrong. It is impossible, for example, to generate the DDL for MY_EMP and MY_DEPT such as all instructions for a table come first, and all the instructions for the other are generated second. So even if NOCYCLE to avoid the error, you would end up with an invalid DDL script. If that's the problem, I would rethink the approach.
-Generate the DDL for all tables without constraint
-Can generate the DDL for all primary key constraints
-Can generate the DDL for all unique key constraints
-Can generate the DDL for all foreign key constraintsThis is not solidarity all the DOF for a given in the file object. But the SQL will be radically simpler writing - there will be no need to even look at the dependency graph.
Justin
-
How to show the ink levels on the computer for Officejet 6600
How to show the ink levels on the computer for Officejet 6600
What is the full product name or product number?
This is the Manual of your printer the following image was derived.
You can use the printer's built-in web server to get the status of the printer information from a browser.
-
How to get the battery level and status in the cpp file?
Hi all
BatteryInfo class so I can I know how to get the battery level and the State in .cpp class?
Hi Benecore,
I have Add method below,
#include
But I only variable BatteryInfoPrivate not get variable BatteryInfo. You can also check on your side.
So let me know how to get batteryInfo instance?
-
How to exclude the missing files or library locations that are on a network backup and restore of Windows 7 Professional drive. To give you more information, I have photos stored on a network drive to the following address: Wirelessspace\LaCie\MyPhotoGallery\Family. This folder is a location of library under the images. Because this folder is on a network drive backup backup not file Wizard.
In addition, the following file locations is not found because they no longer exist. So why the backup wizard continues to look for and how to remove the backup set? I guess the error code following each line means simply that records cannot be found. Is this correct?
Backup has encountered a problem during backup of the C:\Windows\System32\config\systemprofile\Searches\Google file. Error: (the system cannot find the specified file. (0 x 80070002))
Backup has encountered a problem during backup of the C:\Windows\System32\config\systemprofile\SyncUP file. Error: (the system cannot find the specified file. (0 x 80070002))
Backup has encountered a problem during backup of the C:\Windows\System32\config\systemprofile\Podcasts file. Error: (the system cannot find the specified file. (0 x 80070002))Hello
I suggest you to follow the steps in the article below and check if it helps.
Error code 0 x 80070002 when you back up files in Windows 7: http://support.microsoft.com/kb/979281
Hope this information is useful.
-
Mr President.
How to reduce the height of a table which is with PanelCollection and pc will find panelbox and pb is panelgridlayout and pgl is at the center of tableFirstTemplate?
Concerning
Normally at the height of the table control you need property autoheightRows -1 and then set height in the table like this inlinestyle
height: 300px;
-
How to get the title of a table with FDK?
How to get the title of a table with ad FDK C++?
I did people. I get objects table paragraph and later the textual elements for each of them.
-
How to use the Type of Oracle Table values in the Select statement.
Hello
I get the initial set of values in the Table of Type Records of the Oracle and want to use the list of values in the Select statement.
For example, try something like the following:
TYPE t_record () IS RENDERING
ID TABLEA.ID%type,
NO TABLEA.NO%type
);
v_record t_record;
T_table TYPE IS the v_record TABLE % TYPE;
v_table t_table;
-Code to fill the values of v_table here.
SELECT ID, NO, COLLECT in BULK IN < some other table variabes here > FROM TABLEA
WHERE ID IN (i) v_table USER.USER;
I want to know how to use the Type of Oracle Table values in the Select statement.Something like this:
create or replace type t_record as object ( id number, no number ) / CREATE or replace type t_table AS TABLE OF t_record; / set serveroutput on declare v_table t_table := t_table(); v_t1 t_table := t_table(); begin v_table.extend(1); v_table(1).ID := 1; v_table(1).No := 10; v_table.extend(1); v_table(2).ID := 2; v_table(2).ID := 20; SELEC t_record (ID,NO) BULK COLLECT INTO v_t1 from TableA FROM TABLEA WHERE ID IN (select t.ID from table(v_Table) t); for i in 1..v_t1.count loop dbms_output.put_line(v_t1(i).ID); dbms_output.put_line(v_t1(i).No); end loop; end; /
No test!
P;
Published by: bluefrog on March 5, 2010 17:08
-
Hello
Several times, I get a request to load the data in the tables of one schema to another. But before doing that I need to compare the structures of tables in the source and target schema.
How can I do? The list of tables to continue to change every now and then. A TOAD there is no option to compare a selected table list. Comparing schemas whole is not an option before me that patterns are too huge and it takes a lot of time to do the level schema comparison.
Note This is a client machine, and we are not allowed to install any s/w.
I'm working on the provision of a unix script that does this for me. But that may take some time given the intense work schedule and my lack of knowledge of unix scripting languages.
Can anyone suggest a way to do it?
Regds,
MalikaI need to compare the structures of tables in the schema source & target.
SELECT THE TABLE TABLE_NAME, COLUMN_NAME, DATA_TYPE, DATA_TYPE_MOD, DATA_TYPE_OWNER, DATA_LENGTH, DATA_PRECISION, DATA_SCALE DBA_TAB_COLUMNS WHERE OWNER = 'SOURCE '.
LESS
SELECT THE TABLE TABLE_NAME, COLUMN_NAME, DATA_TYPE, DATA_TYPE_MOD, DATA_TYPE_OWNER, DATA_LENGTH, DATA_PRECISION, DATA_SCALE DBA_TAB_COLUMNS WHERE OWNER = 'TARGET'
UNION
SELECT THE TABLE TABLE_NAME, COLUMN_NAME, DATA_TYPE, DATA_TYPE_MOD, DATA_TYPE_OWNER, DATA_LENGTH, DATA_PRECISION, DATA_SCALE DBA_TAB_COLUMNS WHERE OWNER = 'TARGET'
LESS
SELECT THE TABLE TABLE_NAME, COLUMN_NAME, DATA_TYPE, DATA_TYPE_MOD, DATA_TYPE_OWNER, DATA_LENGTH, DATA_PRECISION, DATA_SCALE DBA_TAB_COLUMNS WHERE OWNER = 'SOURCE '. -
How to exclude the each row of the result set XML declaration?
Hello
I have a table with an XMLTYPE column and would like to SELECT a set of rows. How can I exclude the each row of the result set XML declaration? My query currently looks like this, I am running through Spring JDBC:
SELECT XMLSerialize FROM t1 WHERE XMLEXISTS('$e/Event' PASSING XMLTEXT AS "e") ORDER BY t1.time DESC myschema.event (HAPPY t1.xmltext)
After selecting, in my application I convert each line in a string and concatenate all the rows in a large chain to analyze in a DOM model. I get a parser exception (org.xml.sax.SAXParseException: the target of the processing instruction corresponding to "[xX] [mM] [he's]" is not allowed) because there are several XML statements in my large chain. Of course, I could manually check the string on each line if it starts with the XML declaration, but it would be nicer if I could load the DB does not add it in the first place. Is there a way?
Thank you!
-DanielaHello
Some options that I can think of:
SELECT XMLSerialize(CONTENT XMLtransform(t1.xmltext, xmltype('
or quite simply,.
SELECT XMLSerialize(CONTENT extract(t1.xmltext,'/') ) FROM myschema.event t1 WHERE XMLEXISTS('$e/Event' PASSING XMLTEXT AS "e") ORDER BY t1.time DESC ;
-
How to exclude the Oracle Workflow installation CD companion server?
We are modernizing our E-Business suite 11i database to 10.2.0.3.
The E-Business suite upgrade request notice to install "Oracle Database 10 g products" Companion CD on 10g of the House. Oracle default workflow server is included in the guide installation with a CD Type 'Install a database Oracle 10 g products'. However the installation document CD companion says that don't install Server workflow on the database of trade electronics uite, as indicated below.
Now how can I exclude the Oracle workflow installation CD companion server?
================================
Note: Do not install Oracle Workflow Server in Oracle E-Business
Office database. If you want to use the version of Oracle Workflow
available with Oracle Database 10g, or any Oracle database
components that depend on the version of Oracle Workflow, then you
need to install the Oracle of Workflow Server in a database that is not used
Properties of an instance of Oracle E-Business Suite.
For an Oracle E-Business Suite database, you can continue to use the
version of the Oracle Workflow Server integrated in Oracle E-Business
Suite.
================================John,
You should ignore the steps under "Preparing Oracle Workflow Server for the Oracle Workflow Middle Tier Installation", but the workflow will be installed as part of the accompanying CD (select option 2 - products of Oracle database)
Upgrade of Oracle Applications 11i database 10g R2 (10.2.0.3)
http://Oracle-Apps-DBA.blogspot.com/2007/09/upgrade-Oracle-Applications-11i.htmlHere is the link for the steps you need to jump:
Prepare mid-level Workflow Oracle Oracle Workflow Server Installation
http://download.Oracle.com/docs/CD/B19306_01/install.102/B15664/install_sw.htm#BABHHHCC -
How to exclude the songs, didn't like in a smart playlist
How exclude the songs didn't like in a smart playlist.
Note the songs that you don't like as 1 Star then add side is not 1 star smart selection criteria.
-
HP 4500 ENVY: How to interpret the ink levels?
When I check the ink level, it shows two columns. One is marked with an X, the other with an oval. Column shows the black ink level, and which indicates the level of the colored inks?
Hi Jamherst,
The X is for the black ink indicator, and the oval is for ink color indicator.
Here is a LINK to hp.com that shows how to check the levels.
Let me know if this solves your problem.
Thank you
-
How to exclude the field of persistent object
Hello
Is it possible to substitute the PersistanceStore method to persist objects?
I have a complex data structure I need to store. One of the internal classes contain no persistent field. When I'm storing the data I don't no need to store this field, but the compiler triggers error.
... Widget: error! : class... Persistable marked widget by interface:... Persistable is not persistent: _field field: class... Field does not implement net.rim.vm.Persistable
Is the way to override the implementation of this class persitant and exclude the problematic areas?
Thanks for the reply.
I did something similar, I created a class of data for persistence and a class of execution with additional fields.
It's not very practical, these classes are deep into a tree of complex data, but I guess that's how it should work with BlackBerry.
-
How do you find the ink level
that is, when to change an ink cartridege
Thank you Mr
Yes, we decided to try this earlier...
and that's all.
However, grace, too.
RM
Maybe you are looking for
-
My browser.newtab.url = about: blank was successfully set. I always get a search page of Bing referring to "express files. I uninstalled the urging of files specifically, but the page always reappears on a new page. I also checked the Add-ons in fire
-
Thrive under repair - parts available in 6 months
Case #71908837 My Tablet Thrive is awaiting repair for weeks.I was told there is no available spare parts and the repair can take up to 6 MONTHS. I bought this tablet for the full 2011 official fare. I was in support of the purchase of a brand. I rea
-
Satellite C50-A-157 - cannot use the touchpad without maintaining the left button
I know very little on my Satellite C50-A-157. Run on Windows 8. I'm main user/admin and all of a sudden I am unable to move the cursor of the mouse... only average, it seems, I beg, if I hold the botton left hand (at the bottom of the mouse pad) at t
-
(Amplifier) signal for system cDAQ conditioner!
The system I want to build will be used to monitor the excitation of a motor/generator system. I have a couple of signal which are bellows 100 mV, for the example current measured with a shunt resistance to 40 / 60 mV.The problem is that I have what
-
I have a Vista operating system, I use Firefox as my browser and I have MS Security Essentials, I turn off my Windows Defender. I want to disable some programs from starting automatically, but I can't figure out how do it when I can not use this fea