How to exclude the grant table of the get be listened
I have to go simple schema level with DDL replication stream. The destination database is not all roles and users that the source database has so much when a grant occurs on the source and the role or user does not exist in the destination database grant fails and I get an error to apply. I want to be able to ignore these.Thank you
The grant is not an automated process so why not use the DBMS_STREAMS. SET_TAG on source DB in the session and then issue the grant:
SQL> exec DBMS_STREAMS.SET_TAG(tag => HEXTORAW('17'));
PL/SQL procedure successfully completed.
grant MY_ROLE to MY_OWNER ;
-- the grant is not captured by streams, so not apply error
SQL> exec DBMS_STREAMS.SET_TAG(tag => null ) ;
PL/SQL procedure successfully completed.
-- capture enabled again in this session
http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_strm.htm
Tags: Database
Similar Questions
-
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.
-
How to exclude the replicatio level schema tables?
Hello
I'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
Faziarainuser498843 wrote:
Hi what you mean this ID: 239623.1
This s document_id in metalink or other things?MetaLink
-
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 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.
-
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.
-
Error! Totals included in the genre. How to exclude the totals?
Hello.
I have a synthesis report including totals in the sort. How can I exclude the total of the sort?
Here is my code:
< code >
Select nvl (to_char (vendor),'Totals:')
the name of the seller,
po_number,
contract_number,
po_amount,
inv_total,
Cast (round (case when po_amount = 0 then 0 nvl(inv_total/po_amount,0) to another end, 2) * 100 as varchar (10)). « % »
Of
(
Select
the name of the seller,
po_number,
contract_number,
Sum (NVL(po_amount,0)) po_amount,
Sum (NVL(inv_total,0)) inv_total
Of
(
Select b.vendor,
b.po_number,
b.WBS,
b.contract_number,
b.po_amount,
a.inv_total
de)
Select
po_number,
WBS,
sum (inv_total) inv_total
Of
invoice, invoice_details, project
where invoice.inv_id = invoice_details.inv_id
and substr (invoice_details.wbs, 1, 6) = project.wbs_sequence
and project.project_number = nvl(:F101_FPC_NUMBER,project.project_number)
Po_number, wbs) a.
(
Select provider, wbs, contract_number, po_number, po_amount sum (po_amount)
po, po_details, project
where po.po_id = po_details.po_id
and substr (po_details.wbs, 1, 6) = project.wbs_sequence
and project.project_number = nvl(:F101_FPC_NUMBER,project.project_number)
b group of seller, po_number, contract_number, wbs)
where = b.po_number a.po_number (+)
and a.wbs (+) = b.wbs)
Group of grouping sets (())
the name of the seller,
po_number,
WBS,
contract_number)))
order by (round (case when po_amount = 0 then 0 nvl(inv_total/po_amount,0) to another end, 2)) * 100 / / desc
< code >
As you can see, the SQL is quite complicated. I need to find a way to keep the 'TOTAL' of the kind.
Any ideas?
Thank you in advance!
Just a crazy hunch... change your first line to this:
Select provider nvl (to_char (vendor),'Totals:');
To do this:
Select nvl (to_char (vendor),'Totals:') vendor_t,.
See what it does
-
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 -
VERY URGENT how to exclude the tag Span of the CSV
Hi guys I have a scenario where I put colors on values in columns, so I use span tag in sql query.when I download reporting in html of its fine. But when I download to CSV the span tag comes with the value of the column. How to avoid the it.i don't want no tag span in CSV.
Published by: Robertson das Sep 29, 2011 12:54 AMSorry - I've updated my first answer before you saw the second idea:
Put the: audit of the QUERY in the query, so if CSV does not include the period.
It should work. I guess you have different colors by column based on the value? If you only need two States - color background or not, then you can use the option to highlight the interactive report.
-
How to exclude the framework when randomization
Hi, I create a 'make your own' style game that contains a button to randomize. I have this code attached to the first keyframe of the clip for the moment:
MovieClip (parent).random_mc.buttonMode = true;
MovieClip (parent).random_mc.addEventListener (MouseEvent.CLICK, randomMouths);
function randomMouths(event:MouseEvent):void {}
Visible = true;
var pic_number: number = 16;
var randomFrame: number = Math.ceil (Math.random () * pic_number);
gotoAndStop (randomFrame);
}
However, I would like to exclude the first image that it is just the empty image by default. Is this possible? Thanks in advance.
Thanks for the help, unfortunately now is ONLY to show the empty frame with no other frames being randomized!
EDIT: PEEM! Just realized the obvious solution - exchanged around the end of statements that you gave and it worked! Thank you very much.
In case anyone is interested, here is the final code - I had to put in a parenthesis at the end.
MovieClip (parent).random_mc.buttonMode = true;
MovieClip (parent).random_mc.addEventListener (MouseEvent.CLICK, randomMouths);
function randomMouths(event:MouseEvent):void {}
Visible = true;
var pic_number: number = 16;
var randomFrame: number = randomF(2,pic_number);
gotoAndStop (randomFrame);
}
function randomF(n1:int,n2:int):int {}
If (n1<>
Returns - 1;
} else {}
Return n1 + Math.floor ((n2-n1+1) * Math.random ());
}
}
Post edited by: iPixelen
-
How to manage the getter and setter in flex?
I want to create getter and setter for a shared variable ways. How to create aid may be related?
and how to call the accessor get and Set of a class of model?
for ex:
(1) in the IDMLEditor.mxml file
[Bindable] public var currentDoc:IdmlDocument = null;
private var _currentDoc:String;
[Bindable]
public function get currentDoc (): {IdmlDocument}
return currentDoc;
}
public function set currentDoc (idmlDoc:IdmlDocument) {}
this.currentDoc = idmlDoc;
}
(2) how to get from EditorModel.as?
public class {EditorModel}
[Bindable] public var currentDoc:IdmlDocument = null;
You don't need to use underscore (_) to access the variable in the getter, setter class. You can immediately access the variable by using the name of the method
myClass.currentDoc
That's all
-
How to use the 'Get Shared Variable list' VI on a target RT?
Hello
I would like to browse all variables shared in a library hosted on my CompactRIO programmatically. I dropped the 'Get Shared Variable list' VI in my VI in real time, but when I tried deploying, LabVIEW says
Deployment PRC_GetVarList.viPRC_GetVarList.vi loaded with errors on the target and was closed.
LabVIEW: Unable to load the shared library dscProc.dll:ni_lvdsc_process_GetTagListEnd:C. ensure that the library is present on the target of RT. MAX allows you to install software from OR or FTP to transfer custom RT target libraries.
LabVIEW: Unable to load the shared library dscProc.dll:ni_lvdsc_process_GetTagListBegin:C. ensure that the library is present on the target of RT. MAX allows you to install software from OR or FTP to transfer custom RT target libraries.I watched the wizard of the MAX software, but cannot find the DSC-based modules. Where should I look?
Thank you!
Hello
The palette of DSC is not supported on the screws in real-time and will lead to errors when they are deployed. Unfortunately, to have a successful build you will need to modify your application and remove the screws from the palette of DSC on your target of RT.
-
How to exclude the result of the query of account?
I am stuck how can I update my request.
Can anyone help please?
CREATE TABLE "LOGON"."LOGON_DATA" ( "CLIENT" VARCHAR2(20 BYTE) NOT NULL ENABLE, "ROW_ID" NUMBER NOT NULL ENABLE, "OUR_ACCOUNT" VARCHAR2(1 BYTE), "DATE_OF_LOGON" VARCHAR2(20 BYTE) NOT NULL ENABLE, "LOGON_ID" NUMBER NOT NULL ENABLE, );
SAMPLE of DATA (for a "client" for a day):
PETER123,021,N,10-01-2015,121514 PETER123,022,,10-01-2015,121514 PETER123,023,N,10-01-2015,221514 PETER123,024,Y,10-01-2015,221514 PETER123,025,Y,10-01-2015,221514 PETER123,026,Y,10-01-2015,221514 PETER123,027,Y,10-01-2015,221514 PETER123,028,N,10-01-2015,221514 PETER123,029,,10-01-2015,221559 PETER123,030,Y,10-01-2015,221600 PETER123,189,N,10-01-2015,225601 PETER123,201,Y,10-01-2015,233539
...
10 million lines
12 c - 12.1.0.1.1 - I used 'insert' in SQL Developer to load Oracle data.
The query below counts everything after the first 'our_account' = there is found and excludes in double "logon_id" County, but...
WITH got_first_row_id AS ( SELECT client, logon_id , row_id , MIN ( CASE WHEN our_account = 'Y' THEN row_id END ) OVER (PARTITION BY client) AS first_row_id FROM LOGON_DATA where date_of_logon = '10-01-2015' ) SELECT client, COUNT(DISTINCT logon_id) AS cnt FROM got_first_row_id WHERE row_id > first_row_id GROUP BY client order by COUNT(DISTINCT logon_id) desc;
.. .but how can I also exclude "logon_id" number which is + 1 in the previous result?
i.e.
If my result will be logon_id = 225500 - I don't want to count the 225501 but I count on 225502
The query must rely to the extent indicated in pink:
PETER123, 021, N-10-01-2015, 121514
PETER123, 022, 10-01-2015, 121514
PETER123, 023, N-10-01-2015, 221514
PETER123, 024, Y, 10-01-2015, 221514
PETER123, 025, Y, 10-01-2015, 221514
PETER123, 026, Y, 10-01-2015, 221514
PETER123, 027, Y, 10-01-2015, 221514
PETER123, 028, N-10-01-2015, 221514
PETER123, 029, 10-01-2015, 221559
PETER123, 030, Y, OCTOBER 1 00
PETER123, 189, N-10-01-2015, 225601
PETER123, 201, Y, 10-01-2015, 233539
the expected result would be
customer, cnt
PETER123, 4
Very appreciated for any help.
Using
If I understand your problem, the implementation in your case might be like this:
WITH evaluated_logons AS
(SELECT
customer,
logon_id,
ROW_ID,
MIN (DECODE (our_account, 'Y', row_id)) compared to first_row_id (partition by customer).
LAG (logon_id, 1, -1) on previous_logon_id (partition sales order by logon_id)
OF logon_data
WHERE date_of_logon = TO_DATE (1 October 2015 ', 'MM DD YYYY')
)
SELECT
customer,
Count (*) AS cnt
Of evaluated_logons
WHERE
-do not count Y first
ROW_ID > first_row_id
-count only nonsequtive logon_ids
AND previous_logon_id + 1<>
Customer GROUP
NTC to ORDER BY DESC
;
-
How to exclude the hidden item to update DML?
I've analyzed why some date-fields insert triggers are trunc'ed in the database and found
-pages that have DML, update and form with hidden fields will update the value of database with trunc (dt_field)
Insert trigger:
create or replace TRIGGER "TBLX_I_TRG" before insert on TBLX for each row begin if inserting then select TBLX_SEQ.nextval into :new.ID from sys.dual; select SYSDATE into :new.DB_CREATED_DT from sys.dual; select nvl(v('APP_USER'),USER) into :new.DB_CREATED_BY from sys.dual; end if; end;
update trigger:
create or replace TRIGGER "TBLX_U_TRG" before update on TBLX for each row begin if updating then select SYSDATE into :new.DB_MODIFIED_DT from dual; select nvl(v('APP_USER'),USER) into :new.DB_MODIFIED_BY from dual; end if; end;
(- you are welcome to the flame triggers )
Element on the page:
...
DML:
When the first insert values in db are as follows, in the format
to_char(db_created_dt,'YYYY-MM-DD HH24:MI') as crdt
And when the DML page is submitted that the hidden field truncates the value in P53_DB_CREATED_DT
and the update of table stores the value truncated to the db_created_dt field.
Is it simple and 'rapid' way to exclude fields to update DML, other than the removal of the element on the page?
Paavo rgrds
Hello
you could use HH24:MI:SS AAAA-MM-JJ.
But you use this element of the page at all? If you don't use it to view or perform calculations based on you can also simply delete. It is not necessary to have a page element, just because a table contains a column. Your relaxation will be automatically filled anyway.
Concerning
Patrick
-
How to exclude the IP addresses of the discovered NIMax
NIMax is to find a bunch of security cameras on the network of our clients. See the attached list. They are all the same IP address. Is it possible to exclude a specific IP address of NIMax discovery process? With the number of cameras on the network, it can take up to two minutes before NIMax is my second camera. In addition, I'm not sure these security cameras being found by a stranger and wait for a call from the Department of security of our customers every day.
So, is it possible to exclude a discovered NIMax IP address?
Andrew
Thank you! Finally had the chance to test changes RegEdit and it worked perfectly.
Maybe you are looking for
-
Random popup on HP Pavillion InsydeFlash (don't know model)
First of all, here are specifications and things: HP Pavilion, think it's a dV7 or a similar name Windows 7 64 bit If you need more info, just tell me. I was away to eat for about a half hour, and I came back to a popup with the title containing "Ins
-
HP Compaq 6720 s: Power-on password
Hello world My hard drive died a few months and when I bought a new, I couldn't do anything on my laptop because of some power on password. So, I google a bit and discovered that it's the BIOS password.I get no error code because I wrote incorrect pa
-
I have a HP switchable 6 CTO Ultrabook with the Radeon HD 8750 M t-1200 and 4000 Intel graphics. Problem: When I'm working with Windows 8 they work normally, but after update to 8.1 Windows AMD drivers are not able to open and D3D. 1. most recent dri
-
How to receive events touch of legend in mapview bubble?
Hello developers,I have been woking on a map-based application. I want to see the PIN to some place on click and click a pin it there otherwise pop up on available in OS bb10 and can also add our user interface customized for the legend label. I saw
-
iSCSI vNIC a requirement?
If I do not intend to start from an array of iSCSI, what I have to go an extra step and configure iSCSI vNIC for use in vSphere or I'm sure with only created vNic standard with the appropriate settings for Jumbo frames, etc...? I think before UCS 2.0