How do i find out the tables effected in a schema after a particular time stamp
how do i find out the tables effected in a schema after a particular time stamp?
pls email in [email protected]
If you are doing a reload every time then you can issue following commands to clear data from cube.
lmt name to all
allstat
clear all from <cubename>prttopvar
You can wrap above commands in pl sql procedure using dbms_aw.execute package and execute it before cube load starts. Instead of clearing it from whole cube you can clear only from one partition also. Just take a look at clear command in olap DML 10.2 reference.
Thanks,
Brijesh
Edited by: Brijesh Gaur on Aug 10, 2010 6:47 AM
Similar Messages
-
How do i find out the tables (data)effected in a schema after a particular time stamp
how do i find out the tables (data not structure)effected in a schema after a particular time stamp?
pls email in [email protected]You can't do that. That would be a real security risc.
/KAj -
How to find out the tables effected information from oracle from
can any one tell me how to find out the tables effected information from oracle form
Hi,
Please refer to the following documents.
Note: 259722.1 - HOWTO Determine Table and Column Name from a field in a form in 11i
Note: 241628.1 - How to Find the Query That Succeeded Recently?
Regards,
Hussein -
How can i find out the table hierarchy
Hi experts,
I have one doubt. how can i find out the table hierarchy in the particular schema.
Let me explain my requirement in detail.. In my Database i have nearly 250 table each table have it's own temporary table(for authorization purpose we are maintaining the temporary tables) for each day i have to clear the temporary table data.
All temporary table connected with each other. i mean all the table having foreign key relationship.. while i attempt the delete the data from the temporary table it showed ORA-02292: integrity constraint violated - child record found.
So can any one please tell how can i delete the child table record first and then parent record table record.
Thanks in advance
ArunCREATE OR REPLACE FUNCTION get_child_tables (
ptable VARCHAR2,
powner VARCHAR2 DEFAULT 'SCOTT',
plevel NUMBER DEFAULT 10
RETURN stringarray
-- -- create this ON SQL*PLUS "CREATE OR REPLACE TYPE STRINGARRAY AS TABLE OF VARCHAR2(50);"
-- AUTHID CURRENT_USER
PIPELINED
AUTHOR DATE VERSION COMMENTS
======================================================================================
[email protected] 26-OCT-2009 1.0 Developed to ease developers effort to find Nth level of Referential integrity
======================================================================================
-- PURPOSE -> To find PARENT=> CHILD relational TABLE(S) in Oracle upto a depth max N Level.
--SYNTAX TO USE
SELECT * FROM TABLE( get_child_tables('DEPT','SCOTT',3)); Store this query in a file for your use
SELECT * FROM TABLE( get_child_tables('EMPLOYEE')); Store this query in a file for your use
-- RESULTS looks as below
--1 => DEPT
--2 => EMP
--2 => EMP2
--3 => EMP_CHILD
--3 => EMP2_CHILD
-- and so on
--This can be leveraged to use in any oracle database REGION 10g having and above.
--This FUNCTION gives formatted result of the Oracle 10g Hierarchical query result coded in the cursor
--to find MASTER => CHILD relational TABLE(S) upto a depth max 10 Level.
--The result of the PIPELINED function can be retrieved using Oracle new operator
--TABLE(array name) in SQL query.
--Due to the AUTHID CURRENT_USER compiler directive any user can use based on his/her access privileges on the database.
--GRANT EXECUTE ON SCOTT.get_child_tables TO PUBLIC;
--CREATE OR REPLACE PUBLIC SYNONYM get_child_tables FOR SCOTT.get_child_tables;
IS
atname stringarray := stringarray ();
-- create this ON SQL*PLUS CREATE OR REPLACE TYPE STRINGARRAY AS TABLE OF VARCHAR2(50);
vlevel NUMBER;
vtname VARCHAR2 (50);
nindex NUMBER := 0;
bprocessed BOOLEAN := FALSE;
CURSOR c1 (powner_in IN VARCHAR2, ptable_in VARCHAR2, plevel_in NUMBER)
IS
SELECT LEVEL, LPAD (' ', (LEVEL - 1) * 2, ' ') || pt AS "TNAME"
FROM (SELECT a.owner w1, a.table_name pt, a.constraint_name c1,
a.r_constraint_name r1, b.owner w2, b.table_name ct,
b.constraint_name c2, b.r_constraint_name r2
FROM all_constraints a, all_constraints b
WHERE a.constraint_name = b.r_constraint_name(+)
AND a.owner = b.owner(+)
AND a.owner =
UPPER (powner)
-- Change Owner here while testing
--AND A.r_constraint_name IS NULL
AND a.constraint_type IN ('P', 'R')) v1
START WITH pt =
UPPER
(ptable)
-- Change your master table here while testing the QUERY
CONNECT BY PRIOR ct = pt AND LEVEL <= plevel;
-- Change lavel here while testing
BEGIN
atname.EXTEND;
atname (1) := 'NOTHING';
OPEN c1 (powner, ptable, plevel);
LOOP
bprocessed := FALSE;
FETCH c1
INTO vlevel, vtname;
IF nindex > 1 AND atname (atname.LAST - 1) = vtname
THEN
--DBMS_OUTPUT.PUT_LINE('2 ==== vtname ' ||vtname || ' '|| atname.count|| ' '||atname.last || ' '||atname( atname.last-1));
bprocessed := TRUE;
END IF;
IF NOT bprocessed
THEN
nindex := nindex + 1;
atname.EXTEND;
atname (nindex) := vtname;
PIPE ROW (vlevel || ' => ' || vtname);
DBMS_OUTPUT.put_line ( ' **** nindex - atname( nindex) '
|| nindex
|| ' - '
|| atname (nindex)
DLOG('ADDING ',vTname); A LOGGING ATONOMUS PROCEDURE FOR DEBUG PURPOSE
END IF;
EXIT WHEN c1%NOTFOUND;
END LOOP;
CLOSE c1;
FOR i IN 1 .. atname.COUNT
LOOP
DBMS_OUTPUT.PUT_LINE('atname (i) ' ||atname (i));
END LOOP;
RETURN;
EXCEPTION
WHEN no_data_needed
THEN -- THIS EXCEPTION HAS TO BE THERE TO GET THE FUCTION WORKABLE
DBMS_OUTPUT.put_line (SQLERRM);
RETURN;
--SELECT * FROM TABLE( get_child_tables('TB_XOP_LETR_TEMPLATE','OPS$CMS',5));
END get_child_tables;
Edited by: user3066657 on Jul 21, 2011 8:42 AM
Edited by: user3066657 on Jul 21, 2011 11:26 AM -
Query to find out the table name and column name..
Hi Experts,
I have an Oracle DB in which has more than 50 tables and 100,000 records. I want to get the record which contains *"ITxtVarValue references a non existing text"* the text.
Is there any query there to find out the table name and column name of this particular record where it reside?
Please help. Any help will be rewarded.
Thanks,
GUsing this forum's search function, I found a thread that should give you an idea: How to find out a tablename
C. -
How to find out the tables from extract structures
Hi All,
As I know my data sources are 2lis_04_p_matnr,2lis_04_p_comp,2lis_04_p_arbpl.
How to find out the tables concerned with the fields in the extract structure.
ThanksPl check this link:
http://help.sap.com/saphelp_nw2004s/helpdata/en/29/79eb3cad744026e10000000a11405a/frameset.htm
OR navigate to: help.sap.com - netweaver - bi content - supply chain - look for your application area and the extractor and you will see the source tables and fields.
Ravi Thothadri -
How to find out the table name
hi,
how to find out the table name in which the data from a particular structure in a particular screen is saved,
please tell me the procedure to find out the table name for saving the structure data that is inputted at runtime.
Thanks,
chinnuHi Chinnu,
Below are the tables that are referred to find out the table names
DD02L Table contains the SAP Tables.
DD02T Table contains the SAP Table Texts.
DD01L Table contains the Domains
DD01T Table contains the Domain Texts.
DD03L Table contains the Table Fields.
DD03T Table contains the Table Field Texts. (Language Dependent)
DD04L Table contains the Data Elements.
DD04T Table contains the Data Element Texts.
DD05s Table contains the Foreign Key Fields
last words with L and T only. L->Database Fetch T-> Text
And the procedure to retrive the table name is as follows
1. Go to se11
2. Enter table name DD03T and execute
3. In the next screen you can find Tables, fields, test etc. there you can enter the field name in the fields
and execute.
4. you can get all tables which contains the field.
I hope this will solve your problem
Regards,
Chandru -
How to find out the tables related to CRM datasources?
How to find out the tables related to CRM datasources? For example, the table related to 0CRM_OPPT_H.
Regards,
R.RaviHi Ravi,
To find out all tables used go into the CRM source system to transaction RSA3 and prepare the selections for extraction of your datasource.
In a parallel session execute transaction ST05 and press the button 'Activate Trace'
Go back to the extracor checker and execute the extraction.
Switch sessions and subsequently 'Deactivate Trace' and 'Display Trace'.
This will list all tables used.
regards,
Olav -
How to search this value in oracle database to find out the table
Hi expert,
I know there is a value in oracle database, please show me how to search this value in oracle database to find out the table holding this value.
Many Thanks,918440 wrote:
Hi friends,
this question is really practical, I already know there is value from application saved in database, I want to search the whole database to figure out which table the value is contained.write SQL that writes SQL to query every table.
Handle: 918440
Status Level: Newbie
Registered: Mar 2, 2012
Total Posts: 20
Total Questions: 10 (10 unresolved)
why do you waste time here when you NEVER get any answer to any question you post? -
URGENT: How to find out the Tables for Routines in BW.
Hi BW Gurus,
How to find out the Tables for Routines in BW.
I have this routine id <b>45XFAEI7LKIFIRDUKQG127YWW</b> and it is in inactive state and i want to activate it.
thanks in advance,
points will be rewarded.
Regards,
Maruthi.Hi Maruthi,
Check table RSUPDROUT using the routine id as input for the field CODEID. You will get the technical name of the update rule.
Cheers,
Praveen. -
How to find out the table, data for the IDOCS is pulled from?
HI
The ZFPH9999397 VENDOR FEED job runs the RBDMIDOC program with the variant Z9999_397. This creates IDOCS that are sent out and eventually wind up in IMOS.
The IDOC Type is CREMAS.
Can you tell me which table or tables the data for these IDOCS is pulled from?
Or tell me the procedure to find out the table name.
Thanks,
das.
Edited by: sathish dasari on Dec 10, 2009 11:54 AMYou can use Transp. Table TBD62 .
enter Message Type CREMAS
you will get the list of tables and the fields from which data is pulled based on the change pointers in Transp. Table BDCP. -
How can I find out the list of users who has the access to IT 0008
All,
How can I find out the list of users who has the W R permission for IT 008
for others?
SUIM doe not look like giving me the correct results.
Please advise.
Thanks,
From
PT.combine tables AGR_1251 and table AGR_Users on keyfield AGR_USERS
in tabel AGR_1251 select on Field LOW values IT0008.OR W OR R,
noiw you get also other values
So better solution run the query twice over AGR1251 first on IT0008 and secondly on values W OR R and then the result over table AGR_USERS
Youu also might put an additional selection on object P* (only selecting HR objects)
output wll be UID in table AGR_USERS -
How can I find out the first intial row in VA02-output transaction??
How can I find out the first intial row in the screen which appears during sales order change (VA02) >>enter the sales order number >>after the first screen appears >>in the menu bar go to EXTRAS>>OUTPUT>>HEADER>>EDIT??
I have to find out the first row in the OUTPUT column which is empty,then populate it with some data using BDC.
usefull answers will be rewarded.
regards,
Shashank .Pass the sale order number in the object key of NAST table,
if u get 3 entires, then u need to place ur entry in the fourth row in that table control thru BDC.
I think u got the logic.
Regards,
Sujatha. -
How can I find out the age of my imac
How can I find out the age of my computer to see if it will be able to download latest operating system
Open System Profiler in Utilities folder. Look for the Model ID on the right. Then see the following:
Upgrade Paths to Snow Leopard, Lion, and/or Mountain Lion
You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
Upgrading to Snow Leopard
You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard — Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
Snow Leopard General Requirements
1. Mac computer with an Intel processor
2. 1GB of memory
3. 5GB of available disk space
4. DVD drive for installation
5. Some features require a compatible Internet service provider;
fees may apply.
6. Some features require Apple’s iCloud services; fees and
terms apply.
Upgrading to Lion
If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
You can purchase Lion by contacting Customer Service: Contacting Apple for support and service — this includes international calling numbers. The cost is $19.99 (as it was before) plus tax. It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
Lion System Requirements
1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
or Xeon processor
2. 2GB of memory
3. OS X v10.6.6 or later (v10.6.8 recommended)
4. 7GB of available space
5. Some features require an Apple ID; terms apply.
Upgrading to Mountain Lion
To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
OS X Mountain Lion — System Requirements
Macs that can be upgraded to OS X Mountain Lion
1. iMac (Mid 2007 or newer) — Model Identifier 7,1 or later
2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) —
Model Identifier 5,1 or later
3. MacBook Pro (Mid/Late 2007 or newer) — Model Identifier 3,1 or later
4. MacBook Air (Late 2008 or newer) — Model Identifier 2,1 or later
5. Mac mini (Early 2009 or newer) — Model Identifier 3,1 or later
6. Mac Pro (Early 2008 or newer) — Model Identifier 3,1 or later
7. Xserve (Early 2009) — Model Identifier 3,1 or later
To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
Are my applications compatible?
See App Compatibility Table — RoaringApps.
For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion. -
How can I find out the java version Oracle has ?
How can I find out the java version Oracle has built in?
I've tried with ..
SELECT comp_id, comp_name, version
FROM dba_registry ;
But I get.."table doesn't not exist".
Thenks in advance!Pl post details of OS and database versions. Pl see this MOS Doc
What Version of Java is Compatible With The Database JVM? [ID 438294.1]
and these Oracle docs
11gR2 - http://docs.oracle.com/cd/E11882_01/appdev.112/e25518/adfns_environments.htm#ADFNS654
11gR1 - http://docs.oracle.com/cd/B28359_01/java.111/b31225/whatsnew.htm
HTH
Srini
Maybe you are looking for
-
Merging numbers documents into single PDF for emailing
I have 23-50 numbers documents (invoices) that I want to send as one single PDF (to save time). When I select them all in Finder and open in Preview they are not full size and are rotated the wrong way. When I open them seperately in Numbers and cmd
-
Difference between Camera Raw 8.7.1 and 7.4 using Photoshop Elements 11
Hi, I have been using Elements 11 to edit my pics which are shot in RAW. I've been editing the images first with Camera Raw 7.4, very sucessfully and finishing them in Elements 11. Very satisfied. I just upgraded to Elementrs 13 which includes a new
-
Essbase - spurious decimal places??!!
Hi, having double checked my source data I have the following issue, I import balances into Essbase, using Hyperion Planning's flat file interfaces, so I can easily see the source data only has 0 d.p. for GBP, 2 d.p. for STATs (non-currency) - my pro
-
I am trying to move a database column value into a placeholder to manipulate later. I get the following error: REP-1276 'Placeholder<name> references one or more non-formula columns'. Here is the script: function PH_F_UNB_OBLIGFormula return Number i
-
Screen is frozen blue after re-starting...help!
my screen is frozen blue after re-starting... help!