EXPORT at schema level, but exclude some tables within the export
I have been searching, but had no luck in finding the correct syntax for my situation.
I'm simply trying to export at the schema level, but I want to omit certain tables from the export.
exp cltest/cltest01@clprod file=exp_CLPROD092508.dmp log=exp_CLPROD092508.log statistics=none compress=N
Thanks!
Hi,
Think in simple first.. you use the TABLES Clause..
Example.
exp scott/tiger file=empdept.expdat tables=(EMP,DEPT) log=empdept.log
In case if you scehma contains less number of tables.. !!
Logically if you have large number of tables, I say this solutuion might work ...all around... alternative solutions to solve the problems.. If you have hundered of tables... in your schema....
Try to Create a New Schema and using CTAS create a tables which are skippable in the Current Scehma.
Do an Export and once the Job Done.. you recreate the backup fom New schema
and Import to DB (Destinaiton)
- Pavan Kumar N
Similar Messages
-
Export_to_Excel_pkg - How to exclude some fields in the export?
While it does generate an excel spreadsheet, it includes all the columns of my report even though I have conditions on most of them. I allow the user to select the columns he/she wants in the report. So I want the Excel spreadsheet to have the same fields as the report. How can this be accomplished?
<br><br>
I use APEX 3.0.1 not APEX 3.1 and I don't use a report server.
<br>
<br>
Please help!
<br>
Regards,
RobertI was able to create an Excel spreadsheet excluding some fields based on the column's condition. I accomplished this by modifying the Export_to_Excel_pkg package. I added a new procedure and modified an existing one (print_report_header). I bolded the area where I changed or added code.<br><br>
FOR c IN (SELECT column_alias, NVL (heading, column_alias) heading,
format_mask
,condition_type,condition_expression1,condition_expression2
FROM apex_application_page_rpt_cols
WHERE page_id = p_page_id
AND application_id = p_app_id
AND region_id = TO_NUMBER (LTRIM (p_region, 'R'))
-- AND include_in_export = 'Yes'
AND (column_link_text is null or
(column_link_text is not null and
UPPER(column_link_text)=UPPER(column_alias))
) -- and column_is_hidden = 'No'
ORDER BY display_sequence)
LOOP
if upper(c.condition_type) = 'PLSQL_EXPRESSION' then
export_excel_pkg.get_include_in_report(p_page_id
,p_app_id
,p_region
,c.column_alias
,c.condition_expression1
,v_include_in_report);
if v_include_in_report <> 'YES' then
goto next_field;
else
null;
end if;
else
null;
end if;
v_number_of_cols := v_number_of_cols + 1;
v_column_header_list :=
v_column_header_list || ';' || REPLACE (c.heading, ';', ' ');
v_column_alias_list := v_column_alias_list || ';' || c.column_alias;
-- apply column formatting
IF c.format_mask IS NOT NULL
THEN
v_column_select_list :=
v_column_select_list
|| ',to_char('
|| c.column_alias
|| ','''
|| c.format_mask
|| ''') '
|| c.column_alias;
ELSE
v_column_select_list :=
v_column_select_list || ',' || c.column_alias;
END IF;
<<next_field>>
null; END LOOP;
The new procedure:<br>
PROCEDURE get_include_in_report (
p_page_id IN number,
p_app_id IN number,
p_region IN VARCHAR2,
p_column_alias IN VARCHAR2,
p_condition_expression1 IN VARCHAR2,
p_include_in_report OUT VARCHAR2)
AS
v_condition varchar2(20) := 'PLSQL_EXPRESSION';
v_query varchar2(32767);
v_include varchar2(3) := 'NO';
v_cur_hdl INT;
v_rows_processed INT;
begin
v_query :=
'SELECT ''YES'' '
|| 'FROM apex_application_page_rpt_cols '
|| 'WHERE page_id = :g_page_id '
|| 'AND application_id = :g_app_id '
|| 'AND region_id = TO_NUMBER (LTRIM (:g_region, ''R'')) '
|| 'AND condition_type = :g_condition '
|| 'AND column_alias = :g_alias '
|| 'AND ' || p_condition_expression1 ;
-- open cursor
v_cur_hdl := DBMS_SQL.OPEN_CURSOR;
-- parse the query
DBMS_SQL.PARSE(v_cur_hdl,v_query,DBMS_SQL.NATIVE);
-- Supply binds (bind by name)
DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_page_id',p_page_id);
DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_app_id', p_app_id);
DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_region', p_region);
DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_condition',v_condition);
DBMS_SQL.BIND_VARIABLE(v_cur_hdl, 'g_alias',p_column_alias);
-- Describe defines
DBMS_SQL.DEFINE_COLUMN(v_cur_hdl, 1, v_include, 3);
-- Execute
v_rows_processed := DBMS_SQL.EXECUTE(v_cur_hdl);
-- Fetch a row
IF DBMS_SQL.FETCH_ROWS(v_cur_hdl) > 0 THEN
-- Fetch columns from the row
DBMS_SQL.COLUMN_VALUE(v_cur_hdl, 1, v_include);
-- Process
ELSE
null;
END IF;
DBMS_SQL.CLOSE_CURSOR(v_cur_hdl); -- close cursor
p_include_in_report := v_include;
end;
<br>
<br>
I hope this helps others as well.
<br>
<br>
Regards,<br>
Robert -
How to exclude some tables from schema level replicatio????
Hi,
I am working on oracle10g stream replication.
My replication type is "Schema Based".
So can anyone assist me to undersatnd, how to exclude some tables from schema based replication.
Thanks,
FaziarainYou can use rules and include them in the rule set, lets say you dont want LCR to be queued for table_1 in schema SALES, write two rules one for DDL and another for DML with NOT logical condition.
DBMS_RULE_ADM.CREATE_RULE(
rule_name => 'admin.SALES_not_TALBE_1_dml', condition => ' (:dml.get_object_owner() = ''SALES'' AND NOT ' ||
' :dml.get_object_name() = ''REGIONS'') AND ' ||
' :dml.is_null_tag() = ''Y'' ');
DBMS_RULE_ADM.CREATE_RULE(
rule_name => 'admin.hr_not_regions_dlll',
condition => ' (:dml.get_object_owner() = ''SALES'' AND NOT ' ||
' :ddl.get_object_name() = ''table_!'') AND ' ||
' :dsl.is_null_tag() = ''Y'' ');
just go through this document once, http://download.oracle.com/docs/cd/B28359_01/server.111/b28321/strms_rules.htm#i1017376
Edited by: user8710159 on Sep 16, 2009 5:21 PM -
How to exclude some tables in inoort
Hi all,
how to exclude some tables . For example, I have Oracle
export file which contains a hundred tables, but I want to import all the tables except one, i.e. its (some table name) . Can I achieve this goal?
thanks in advance.Hello,
It depends on your Oracle Release.
Up to Oracle *9.2* you have just the classical export/import utility.
So, you'll have to list the Tables you want to Import with the following parameter:
TABLES=(
<table_1>,
<table_n>
)Starting with *10.1* you have the Datapump (expdp / impdp). With this new utility you have the very useful parameter EXCLUDE. It works like that:
EXCLUDE=TABLE:"='<table>'"Please find a link about this topic:
http://www.oraclefaq.net/2007/03/09/expdp-datapump-excludeinclude-parameters/
Hope this help.
Best regards,
Jean-Valentin -
Excluding some Vendors in the range in F110
In Transaction F110 ,The User Enters a ranges of Vendors in the Parameter.In some cases they want to exclude some Vendors in the Range but that Provision is not provided in the EXTENSION of that Parameter.
Please Suggest me,is there currently a way with in F11O.
Regards
Balaji.Hi
I can only split the range into several range in order to exclude some value, so If you need to insert the range beetween 1 and 10 and exclude the number 6, it needs to insert two range:
- 1 to 5
- 7 to 10
Max -
How to encrypt column of some table with the single method on oracle7/814?
How to encrypt column of some table with the single method on oracle7/814?
How to encrypt column of some table with the single method on oracle7/814?
-
How to encrypt column of some table with the single method ?
How to encrypt column of some table with the single method ?
How to encrypt column of some table with the single
method ?How to encrypt column of some table with the single
method ?
using dbms_crypto package
Assumption: TE is a user in oracle 10g
we have a table need encrypt a column, this column SYSDBA can not look at, it's credit card number.
tha table is
SQL> desc TE.temp_sales
Name Null? Type
CUST_CREDIT_ID NOT NULL NUMBER
CARD_TYPE VARCHAR2(10)
CARD_NUMBER NUMBER
EXPIRY_DATE DATE
CUST_ID NUMBER
1. grant execute on dbms_crypto to te;
2. Create a table with a encrypted columns
SQL> CREATE TABLE te.customer_credit_info(
2 cust_credit_id number
3 CONSTRAINT pk_te_cust_cred PRIMARY KEY
4 USING INDEX TABLESPACE indx
5 enable validate,
6 card_type varchar2(10)
7 constraint te_cust_cred_type_chk check ( upper(card_type) in ('DINERS','AMEX','VISA','MC') ),
8 card_number blob,
9 expiry_date date,
10 cust_id number
11 constraint fk_te_cust_credit_to_cust references te.customer(cust_id) deferrable
12 )
13 storage (initial 50k next 50k pctincrease 0 minextents 1 maxextents 50)
14 tablespace userdata_Lm;
Table created.
SQL> CREATE SEQUENCE te.customers_cred_info_id
2 START WITH 1
3 INCREMENT BY 1
4 NOCACHE
5 NOCYCLE;
Sequence created.
Note: Credit card number is blob data type. It will be encrypted.
3. Loading data encrypt the credit card number
truncate table TE.customer_credit_info;
DECLARE
input_string VARCHAR2(16) := '';
raw_input RAW(128) := UTL_RAW.CAST_TO_RAW(CONVERT(input_string,'AL32UTF8','US7ASCII'));
key_string VARCHAR2(8) := 'AsDf!2#4';
raw_key RAW(128) := UTL_RAW.CAST_TO_RAW(CONVERT(key_string,'AL32UTF8','US7ASCII'));
encrypted_raw RAW(2048);
encrypted_string VARCHAR2(2048);
BEGIN
for cred_record in (select upper(CREDIT_CARD) as CREDIT_CARD,
CREDIT_CARD_EXP_DATE,
to_char(CREDIT_CARD_NUMBER) as CREDIT_CARD_NUMBER,
CUST_ID
from TE.temp_sales) loop
dbms_output.put_line('type:' || cred_record.credit_card || 'exp_date:' || cred_record.CREDIT_CARD_EXP_DATE);
dbms_output.put_line('number:' || cred_record.CREDIT_CARD_NUMBER);
input_string := cred_record.CREDIT_CARD_NUMBER;
raw_input := UTL_RAW.CAST_TO_RAW(CONVERT(input_string,'AL32UTF8','US7ASCII'));
dbms_output.put_line('> Input String: ' || CONVERT(UTL_RAW.CAST_TO_VARCHAR2(raw_input),'US7ASCII','AL32UTF8'));
encrypted_raw := dbms_crypto.Encrypt(
src => raw_input,
typ => DBMS_CRYPTO.DES_CBC_PKCS5,
key => raw_key);
encrypted_string := rawtohex(UTL_RAW.CAST_TO_RAW(encrypted_raw)) ;
dbms_output.put_line('> Encrypted hex value : ' || encrypted_string );
insert into TE.customer_credit_info values
(TE.customers_cred_info_id.nextval,
cred_record.credit_card,
encrypted_raw,
cred_record.CREDIT_CARD_EXP_DATE,
cred_record.CUST_ID);
end loop;
commit;
end;
4. Check credit card number script
DECLARE
input_string VARCHAR2(16) := '';
raw_input RAW(128) := UTL_RAW.CAST_TO_RAW(CONVERT(input_string,'AL32UTF8','US7ASCII'));
key_string VARCHAR2(8) := 'AsDf!2#4';
raw_key RAW(128) := UTL_RAW.CAST_TO_RAW(CONVERT(key_string,'AL32UTF8','US7ASCII'));
encrypted_raw RAW(2048);
encrypted_string VARCHAR2(2048);
decrypted_raw RAW(2048);
decrypted_string VARCHAR2(2048);
cursor cursor_cust_cred is select CUST_CREDIT_ID, CARD_TYPE, CARD_NUMBER, EXPIRY_DATE, CUST_ID
from TE.customer_credit_info order by CUST_CREDIT_ID;
v_id customer_credit_info.CUST_CREDIT_ID%type;
v_type customer_credit_info.CARD_TYPE%type;
v_EXPIRY_DATE customer_credit_info.EXPIRY_DATE%type;
v_CUST_ID customer_credit_info.CUST_ID%type;
BEGIN
dbms_output.put_line('ID Type Number Expiry_date cust_id');
dbms_output.put_line('-----------------------------------------------------');
open cursor_cust_cred;
loop
fetch cursor_cust_cred into v_id, v_type, encrypted_raw, v_expiry_date, v_cust_id;
exit when cursor_cust_cred%notfound;
decrypted_raw := dbms_crypto.Decrypt(
src => encrypted_raw,
typ => DBMS_CRYPTO.DES_CBC_PKCS5,
key => raw_key);
decrypted_string := CONVERT(UTL_RAW.CAST_TO_VARCHAR2(decrypted_raw),'US7ASCII','AL32UTF8');
dbms_output.put_line(V_ID ||' ' ||
V_TYPE ||' ' ||
decrypted_string || ' ' ||
v_EXPIRY_DATE || ' ' ||
v_CUST_ID);
end loop;
close cursor_cust_cred;
commit;
end;
/ -
How do you list tables within the tablespace?
Does anyone know how to list and view the tables within the tablespace. I am new to Oracle and I would like to view the tables, but my documentation is telling me how to create everything, but not to view it. Please advise, and thanks again.
select owner, table_name
from user_tables -- or all_tables, or dba_tables
where tablespace_name = :ts_name; -
Export with all objects and only some table data
Hi,
can we use exclude and include both at a time.Because I want export full schema but data required only some 5 table, Is it possible.
please share expdp and impdp query.
Regs,
BrijeshHello,
can we use exclude and include both at a time.No, EXCLUDE and INCLUDE are mutually exclusive.
I want export full schema but data required only some 5 table, Is it possible.You can make 2 separate Exports:
- *1.* With the metadata only, by using the parameter below:
CONTENT=METADATA_ONLY- *2.* With the Data of the 5 Tables.
The _1st Export_ will let you have all the Objects of the Schema but you won't have any rows.
For this _2nd Export_, you may use the INCLUDE parameter so as to select the 5 Tables for which you need Datas. As previously posted, the QUERY parameter let you apply a filter on the rows for each Tables. By that way you'll have only an extract of the content of the 5 Tables.
NB: The use of a Parameter File is recommended so as to manage better all the Parameters you need, and avoid some troubles with some special characters.
Hope this help.
Best regards,
Jean-Valentin
Edited by: Lubiez Jean-Valentin on Apr 19, 2011 5:43 PM -
Schema level with particular partition tables
Hi All,
I need to export all objects ie. schema level option but I need to export the particular partition of a table..
ie. i need EXCLUDE particular partition data for schema level back up.
Kindly suggest me how to archive the above..
Thanks & Regards
Sami
Edited by: Sami on Jul 6, 2012 4:41 PMHi All,
I have used the following option to export schema level with partition tables
YYYYY/********@devchn schemas=YYYYY EXCLUDE=TABLE:"IN('ACCOUNT_STATEMENT_HISTORY','CUSTOMER_IMAGE','XAPI_ACTIVITY_HISTORY','GL_ACCOUNT_SUMMARY$AUD','GL_ACCOUNT_HISTORY:GL_ACCT_HIST_PART1','GL_ACCOUNT_HISTORY:GL_ACCT_HIST_PART2','GL_ACCOUNT_HISTORY:GL_ACCT_HIST_PART3','GL_ACCOUNT_HISTORY:GL_ACCT_HIST_PART4','GL_ACCOUNT_HISTORY:GL_ACCT_HIST_PART5','GL_ACCOUNT_HISTORY:GL_ACCT_HIST_PART6','GL_ACCOUNT_HISTORY:GL_ACCT_HIST_PART7','DEPOSIT_ACCOUNT_HISTORY:DEP_ACCT_HIST1','DEPOSIT_ACCOUNT_HISTORY:DEP_ACCT_HIST2', 'DEPOSIT_ACCOUNT_HISTORY:DEP_ACCT_HIST3','TXN_JOURNAL:TRX_JOURN_PART1','TXN_JOURNAL:TRX_JOURN_PART2')" directory=DUMPDIR1 dumpfile=MSB_06-July-2012.dmp logfile=exp_MSB_06-July-2012.log but its not work..
Log file
. . exported "YYYYY."."TXN_JOURNAL":"TRX_JOURN_PART3" 1.801 GB 6650371 rows
. . exported "YYYYY."."EVENT_JOURNAL" 1.533 GB 15930785 rows
. . exported "YYYYY."."LOAN_ACCOUNT$AUD" 1.287 GB 6339368 rows
. . exported "YYYYY."."GL_ACCOUNT_HISTORY":"GL_ACCT_HIST_PART6" 1.212 GB 5860272 rows
. . exported "YYYYY."."GL_ACCOUNT_HISTORY":"GL_ACCT_HIST_PART5" 1.102 GB 5363721 rows
. . exported "YYYYY."."DEPOSIT_ACCOUNT_HISTORY":"DEP_ACCT_HIST3" 1.055 GB 5530280 rows
. . exported "YYYYY."."GL_ACCOUNT_HISTORY":"GL_ACCT_HIST_PART4" 929.4 MB 4513889 rows
. . exported "YYYYY."."DP_ACCT_INTEREST_HISTORY" 925.0 MB 7002553 rows
. . exported "YYYYY."."GL_ACCOUNT_HISTORY":"GL_ACCT_HIST_PART2" 909.8 MB 4441940 rows
. . exported "YYYYY."."GL_ACCOUNT_HISTORY":"GL_ACCT_HIST_PART3" 768.3 MB 3786671 rows
. . exported "YYYYY."."ACCOUNT$AUD" 709.8 MB 4348526 rows
. . exported "YYYYY."."EVENT_CHARGE_JOURNAL" 663.9 MB 5303756 rows
. . exported "YYYYY."."DP_ACCT_CYCLE_STAT_HIST" 655.4 MB 4389715 rows
. . exported "YYYYY."."DP_ACCT_PERIOD_CYCLE_STAT_HIST" 569.1 MB 3733176 rows
. . exported "YYYYY."."DP_ACCT_CHARGE_CYCLE_STAT_HIST" 535.4 MB 3712447 rows
. . exported "YYYYY."."GL_ACCOUNT_HISTORY":"GL_ACCT_HIST_PART7" 473.3 MB 2238240 rows
. . exported "YYYYY."."WF_WORK_ITEM_HISTORY" 474.4 MB 1887956 rows
. . exported "YYYYY."."OFFLINE_OUTBOUND_TXN_LOG" 478.4 MB 32803 rows
. . exported "YYYYY."."OPERATIONAL_SERVICE_ERROR_LOG" 291.8 MB 55333 rows
. . exported "YYYYY."."TXN_JOURNAL":"TRX_JOURN_PART1" 350.3 MB 1352267 rows
. . exported "YYYYY."."DEPOSIT_ACCOUNT_STAT" 313.6 MB 414942 rows
. . exported "YYYYY."."CORRESPONDENCE_QUEUE_BK" 295.6 MB 1816383 rows
. . exported "YYYYY."."EXT_TXN_JOURNAL" 255.6 MB 1234290 rows
. . exported "YYYYY."."PERSONAL_CUSTOMER$AUD" 244.7 MB 1018705 rows
. . exported "YYYYY."."GL_ACCOUNT_STAT" 228.3 MB 873915 rows
. . exported "YYYYY."."TXN_JOURNAL":"TRX_JOURN_PART2" 228.8 MB 855180 rows
. . exported "YYYYY."."DEPOSIT_ACCOUNT_HISTORY":"DEP_ACCT_HIST1" 210.5 MB 1119932 rows
. . exported "YYYYY."."USER_ROLE_ALERT" 180.9 MB 3059052 rows
. . exported "YYYYY."."CUSTOMER$AUD" 172.7 MB 1005897 rows
. . exported "YYYYY."."DEPOSIT_ACCOUNT_HISTORY":"DEP_ACCT_HIST2" 162.3 MB 837967 rows
. . exported "YYYYY."."DEPOSIT_ACCOUNT_SUMMARY" 160.7 MB 414942 rows
. . exported "YYYYY."."CUSTOMER_IMAGE_HISTORY" 142.0 MB 10085 rows
. . exported "YYYYY."."SYSUSER$AUD" 137.9 MB 986069 rows
. . exported "YYYYY."."TXN_BATCH_ITEM$AUD" 143.9 MB 893961 rows
. . exported "YYYYY."."ALERT" 130.8 MB 652573 rows
. . exported "YYYYY."."EXT_DP_ACCOUNT_SUMMARY" 132.3 MB 336115 rows
. . exported "YYYYY."."GL_ACCOUNT_HISTORY":"GL_ACCT_HIST_PART1" 132.7 MB 681899 rows
. . exported "YYYYY."."DEPOSIT_ACCOUNT_INTEREST" 113.0 MB 835126 rows
. . exported "YYYYY."."EXT_DP_ACCOUNT_INTEREST" 112.3 MB 625117 rows
. . exported "YYYYY."."GL_ACCOUNT_SUMMARY" 103.5 MB 873885 rows
. . exported "YYYYY."."DP_ACCT_INTEREST_TIER_HISTORY" 102.4 MB 1413589 rows
. . exported "YYYYY."."GL_ACCOUNT_MONTHLY_STAT" 98.52 MB 852631 rows
. . exported "YYYYY."."GL_ACCOUNT_QUARTERLY_STAT" 98.45 MB 852630 rows
. . exported "YYYYY."."GL_ACCOUNT_YEARLY_STAT" 98.47 MB 852630 rows
. . exported "YYYYY."."LN_ACCT_REPMNT_EVENT" 91.53 MB 902496 rows
. . exported "YYYYY."."WF_WORK_ITEM_CHKLST_RESP" 83.03 MB 538855 rows
. . exported "YYYYY."."DEPOSIT_ACCOUNT$AUD" 79.53 MB 450801 rows
. . exported "YYYYY."."ACCOUNT_CHEQUE_INVENTORY" 73.38 MB 910879 rows
. . exported "YYYYY."."EXT_DP_ACCOUNT_INTEREST_TIER" 71.44 MB 670870 rows
. . exported "YYYYY."."PENDING_TXN_JOURNAL" 44.14 MB 9578 rows
. . exported "YYYYY."."CUSTOMER" 67.22 MB 405785 rows
. . exported "YYYYY."."TXN_BATCH_ITEM" 66.98 MB 458442 rows
. . exported "YYYYY."."ACCOUNT" 58.82 MB 443064 rows
. . exported "YYYYY."."ACCOUNT_CYCLIC_CHARGE" 56.00 MB 405963 rows
. . exported "YYYYY."."EXT_CUSTOMER" 57.16 MB 321364 rows
. . exported "YYYYY."."EXT_LN_ACCT_REPMNT_EVENT" 61.50 MB 437790 rows
. . exported "YYYYY."."ORGANISATION_CUSTOMER$AUD" 49.84 MB 241014 rows
. . exported "YYYYY."."OFFLINE_ASYNCH_QUEUE" 52.14 MB 3562 rows
. . exported "YYYYY."."OPERATIONAL_SVCE_MAN_RUN_HIST" 47.91 MB 766864 rows
. . exported "YYYYY."."DEPOSIT_ACCOUNT_INTEREST_TIER" 46.44 MB 670938 rows
. . exported "YYYYY."."LN_ACCT_PERIOD_CYCLE_STAT_HIST" 42.09 MB 260703 rows
. . exported "YYYYY."."ADDRESS" 41.39 MB 411753 rows
. . exported "YYYYY."."EXT_ACCOUNT_RELATIONSHIP" 41.98 MB 305353 rowsEXCLUDE option is not working for partition tables.. But its working fine for other tables
examples
EXCLUDE=TABLE:"IN('ACCOUNT_STATEMENT_HISTORY','CUSTOMER_IMAGE','XAPI_ACTIVITY_HISTORY','GL_ACCOUNT_SUMMARY$AUD'
{code}
the above part is working fine..
But.
{code}
EXCLUDE=TABLE:"IN('GL_ACCOUNT_HISTORY:GL_ACCT_HIST_PART5','GL_ACCOUNT_HISTORY:GL_ACCT_HIST_PART6')the above exclude option is not working.. data's from the table are exported into the dump..
Thanks & Regards
Sami. -
Impdp exclude some table grants
Hi,
I exported a schema containing tables. Each table has grants provided to other schemas.
for example:
the schema CSFDS_BAR grants SELECT, INSERT, UPDATE, DELETE on the table EXAMPLE to the schema CSFDS_FOO
and SELECT on the same table to the schema QUX.
I would like to import the datapump to another schema: ERHPQ_BAR; and remap the grants of the table EXAMPLE of CSFDS_FOO to ERHPQ_FOO but exclude the grant provided to QUX.
I use the following parameters to remap the schemas.
SCHEMAS=CSFDS_BAR
EXCLUDE=USER,SYSTEM_GRANT,ROLE_GRANT,DEFAULT_ROLE,TABLESPACE_QUOTA
REMAP_SCHEMA=CSFDS_BAR:ERHPQ_BAR
REMAP_SCHEMA=CSFDS_FOO:ERHPQ_FOO
Grants to CSFDS_FOO are correctly remap to ERHPQ_FOO. But I haven't a way to exclude the grants to QUX.
I tried EXCLUDE=OBJECT_GRANT:"GRANTEE in ('QUX')" but failed.
Please advice.
SebastienHi,
"The error I got is
With the Partitioning, OLAP and Data Mining options
ORA-39001: invalid argument value
ORA-39071: Value for EXCLUDE is badly formed.
ORA-00920: invalid relational operator"
this Error you get because you can not use the wrong syntax for Exclude in your command
I tried your suggestion but it only exclude the grants provided the grantor not the grantee.
AFAIK , you can not do what you want. -
How to know querry level fields from which tables in the source system
Hi Experts,
let's say we've two fields in the querry e.g: Actual GI Quantity, Actual Value of GI
This fields from PP Querris level how would i know from which table we're getting data is there any easy process to find out please drop your suggestions..
Next doubt is when generate querry e.g. PM Module we don't know exatly what're the available tables & fields technical names but in my currently project using SAP Delivered Infocubes & Querries at the moment & generating querries but when we test in the Portal it's shows some fields '0', X. I've to check in source system weather it's having any values or not.
Can anybody drops your valuable words
Cheers
SureshHi all,
I'm a colleague of Maarten, and I think maybe we didn't explain well enough what we want. So let me try to elaborate:
We want to obtain the reference (within the SOAP-Body of the XI-message) to the attachment which contains the main payload (at least, in XI itself). This reference seems to have gone missing, once our adapter module (after having gone through XI) is entered (and, by the way, before we enter the SOAP-receiver-adapter).
The JAVA-representation of the XI-message seems to hide the fact that in XI itself, the main payload is an attachment, referenced from within the SOAP-Body.
Nevertheless, we would like to obtain/retain(?) that reference, in order to put it in our own to-be-created-additional-attachment, which would go (via the PayloadSwapBean-module of SAP) into the SOAP-body of the final SOAP-call, and should then reference the 'new attachment' (which was (in XI itself) the main payload).
So, I think both answers (up to now) don't help us much (however: thanks for your reaction anyway of course).
So, maybe someone has another idea?
Regards, Fred -
SCF /SCANNOW - is there any option to exclude some files for the scan?
Hi,
please let me know is there any option to exclude some files in SCF /SCANNOW command?
Appreciate your help!
Regards,
PrabuPrabu,
Did your question answered? How is the current situation? Have you tried to replace that file manually successfully?
Please give us a reply in order to know if you need further help.
Karen Hu
TechNet Community Support -
Cannot update Apps, some pages within the iTunes Store are blank
About 2 weeks ago, I started having problems with iTunes.
1) I can update Apps on my iPhone, but I can no longer login to iTunes (11.3.1) and update my my Apps on my Mac (OSX 10.9.4), as the Mac is not recognizing my password, although my iPhone is.
2) When I open the iTunes Store to search for music/movies, etc. not all of the pages within the iTunes Store have content. For example, the "Home Page", "Music", "Movies", "TV Shows", "Books" pages all work and have content. The "App Store", "Podcasts" & iTunesU pages are completely blank and have no content. Also when I Search for certain items, it's hit or miss. Sometimes the search brings something back, and again sometime the search bring back a blank page.
We brought out Mac into an Apple Store yesterday (8/15) and they did not no what is going on. The reinstall the OSX software and we backed up fro a Time machine backup, but it did not fix the issue.
Could this possibly be a glitch in the iTunes software? Would we need to uninstall and reinstall iTunes?
Any help is greatly appreciated. Thank you.EtreCheck version: 1.9.13 (49)
Report generated August 16, 2014 at 10:17:53 AM EDT
Hardware Information: ?
MacBook Pro (15-inch, 2.53GHz, Mid 2009) (Verified)
MacBook Pro - model: MacBookPro5,4
1 2.53 GHz Intel Core 2 Duo CPU: 2 cores
4 GB RAM
Video Information: ?
NVIDIA GeForce 9400M - VRAM: 256 MB
Color LCD 1440 x 900
System Software: ?
OS X 10.9.4 (13E28) - Uptime: 0 days 1:33:13
Disk Information: ?
FUJITSU MJA2250BH FFS G1 disk0 : (250.06 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted>: 209.7 MB
Macintosh HD (disk0s2) / [Startup]: 249.2 GB (46.61 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
HL-DT-ST DVDRW GS23N
USB Information: ?
Apple Internal Memory Card Reader
Apple Inc. Built-in iSight
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Computer, Inc. IR Receiver
Gatekeeper: ?
Mac App Store and identified developers
Kernel Extensions: ?
[loaded] com.Cycling74.driver.Soundflower (1.6.6 - SDK 10.6) Support
Launch Daemons: ?
[loaded] com.adobe.fpsaud.plist Support
[loaded] com.google.keystone.daemon.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
[loaded] com.oracle.java.JavaUpdateHelper.plist Support
[running] com.splashtop.streamer-daemon.plist Support
[loaded] com.splashtop.streamer-srioframebuffer.plist Support
Launch Agents: ?
[loaded] com.google.keystone.agent.plist Support
[not loaded] com.splashtop.streamer-for-root.plist Support
[running] com.splashtop.streamer-for-user.plist Support
User Launch Agents: ?
[loaded] com.adobe.ARM.[...].plist Support
[running] com.akamai.single-user-client.plist Support
[failed] com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist
[running] com.spotify.webhelper.plist Support
[running] com.swarmcast.mlbnexdefautobahn.plist Support
User Login Items: ?
MyTunesController
EEventManager
Genieo
EEventManager
HP Product Research
HPEventHandler
HP Scheduler
Internet Plug-ins: ?
DirectorShockwave: Version: 11.5.8r612 Support
o1dbrowserplugin: Version: 5.4.2.18903 Support
Default Browser: Version: 537 - SDK 10.9
NP2020Player: Version: 5.0.4.0 Support
Silverlight: Version: 5.1.30514.0 - SDK 10.6 Support
FlashPlayer-10.6: Version: 14.0.0.176 - SDK 10.6 Support
Flash Player: Version: 14.0.0.176 - SDK 10.6 Support
QuickTime Plugin: Version: 7.7.3
googletalkbrowserplugin: Version: 5.4.2.18903 Support
iPhotoPhotocast: Version: 7.0
AdobePDFViewer: Version: 9.5.5 Support
CouponPrinter-FireFox_v2: Version: Version 1.1.9 - SDK 10.5 Support
SharePointBrowserPlugin: Version: 14.0.1 Support
JavaAppletPlugin: Version: Java 7 Update 67 Check version
Audio Plug-ins: ?
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins: ?
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
User Internet Plug-ins ?
fbplugin_1_0_3: Version: (null) Support
WebEx64: Version: 1.0 - SDK 10.5 Support
3rd Party Preference Panes: ?
Akamai NetSession Preferences Support
Flash Player Support
Growl Support
MacFUSE Support
Time Machine: ?
Auto backup: YES
Volumes being backed up:
Destinations:
Time Machine Backups [Local] (Last used)
Total size: 465.44 GB
Total number of backups: 24
Oldest backup: 2013-11-02 04:41:58 +0000
Last backup: 2014-08-08 10:37:22 +0000
Size of backup disk: Excellent
Backup size 465.44 GB > (Disk size 0 B X 3)
Time Machine details may not be accurate.
All volumes being backed up may not be listed.
Top Processes by CPU: ?
7% coreaudiod
3% WindowServer
1% Shazam
1% firefox
0% fontd
Top Processes by Memory: ?
512 MB firefox
381 MB iTunes
139 MB com.apple.IconServicesAgent
70 MB com.apple.iTunesLibraryService
66 MB mds_stores
Virtual Memory Information: ?
921 MB Free RAM
1.73 GB Active RAM
616 MB Inactive RAM
526 MB Wired RAM
528 MB Page-ins
0 B Page-outs -
TPM - Planning on Custumer Hierarchy but exclude some customers
Hi,
within TPM it is possible to plan on different Account levels (Single Account, Hierarchy, Target Group).
We've got the requirement if a promotion is planned on a customer hierarchy node, the user needs to have the possibility to
exclude individuel customers underneath this node.
I didn't find any exclusion possibility for customers (only for products).
As anybody experience or an idea of customer exclusion within trade promotion management ?
We are working with CRM 7.0.
Many thanks
AndreasHi Zhenglin,
thanks for your response.
Using Target Group to meet this requirement was also our first idea and we tested it. The selection of BP works fine with target groups as well as the creation of conditon records.
The issues by using Target Groups within TPM are:
- strong limitation with funds management integration
- enhanced rebate process doesn't works with target groups
Therefore is our goal to avoid target groups but we have still the requirement for BP selection under a particular hierarchy node.
Other ideas are very welcome
Many thanks in advance
Maybe you are looking for
-
Hi I am doing a File to File test scenario. I do not have a file access. Can I place the target file in my desktop? How do I do that ? Or can I creata a folder in XI in AL 11 , place there and check the file It would be helpful before I actually plac
-
Add Apex Region Button to a JQuery Dialog Box....
Hello Everyone, I have created a JQuery dialog box modeled as in http://shijesh.wordpress.com/2010/04/10/jquery-modal-form-in-apex-4/. Now my only question is how do i add a region button inside the JQuery dialog box. Please i need this answer desper
-
Download error tap to retry and I keepm getting the same error message.
-
Upgrade 10.5 to 10.7 now?
Is it worth upgrading from 10.5 to 10.7 now? or will the price drop when 10.8 is released this summer? The first reason is that I live in Denmark, and our public login feature has made an update that requires 10.6 or higher to be able to use it agai
-
BB Desktop / Roxio Media Manager Problems
Seriously, how does anyone use this software? I'm using the latest 4.7 version. Connecting my Storm up to my PC (Windows Vista), the overall response time is so slow that it is almost painful to watch. Issues - 1. Checks for applications updates e