How I can check status of a database link in runtime?
I need check status of a database link from my application in runtime.
There are any view or table where I can find this information?
Any function or package?
Thanks!!
SQL> create view test_view as select dummy from [email protected]
2 ;
View created.
SQL> select dummy from test_view;
D
X
Execution Plan
0 SELECT STATEMENT (REMOTE) Optimizer=CHOOSE
1 0 TABLE ACCESS (FULL) OF 'DUAL' FIRST9.XXXX.COM
Statistics
7 recursive calls
4 db block gets
2 consistent gets
0 physical reads
212 redo size
363 bytes sent via SQL*Net to client
425 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
NOW WE PULL OUT THE NETWORK CABLE connecting the two servers.
SQL> select dummy from test_view;
select dummy from test_view
ERROR at line 1:
ORA-02068: following severe error from FIRST9.XXXX.COM
ORA-03113: end-of-file on communication channel
So all you have to do is to test for the communications error.
Similar Messages
-
I have my iphone 5 but a lost. The box where it came how i can check of how many gb its ?
Tap settings
General
About
this provides alist of everything you may need to know about your device -
How i can check the size of DB in 9i?
I recall, you already ask it Re: Size of DB Check
-
How i can check my phone is under warrenty???????
i want to know, how i can check my phone warrenty period and my phone originallty...........
Hi krishanjaat
It would help if you carry out *#0000# and post the results, if you want more help with this matter.
Happy to have helped forum in a small way with a Support Ratio = 37.0 -
How I can check if my Imac is Intel Core Duo Extreme
Hello All,
How I can check if my Imac is truly Intel Core Duo Extreme from Leopard?
thank you,
JDJD,
Welcome to Apple Discussions.
Apple Menu>About This Mac>More Info...>Hardware>Hardware Overview>Processor Name:
;~) -
How I can check this condition
Hi,
Through PLSQL code how I can check the following condition.
I have two field column TEXT1 and TEXT2. Text2 contains total five item
and text1 contain one item, how I can check Text1 against text2 its
existing or not.
:Text1 :='B1'
:Text2 := 'A1,B1,C1,D1'
I have tried the following way, but it is not working
IF :Text1 IN (:TEXT2) THEN
DISP_MSG('EXIST');
END IF;
Regards,
Jen.Or
sql>
declare
text1 varchar2(10) := 'B1';
text2 varchar2(20) := 'A1,B1,C1,D1,E1';
begin
dbms_output.put_line(case when text2 like '%'||text1||'%' then 'Exists'
else 'Not exists'
end );
end;
Exists
PL/SQL procedure successfully completed.
jeneesh -
How
I can check on
the existence of a client
ActiveX, so that
if there is no download begins?
example:
I want tocheck for:
EditDocumentButton = new ActiveXObject "SharePoint.OpenDocuments.2");
if (EditDocumentButton) {
EditDocumentButton.EditDocument (strDocument);
and ifthere is nowarning andlaunch aURLto startthe
download
as is?
thanksHello,
This control is defined in the OWSSUPP.dll file, a dynamic-link library (DLL) that is installed in the %ProgramFiles%\Microsoft Office\Office14\ directory on the client computer during Microsoft Office Setup. (Read
full article on MSDN)
Based on my understanding this below link can help you to open file if activex is not found.
http://blog.scosby.com/post/2011/08/22/Remotely-Opening-Office-Files-From-SharePoint-2010.aspx
Now to detect the activex please look this code:
http://www.andrewshough.com/sharepoint/multiple-office-version-support-in-sharepoint-services-3-0/
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
HT4972 how i can check that my phone is factory unlock or not
how i can check that my phone is factory unlock or not
Look at the other thread you started. Running two active threads is confusing, not only to you but to those who are trying to help.
-
Hey,how i can check if my iphone is NEVERLOCKED ?
hey,how i can check if my iphone is NEVERLOCKED ? i`d be grateful...
ps.i`m a romanian,sorry for my english.mitzzu wrote:
i bought it from a guy...
Well there's your answer...you buy from a non-official source, you take your chances with the veracity of the person you're buying from. If you have AppleCare where you live, you can try calling them. They will be able to tell you. If not...well, Good Luck! -
How i can check last dialled numbers on my iphone?
how i can check last dialled numbers on my iphone?
It should be. When selecting Call for a number and the number starts ringing, the clock has started for being charged for that call. The clock doesn't start when the recipient answers the call as when dialing long distance with a landline.
There is only one way to know and determine this for certain with your carrier and if your carrier includes such detailed info with your account - checking your online account with your carrier. -
How we can check unicode check for function-pool.
hi experts,
how we can check unicode check for function-pool.
pls tell needy.
regards,
praveenYou can check the Unicode in the function group or use transaction UCCHECK
-
How to access the LOB objects through database links??????????????
Hi
See:
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:52297289480186
http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:5322964030684
And you also might want to get a new keyboard, your '?' seems to be stucked.... -
How to automate checking status of Replication agent and Replication queue in CQ5
As part of monitoring the status of replication agents and replication queue, is it possible to automate the checking process?
We can check them from GUI, but from a monitoring perspective we are loking for a mechanism where the status can be checked continuously and we are alerted whenever there is some issue.
1. Check status of replication agent (enabled/disabled)
2. Check status of replication queue (if the queue is blocked)
Thanks in advance
nkraoyou can pull the queue from the page the same way the UI gets the list
in the table:
curl -u admin:admin
"http://localhost:4502/etc/replication/agents.author/publish/jcr:content.queue.json?agent=p ublish"
and then use a shell library like ticktick.sh to parse the json
response. A sample of how to get the bundles loaded and installed from
CQ using the ticktick library can be found here
https://github.com/kristopolous/TickTick
http://ruben42.wordpress.com/2012/04/24/using-ticktick-sh-to-parse-json-responses-from-ado be-cq5-5/ -
How I can transfer data from the database into a variable (or array)?
I made my application according to the example (http://corlan.org/2009/06/12/working-in-flash-builder-4-with-flex-and-php/). Everything works fine. I changed one function to query the database - add the two parameters and get the value of the table in String format. A test operation shows that all is ok. If I want to display this value in the text area, I simply drag and drop service to this element in the design mode
(<s:TextArea x="153" y="435" id="nameText" text="{getDataMeanResult.lastResult[0].name}" width="296" height="89" />).
It also works fine, just a warning and encouraged to use ArrayCollection.getItemAt().
Now I want to send the value to a variable or array, but in both cases I get an error: TypeError: Error #1010: A term is undefined and has no properties..
How can I pass a value from the database into a variable? Thank you.
public var nameTemp:String;
getDataMeanResult.token = authors.getDataMean(arrayOfNumber[0], dir_id);
nameTemp = getDataMeanResult.lastResult[0].name;
public var nameArray:Array = new Array();
for (var i:uint=o; i<3; i++){
getDataMeanResult.token = authors.getDataMean(arrayOfNumber[i], dir_id);
nameArray[i] = getDataMeanResult.lastResult[0].name;
And how i can use syntax highlighting in this forum?Astraport2012 wrote:
I have to go back to the discussion. The above example works fine when i want to get a single value of the database. But i need to pass an array and get an array, because i want to get at once all the values for all pictures tooltips. I rewrote the proposed Matt PHP-script and it works. However, i can not display the resulting array.
yep, it won't work for Arrays, you'll have to do something slightly more intelligent for them.
easiest way would be to get your PHP to generate XML, then read that into something like an ArrayList on your HTTPService result event (depends what you're doing with it).
for example, you could have the PHP generate XML such as:
<pictures>
<location>test1.png</location>
<location>test2.png</location>
<location>test3.png</location>
<location>test4.png</location>
<location>test5.png</location>
<location>test6.png</location>
</pictures>
then you'll read that in as the ResultEvent, and perform something like this on it
private var tempAC:ArrayList = new ArrayList
protected function getStuff_resultHandler(event:ResultEvent):void
for each(var item:Object in event.result.pictures)
var temp:String = (item.@location).toString();
tempAC.addItem(temp);
in my example on cookies
http://www.mattlefevre.com/viewExample.php?tut=flash4PHP&proj=Using%20Cookies
you'll see an example of how to format an XML structure containing multiple values:
if($_COOKIE["firstName"])
print "<stored>true</stored>";
print "<userInfo>
<firstName>".$_COOKIE["firstName"]."</firstName>
<lastName>".$_COOKIE["lastName"]."</lastName>
<userAge>".$_COOKIE["userAge"]."</userAge>
<gender>".$_COOKIE["gender"]."</gender>
</userInfo>";
else
print "<stored>false</stored>";
which i handle like so
if(event.result.stored == true)
entryPanel.title = "Welcome back " + event.result.userInfo.firstName + " " + event.result.userInfo.lastName;
firstName.text = event.result.userInfo.firstName;
lastName.text = event.result.userInfo.lastName;
userAge.value = event.result.userInfo.userAge;
userGender.selectedIndex = event.result.userInfo.gender;
depends on what type of Array you're after
from the sounds of it (with the mention of picture tooltips) you're trying to create a gallery with an image, and a tooltip.
so i'd probably adopt something like
<picture>
<location>example1.png</location>
<tooltip>tooltip for picture #1</tooltip>
</picture>
<picture>
<location>example2.png</location>
<tooltip>tooltip for picture #2</tooltip>
</picture>
<picture>
<location>example3.png</location>
<tooltip>tooltip for picture #3</tooltip>
</picture>
etc...
or
<picture location="example1.png" tooltip="tooltip for picture #1"/>
<picture location="example2.png" tooltip="tooltip for picture #2"/>
<picture location="example3.png" tooltip="tooltip for picture #3"/>
etc... -
How i can check new storage after i add it, specially LDAP storage
Hi
Thank you for reading my post.
is there any way that i can check whether new storages are configured correcyly inside sun access manager 7 or not?
for example I have an LDAP storage and i want to check whether i have add it correctly or not.
thanksAh I see what it is you are doing!
You are reintroducing unformatted text from the Sections.
Sections in a Word Processing document are "Captured" templates of individual page layouts, which includes the formatting of those pages when they were captured. When you Save As Template you have to make sure that the Sections have been fixed and captured, not just the visible pages. It is all Pages' weird way of doing Master Pages.
You will need to recapture the sections after you have changed the language to British English.
See the following link which explains how capturing Sections works:
http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&highlight=letter head&mforum=iworktipsntrick
Peter
Maybe you are looking for
-
What are the latest updates in the SAP GUI patches?
Hi All, Can anyone let me know what are the major updates in the SAP GUI 730. Any note that says this..The release note with each patch is too grainy and i cannot consolidate what are the major updates. We are currently on patch level 1 and SAP GUI h
-
How do I get CC & BCC to appear in incoming mail messages?
Since upgrading to Lion I can't get the CC & BCC to show in incoming mail messages. Also have we lost the alphabetical index down the side of the address book?
-
Unable to Sign-In to iCloud Because of an Old Account
I just upgraded to Yosemite. My MacBook Pro asks for the password to an old iCloud account with an old email address I don't have access to and don't remember the password for. This old account is the only one my MacBook Pro recognizes and now it has
-
How to read the RBG code of a pixel?
whats the way to find the RBG code of a pixel?
-
Why Doesn't Acrobat X Installer Uninstall Reader X?
Good morning, We have a site license for Acrobat X. We want to deploy to our end users but many of them are already running Reader X. I have used Adobe Customization Wizard X to create a mst file that says uninstall older versions of Adobe Reader.