Replication of flow with columns excluded from Tables
Hi DBAs,I have install replication at the Table level (go to 10.2.0.4) of CBC to TGT of database for the table titled INFO database. This table contains about 15 columns and more than 18 million lines and updated quite frequently. On database TGT that is only used for purposes considered, the INFORMATION table requires only 8 columns. Water works OK from now and I want to remove the unwanted 7 columns. Is it possible I just drop these columns of TGT, then streams will continue to work OR I need to add some negative rules. Or I have to recreate the streams environment.
Please suggest how I should go about it.
Thank you
-Samar-
No need to remove the configuration.
METHOD 1:
1 stop the capture, make sure that the queues are empty (error queue and queue overflow, although it may contain old lines, no longer used)
2 remove the column on the target,
3. Add the transformation rules,
3. restart the capture. New LCR will be sent without columns.
METHOD 2:
1 let replication and running upward and even part of the traffic load.
2 on the target, add the default values on each column, you intend to drop.
From now insert any missing column in the CSF will be complete by the default values of tables.
3. start to add the removal of source columns. (Missing values in the CSF will be offset by all the default values on the target).
4 once the last rule is added in source, begins to drop the columns on the target.
Tags: Database
Similar Questions
-
Flowing text back &; forth from table to table
IM using InDesign CS5 to try to understand how the flow of text in the table to the table? I watched & read a considerable amount of tutorials on setting up cells, lines, fillings etc., border... But can't find any information on how to link text between the tables. If I have tables side by side... say 4 c Columns by 4 rows of each... How can I get the text of table 1 to sink in the first row of table 2. And, on the other hand, if I want to remove the text of the last row of table 1 How can I get the text to lines 1 and 2 of table 2 to go back to the last two rows of table 1. I can't understand how to do other than cut & paste thi & I know that can't be right. If this is explained somewhere I apologize-, but I can't find the "How To" on it. Thanks for any help with this one.
You put your tables in a box like this:
When you make this smaller text box that it looks like this:
Just click on the Red + sign and drag a new text box, now it looks like this:
You now have a table in multiple boxes, which can be on multiple pages that "pass" all as you put text boxes. However, you will not be able to delete data in one box and get back, you need to remove the entire line.
-
I have a form master detail. With a column of the region in the form of table, I need to add a link that opens a pop-up window. I'm confused how to add that.
When I write more in the attributes of the element
The image with the link which also opens the required popup but id = "f11_0001" / > is indicated after the image<a href='java script:onclick=callCOA(this, 'f11', 'f12')'> <img border="0" src="/i/edit_big.gif"/> </a>
Please suggest how to proceed
ZRHHello
Put something in the attributes of the element it adds in the tag < input... > - This is where you add something like style = "xxxx". You are trying to add tags full html within the tag, which is what is corrupting your output.
You could try a derived column and add your link in the parameter Expression HTML - this will create a link in a separate column. But note that this means that you don't have the ID of "f11_0001" available so that you have to adjust your javascript function to determine which link was clicked
Andy
-
How to make the space flow with the text from the image?
I have to add a certain paragraphs of the document, so now I have to shift down of all images in the document?
Is it possible to run image?
Help, please
Watch "anchored objects" in the manual...
-
ORA-54017: excluded from the regime of virtual columns UPDATE Operation
Referenced to
There are problems with v4.0_4.121.1.0 knew?
Thank you
Sorry, but after setting
StoreGeneratedPattern
toComputed
in the EF model I have the same problem.Thank you
-
Input data match with two columns in a table
Hello
I want to find records where the input data (> 100 records) are adapted to the two columns of the table
See below
with t as
(select 1 as id, 101 as num 'ram' that pat from dual
Union
Select 2 102, 'tom' from dual
Union
Select 1 103, 'tom1' from dual
Union
Select 2 101, 'tom2' from dual
Union
Select 2 104, 'tom3' from dual
Union
Select 1 105, 'tom1' from dual
Union
Select 2 105, 'tom1' from dual
)
Select * from t
I want to find records from the 't' table where (id, num) will be (1 101, 2 102, 1, 105)
Output must be
ID num
1 101
2 102
1 105select * from t where (id, num) in ( (1,101), (2,102), (1,105) );
Or store the input in a temporary table values and use IN
select * from t where (id, num) in ( select col1,col2 from your_temp_table );
Published by: JAC on 20 may 2013 14:55
-
Problem with "select * from table" for dynamic IN the list
I have a 'for loop' based a query that does not work. The query is supposed to return the name of the table, the data type and the name of the column in the columns poses a number of name filters. The problem I have is when I run the query into a TOAD with:
schema_list value SCOTT, MED and the clause of 'in' as ' to (select * from table (DATAPUMP_UTIL.in_list_varchar2 (:schema_list))))»
The query returns the expected lines.
When I have it in my code as shown below it returns no rows. I don't know what hurts me, but any help would be great! I'm on Oracle 11.1.0.6.0.
Published by: BluShadow on June 29, 2011 16:11PROCEDURE export_schema_ondemand (schema_list VARCHAR2, encrypt_file NUMBER default 0, mask_sensitive_data NUMBER default 0) IS ... schema_list_t := my_package.in_list_varchar2(schema_list); ... for c1 in ( with ok_to_mask as ( select owner, table_name, column_name from all_tab_columns where owner in (select * from table(schema_list_t)) minus (SELECT c.owner, p.table_name, cc.column_name FROM all_cons_columns cc, all_constraints p, all_constraints c WHERE c.owner in (select * from table(schema_list_t)) c.constraint_type = 'R' AND p.owner = c.r_owner AND p.constraint_name = c.r_constraint_name AND cc.owner = c.owner AND cc.constraint_name = c.constraint_name AND cc.table_name = c.table_name UNION ALL SELECT c.owner, cc.table_name, cc.column_name FROM all_cons_columns cc, all_constraints p, all_constraints c WHERE p.owner in (select * from table(schema_list_t)) AND p.constraint_type in ('P','U') AND c.r_owner = p.owner AND c.r_constraint_name = p.constraint_name AND c.constraint_type = 'R' AND cc.owner = c.owner AND cc.constraint_name = c.constraint_name AND cc.table_name = c.table_name)) select atc.table_name as mask_tab, atc.column_name as mask_col, atc.data_type as mask_type from all_tab_columns atc, ok_to_mask otm where atc.owner = otm.owner and atc.table_name = otm.table_name and atc.column_name = otm.column_name and atc.owner in (select * from table(schema_list_t)) and ( atc.column_name like '%LAST%NAME%' or atc.column_name like '%FIRST%NAME%' or atc.column_name like '%NAME_LAST%' or atc.column_name like '%NAME_FIRST%' or atc.column_name like '%ENAME%' or atc.column_name like '%SSN%' or atc.column_name like '%DOB%' or atc.column_name like '%BIRTH%' ) and atc.column_name not like '%PHYSICIAN_%' and atc.column_name not like '%DR_%' and atc.column_name not like '%PROVIDER_%' and atc.column_name not like 'PRESCRIBER_%' ) loop ... FUNCTION in_list_varchar2 (p_in_list IN VARCHAR2) RETURN VARCHAR2_TT is l_tab VARCHAR2_TT := VARCHAR2_TT(); l_text VARCHAR2(32767) := p_in_list || ','; l_idx NUMBER; BEGIN LOOP l_idx := INSTR(l_text, ','); EXIT WHEN NVL(l_idx, 0) = 0; l_tab.extend; l_tab(l_tab.last) := TRIM(SUBSTR(l_text, 1, l_idx - 1)); l_text := SUBSTR(l_text, l_idx + 1); END LOOP; RETURN l_tab; END in_list_varchar2;
addition of {noformat}{noformat} tags. PLEASE READ {message:id=9360002} TO LEARN TO DO THIS YOURSELF.
Hello
If you have a query that works well when you launch it directly, and that breaks down when you start with a procedure, this can be a problem of privileges.
Points of view ALL_ * shows only the objects you have access, but using a procedure, privileges must be granted directly to the user and not with a role.
You should check the SELECT privileges to your user through roles and give them directly to the user.
Hope this will help.
Sylvie
-
Update of table column in this table corresponds with another table
UPDATE of table column where this table corresponds to a column with another table of columns,
Example:
I need to update column in the table SIEBEL_ASSETS MATACH_FLAG = 'Yes' when less than the conditions of the
Select a.*, SIEBEL_ASSETS a, gis_cad, c
where upper (a.Province) = upper (c.province)
and upper (a.TOWNSHIP_NAME_EXT) = upper (c.suburb)
and a.Stand_ # = c.ERF_NOupdate siebel_assets a set match_flag = 'yes' where exists (select 1 from gis_cad c where upper(a.Province) = upper(c.province) and upper(a.TOWNSHIP_NAME_EXT) = upper(c.suburb) and a.Stand_# = c.ERF_NO ) ;
-
Problems with the length of table/column name
Hello
I have load data from the xml source in the oracle table. Some of the elements of xml (which ODI inverts like data warehouses) are more than 30 characters long, and it goes the same for columns as well.
In the topology Manager, when I change the XML technology and go to the tab 'OTHER', the 'Maximum length of the Table name' and 'Name of maximum column length' are assigned to the 30. According to the literature, ODI must truncate the table name and the name of the column to the specified maximum length. But when I invert the xml model, with more than 30 characters data warehouses are created, and this causes my interface to fail. Is there a solution for this problem?
Receive your answer.
Thank you!In this case, you have 2 options
(1) change each column in the data to the right length store
(2) modify the IKM to create columns at the top, 30 characters. The problem is:
-If the columns 2 to as difference, only the last 2 characters (like: my_column_name_is_really_big_01 and my_column_name_is_really_big_02) you could get a duplicate if column name not the code in the right way.
I propose option 1.
This happens because ODI validate the length of column of the tables in model once it doesn't matter of what is not "owned" by him (like C$ E$...)
Best regards
Cezar Santos
http://odiexperts.com -
With CVI SQL Toolkit, how to add the new variable param column in a table.
Dear all:
I used the CVI Sql toolkit to create a database, but now I don't know how to add a new column to a table in variable param.
I know, to add a column with the name of constant column could be down by below:
DBImmediateSQL ((hdbc, "alter table table1 add column1 char [100]");
But if Column1 is a param variablae how can I write the code? Please advise? It will be appreciated if you could give me an example.
Best regards!
HI -.
If you look at the parameters that you pass to the SQL function, you can see that the second parameter is a string constant. In your code, you can create an array of characters (string). You can then use sprintf to programmatically determine what will be the contents of this variable. In the function call, you can put the variable instead of the literal string, and you will have a customizable SQL statement.
Hope this helps-
John M
-
Hello, everyone.
I have problems with executing a DELETE statement on an Oracle 10 g server.
DELETE FROM tableA WHERE ID in (1,2,3)
If there is only a single ID for the IN clause, it works. But if more than one ID is provided, I get an error message "SQL command" not correctly completed. Here's the query as CF:
DELETE FROM TRAINING WHERE userID = <cfqueryparam cfsqltype="CF_SQL_VARCHAR" value="#trim(form.userID)#"> AND TRAINING_ID in <cfqueryparam value="#form.trainingIDs#" cfsqltype="CF_SQL_INTEGER" list="yes">
Someone at - it works with Oracle that can help me with this? I'm a developer experienced in MS - SQL; Oracle is new to me.
Thank you
^_^
So much worse... a colleague just told me I should always use parentheses around the values in the IN clause.
-
With the exception of all columns in a Table?
Is there a way to do this? Basically, I want between 0 and 9 columns in a table, but most of the time most of the columns will have no data in all. I need to completely exclude these columns in the model, is it possible to do this using conditional formatting (or something else) somehow?Use if@column
Reference http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/e12187/T421739T481157.htm#4535373 -
Amount from column of a table of a database link
Hello community of the oracle,
I can access an external database via a database link. is it possible in SQL or PL/SQL to get the number of columns in a table known? External database systems can be different, MySQL for now, but in future DBMS such as MSSQL. All I need is the number of columns.
Ikrischeris it possible in SQL or PL/SQL to get the number of columns in a table known?
Do you mean smth like
select count(*) from all_tab_columns@remote_db where table_name = 'YOUR_TABLE_NAME'
?
-
DROP table and CREATE with column name and ORA: 00904
Hello
I created a table with an attribute date CRTD_ON and two other attributes. Successfully created. I can see the data tab and the window empty data with column names in the header...
Now, I had to change the name of field attribute date on OPNG_DATE so I don't bother to change, instead, I deleted and created with the name of the column has changed. Then I restart the ddl. Once again managed to create. But this time I am not able to see the data tab or the column headings. And I see the error of the log of the data Publisher ORA-00904: "CRTD_ON": invalid identifier
Is this a bug?There is a current bug where you will get the data if you have a public synonym with the same table name pointing to another table with another structure. Can you confirm that in your environment?
K.
-
Problem with the function 'length' for table column in a table (fn)
Hello
I have a piece of javascript code that sets all the values of a column in a table:
function exemptAll (flag)
{
Alert (document.wwv_flow. F42. Length);
for (var i = 0; i < document.wwv_flow.f42.length; i ++)
{
var curr_id = document.wwv_flow.f42user.user;
If (flag == 'Y')
{
document.getElementById ("curr_id") .value = "Y";
}
on the other
{
document.getElementById (curr_id) .value = 'n';
}
}
}
It works very well to provide in the form of tables, there are multiple lines, if only one line is the "document.wwv_flow.f42.length" function returns false values - we had '2' and '3' returned to a form of the tab that contains a single row and subsequently code fails with an error "invalid argument".
Is this a recognized bug because we cannot find similar reports of what is happening on the forums. Any help would be appreciated as we have to fake a work around using an element of the page containing the number of lines in the tabular presentation.Hello
I think that "bug" is caused by the dynamic nature of Javascript.
If there is more than one field called f42, any reference to it will return an array of fields. However, if there is only one instance of it, any reference to it will return the field itself! In the latter case, probably the length function returns the number of characters in the field.
Therefore, you must check whether what you have is an array or not. Unfortunately, there is no such function only as "isArray" in JS! If you are looking on the net for "isArray" you will find a number of alternatives well...
I hope this helps.
Luis
Maybe you are looking for
-
ReadyNAS RN104OS: 6.6.0App: nas-transmission Faild start because getting an error message: bad call NML Any idea? Thank you
-
It seems a week or if there is my laptop started to send spam and offensive email who wore my e-mail address, I changed all passwords several times since then. A few days ago, I noticed that my C drive was about 100 MB or so every day or two, I run
-
Is IME now EOL (End of Life)?
I noticed today in search of new versions IME that the product and support pages for State of IME is EOL, but give no information or links to official notice of EOL. Does anyone have more information?
-
Failed to create the Dell photostage as screensaver.
I had a few selected photos selected to run on Dell Photostage as screensaver. Unfortunately, I installed an update that has ALL my photos in sight. I created a new collection, but cannot make only a single pass instead of with all the photos that
-
What is the aam Protocol?
my computer cannot read protocol aamWhat is the Protocol aam T.T! Help me