Track table changes at Schema Level
Hi,
I have 40 tables in a schema and correponding 40 history tables in the same schema. If any row is being deleted (or updated) in the parent table, i want to insert the data in history tables.
Do i need to write 40 separate trigger for this or do i have any option to write a single trigger on the schema so that the changes on the parent table can be inserted in history table.
Hi,
I was trying to execute the query for workspace manager,
BEGIN
DBMS_WM.GrantSystemPriv (
'ACCESS_ANY_WORKSPACE, MERGE_ANY_WORKSPACE, '
|| 'CREATE_ANY_WORKSPACE, REMOVE_ANY_WORKSPACE, '
|| 'ROLLBACK_ANY_WORKSPACE',
'WSMGMT',
'YES'
END;
(which was mentioned in the link http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4529781014729)
I am getting below error.
ORA-06550: line 2, column 4:
PLS-00201: identifier 'DBMS_WM.GRANTSYSTEMPRIV' must be declared
ORA-06550: line 2, column 4:
PL/SQL: Statement ignored
How to declare that or to clear the error.
Similar Messages
-
How to track the changes at report level
Dear Team ,
Could you please help on below scenario.
1.Is there any way to track the changes for each report wise ? Does it possible using the audit database?
2. how to get list for report names by each folder wise( public folders) ?
Thanks & Regards
VenkatHi Venkat,
1.In Webi we have a option called Track click that option to enable you to track the changes in your report and also in Tracking option you can change the color as you preferred.
2.Once report is ready to export click (Ctrl+E) and click Public folder then select New folder option available in right corner and create new Folder and export your report.
Thanks
Vignesh R -
Hi,
May I know how to track changes to a table,
eg. what data has been added/updated/deleted by who and when?
i have set rec/client parameter in the profile.
and using SE13, i have tick the log data changes flag of the table.
when using scu3, logging display status, i can see logging is active
and the table logging status is active too.
when using scu3, list of change docs, the page shows
"Analysis without archived log data
No logs found for the selected period"
When clicking on compare, current and history is the same.
We have made a few updates, additions of rows to the tables.
May I know how to view these changes, made by who and when.
What other setting do i have to set?
Thanks.Hello Lovejoy,
Unfortunetly, the SDN search is not working today for some reason (no sarcasm intended... -Regarding Search ).
When it is back up again, search for the term rec/client. There are also SAP notes on it.
Cheers,
Julius -
How to find out list of clob/blob tables in a schema
Hi,
I have tricky situation...i have 119 tables out of which 11 tables are clob/blob tables...is there any view where i can find out list of tables are clob/blob tables? (at schema level view means user_<>)
-- Raman.USER_TAB_COLS includes the data type, column name, and table name for each column in each table in the system. You could query that looking for columns with a DATA_TYPE of CLOB or BLOB. If some tables have multiple LOB columns and you want them to appear only once, you'd have to throw a DISTINCT on the table name.
Justin -
How to Track the changes made to the custom table field value
I want to track the changes made to the custom table field value in table maintenance generator.please help me it is very urgent
Thanks & Regards,
KrantiHi Satya,
These are the steps you've to do.
1. Enable the change document flag in the data element level for the fields of the tables you want to monitor.
2. Go to transaction SCDO. Create a new change object, and add your table to this object. After generation, you'll get a function module.
3. Call this function module in the table maintainence generator screen, after the data is saved to the database table. This function module automaticallly writes the changes, with the old and new values, and the fields that were changed to the tables CDHDR and CDPOS.
4. You can keep track of the changes made to the table by monitoring these tables.
Regards
Anil Madhavan -
How to get the Reports of Change Tracking Table in MDM?
Hi!
Please tell me how to get the reports of Change Tracking Table in MDM which is a System table, directly from MDM without using any interface.
Thanks in advance for the reply.
With Best Regards
Devendra PandeyHi Devendra,
MDM can track changes on tables and fields. <u>The level of change tracking, and which tables/fields to track, are configurable in the MDM Console</u>. MDM opens a new database on the same database engine as the MDM repository and writes all change records to this database.
For information of various steps you can visit
<a href="http://help.sap.com/saphelp_mdm550/helpdata/en/45/c7b20339ee570ae10000000a114a6b/content.htm">this URL</a>
Regards,
Krutarth -
Hi All,
We need to have a trace on the changes(direct/transactional) made to one particular field of a table (LFA1-ESRNR). We have already explored the following options:
--> Attempting the change log in the table is expected to have a huge hit on the system memory.
--> Another option of tracking this field is the data base level is ruled out because it's not recommended practice.
--> The option of logging the changes through vendor master changes is also ruled out because requirement is to track the changes done directly to the table.
Any pointers to this direction would be highly appreciated.
Thanks and Regards,
AshishHi Ashish ..
The best way to do is using Change douments .. Since SAP provided the Change doc mainly for this..
Tables: CDHDR and CDPOS.
Tcode: SCDO. Vendor Master : KRED is the Change doc object.
For this the Corresponding data element of LFA1-ESRNR i.e ESRNR is already flagged with Change Document property.
What do u mean by directly updating table .. is it in SE11 or SM30 ..
Then In the Generated Table maintenance program incorporate the Change document logic also .
<b>reward if helpful</b> -
Schema level and table level supplemental logging
Hello,
I'm setting up bi- directional DML replication between two oracle databases. I have enabled supplemental logging database level by running this command-
SQL>alter database add supplemental log data (primary key) columns;
Database altered.
SQL> select SUPPLEMENTAL_LOG_DATA_MIN, SUPPLEMENTAL_LOG_DATA_PK, SUPPLEMENTAL_LOG_DATA_UI from v$database;
SUPPLEME SUP SUP
IMPLICIT YES NO
-My question is should I enable supplemental logging table level also(for DML replication only)? should I run the below command also?
GGSCI (db1) 1> DBLOGIN USERID ggs_admin, PASSWORD ggs_admin
Successfully logged into database.
GGSCI (db1) 2> ADD TRANDATA schema.<table-name>
what is the deference between schema level and table level supplemental logging?For Oracle, ADD TRANDATA by default enables table-level supplemental logging. The supplemental log group includes one of the following sets of columns, in the listed order of priority, depending on what is defined on the table:
1. Primary key
2. First unique key alphanumerically with no virtual columns, no UDTs, no functionbased
columns, and no nullable columns
3. First unique key alphanumerically with no virtual columns, no UDTs, or no functionbased
columns, but can include nullable columns
4. If none of the preceding key types exist (even though there might be other types of keys
defined on the table) Oracle GoldenGate constructs a pseudo key of all columns that
the database allows to be used in a unique key, excluding virtual columns, UDTs,
function-based columns, and any columns that are explicitly excluded from the Oracle
GoldenGate configuration.
The command issues an ALTER TABLE command with an ADD SUPPLEMENTAL LOG DATA clause that
is appropriate for the type of unique constraint (or lack of one) that is defined for the table.
When to use ADD TRANDATA for an Oracle source database
Use ADD TRANDATA only if you are not using the Oracle GoldenGate DDL replication feature.
If you are using the Oracle GoldenGate DDL replication feature, use the ADD SCHEMATRANDATA command to log the required supplemental data. It is possible to use ADD
TRANDATA when DDL support is enabled, but only if you can guarantee one of the following:
● You can stop DML activity on any and all tables before users or applications perform DDL on them.
● You cannot stop DML activity before the DDL occurs, but you can guarantee that:
❍ There is no possibility that users or applications will issue DDL that adds new tables whose names satisfy an explicit or wildcarded specification in a TABLE or MAP
statement.
❍ There is no possibility that users or applications will issue DDL that changes the key definitions of any tables that are already in the Oracle GoldenGate configuration.
ADD SCHEMATRANDATA ensures replication continuity should DML ever occur on an object for which DDL has just been performed.
You can use ADD TRANDATA even when using ADD SCHEMATRANDATA if you need to use the COLS option to log any non-key columns, such as those needed for FILTER statements and KEYCOLS clauses in the TABLE and MAP parameters.
Additional requirements when using ADD TRANDATA
Besides table-level logging, minimal supplemental logging must be enabled at the database level in order for Oracle GoldenGate to process updates to primary keys and
chained rows. This must be done through the database interface, not through Oracle GoldenGate. You can enable minimal supplemental logging by issuing the following DDL
statement:
SQL> alter database add supplemental log data;
To verify that supplemental logging is enabled at the database level, issue the following statement:
SELECT SUPPLEMENTAL_LOG_DATA_MIN FROM V$DATABASE;
The output of the query must be YES or IMPLICIT. LOG_DATA_MIN must be explicitly set, because it is not enabled automatically when other LOG_DATA options are set.
If you required more details refer Oracle® GoldenGate Windows and UNIX Reference Guide 11g Release 2 (11.2.1.0.0) -
How to exclude tables from Schema level replication
Hi All,
I am currently trying to setup Oracle Streams (Oracle 11.1.0.6 on RHEL5) to replicate a schema from one instance to another.
The basic schema level replication is working well, and copying DDL and DML changes without any problems. However there are a couple of tables that I need to exclude from the stream, due to incompatible datatypes.
Does anybody have any ideas or notes on how I could achieve this?? I have been reading the Oracle documentation and find it difficult to follow and confusing, and I have not found any examples in the internet.
Thanks heaps.
GavinWhen you use SCHEMA level rules for capture and need to skip the replication of a few tables, you create rules in the negative rule set for the table.
Here is an example of creating table rules in the negative rule set for the capture process.
begin
dbms_streams_adm.add_table_rules(
table_name => 'schema.table_to_be_skipped',
streams_type => 'CAPTURE',
streams_name => 'your_capture_name',
queue_name => 'strmadmin.capture_queue_name',
include_dml => true,
include_ddl => true,
inclusion_rule => false
end;
table_name parameter identifies the fully qualified table name (schema.table)
streams_name identifies the capture process for which the rules are to be added
queue_name specifies the name of the queue associated with the capture process.
Inclusion_rule=> false indicates that the create rules are to be placed in the negative rule set (ie, skip this table)
include_dml=> true indicates DML changes for the table (ie, skip DML changes for this table)
include_ddl=> true indicates DDL changes for the table (ie, skip DDL changes for this table) -
I have tried the help menu. It only shows how to open the track info pane in the old garageband. It shows the info button, which is not in garageband anymore. I need to open the track info pane to change the input level. If there is another way to do this please tell me.
Open the "Smart Controls" for your track, and then press the Info button .
The "record level" slider is at the top of the Info panel below the track heads. -
Tracking the changes made to the custom table field value
Hi all,
can we track the changes made to the custom table field values. if yes..plz specify how it can be done.
Example: if i changed the value of field 'NAME' of table 'YYHCUSTOMER'. i would like to know the old value and the new value of the field. For this, I set the flag 'LOG DATA CHANGES' in the technical settings of the table 'YYHCUSTOMER'.-> try TA: SCU3
regards Andreas -
How to track the changes to a table and update the other table ?
Hi Guys,
I am looking to track deletion of entries on KONV table and sync these missing entries in an other table which has primary key entries of KONV.
How to do this.. is ALE change pointer is any good for this purpose ?
Thanks
AJHi Sam,
In order to track the changes in the KONV table, go to table CDHDR and give objectclass and objectid, you will get all the details.
Regards,
ramesh. -
I recently had to submit a TVC and discovered that premiere was changing the loudness level after export, when the TVC failed the quality check.
I checked the audio loudness of other formats that I had exported and the same thing had happened the audio loudness, it had changed.
After a bit of troubleshooting I found a workaround. I mixdown all of the tracks in adobe audtion to one track and then imported it into premeire.
Once I did this the audio loudness was not changed after exporting.
Workflow for when it didn't work.
I used edit in adobe audtion for the audio tracks from premiere.
Matched the audio to the loudness level I wanted, and then saved each track.
Export from premiere.
To Check Audio Loudness
Bring in exported file into new premiere project
Edit the audio in adobe audtion.
Drag the audio file into match audio to check loudness level.
I am using
Adobe Premiere Pro CC v8.1
Windows 7 on PC
Please fix this adobe.I recently had to submit a TVC and discovered that premiere was changing the loudness level after export, when the TVC failed the quality check.
I checked the audio loudness of other formats that I had exported and the same thing had happened the audio loudness, it had changed.
I have never experienced that or had any need for a work around.
What did your Broadcast Quality Control pick up on?
Audio Levels and Loudness are two different things in this regard. -
IS-U changes of schemas - which table?
Hi all,
Does anybody knows in which table I can find informations about history of changes in schemas ?OK I've found it out. These informations are stored in standard SAP tabels for history - CDHDR i CDPOS
-
Table changes in database are not captured in ODI model level
Hi All,
Can any one help me how to fix the bug in ODI.
Table changes in database are not captured in ODI model level.
Thanks in advanceI created the interface which is running successfully.
Now i did some changes in target table(data base level).
I reversed the updated table in model section. Till here its ok
The table which is updated in the model section is not automatically updated in the interface.
I have to drop the existed datastore in the interface and and re do the entire process of bringing the updated datastore, mapping,etc..
Please tell the any alternate way.
Regards
suresh
Maybe you are looking for
-
I just got a macbook pro and I already own an iPod touch 32GB. I used to have a sony viao and I had my iPod synhronized to that computer. How do I change the synchronisation of my iPod to the macbook pro from the sony viao?
-
Why is the replacement battery for my Macbook 2010 not lasting long?
I just had a new battery installed in my mid 2010 Macbook (white) a few hours ago. Once it was done charging, I looked at the battery bar and noticed it was suddenly down to 95% even though I saw that the cord was just on green light (means fully cha
-
X-Fi Gaming not completely recognized by system/softw
My motherboard recently died, and after installing a replacement, I had to perform a repair install on Windows. Now when I try to set up sound, it shows the card as installed and working in the device manager, but it doesn't appear on the Sounds and
-
Is there a switch for 'FORCE' when creating object type?
Where is the property to indicate whether or not to include the keyword FORCE when creating an object type?
-
everytime I put a CD in the disk drive to load on to itunes, it has an "unknown error" and shuts down, I've sent the error report a few times, but nothing is solved can anyone help me out? thanks