How to Make an explicit oracle connection to a default.
Hi Users ,
(Pro*C code)
I have 2 connections to oracle db using connection identifier. At one point of time, i would like to make one of the explicit connection as default, which means further along i do not want to use the "AT" clause, instead queries should default to default connection.
Referring to below url, it only speaks about 2 distinct explicit connections, does not mention how to convert one of the explicit connection as default.
[ora11 guide|http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28427/pc_03dbc.htm#auto Id13]
Is there a way to do so ?
Looking at google, i found a reference to a url, ora7. In section, 17.2.5, It does say how to make a connection default - by using EXEC SQL SET CONNECT connection_name. However it seems , its not supported anymore.
[ora7 guide|http://starlet.deltatelecom.ru/rdb$doc/oraclerdb/gsp7/gus_pro_create_conn.html]
Antony
Edited by: user11952222 on Sep 1, 2011 3:16 PM
I figured it out for myself.
So, does that mean I get the 10 points?
fd
Similar Messages
-
How to make JDBC and SAP connectivity with VC 6.0
can anyone help me.....how to make JDBC system and SAP system visible in the System drop-down list in Data Task Panel of Visual Composer 6......i mean how to make connectivity with JDBC and SAP system......so that i can use any table in the back-end database as well as any BAPI in the R/3 system.........
Thank you very much.....Hi Deep,
There is a how-to posted on SDN regarding how to connect and configure the BI JDBC Connector.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424
This document describes the jdbc driver to use etc.
Hope this helps,
Cheers,
Scott -
How to make a DAG Strongly Connected?
How to make a Directed Acyclic Graph a Strongly Connected one by adding minimum number of edges into it?
Thanksanryb wrote:
How to make a Directed Acyclic Graph a Strongly Connected one by adding minimum number of edges into it?A strongly connected graph has a path from every vertex A to evey vertex B but then a path from B to A exists as well violating the acyclic directed property of the graph.
Or is the graph allowed to lose its DAG property in the process?
kind regards,
Jos -
How to make custom icc color profile work as default for all users?
Hi!
I've calibrated two monitors for the machine running Mavericks OS X. I've managed to move these custom icc color profiles to ColorSync folder in HDD Library, so that that they are available for all the users. However, I cannot figure out how to make these icc profiles work as default profiles for all users and not only the one I used to calibrate monitors.
Is there a specific place I have to put custom icc profile to make it system default?
Thank you!If you put the profiles in the root /Library/ColorSync/Profiles/ folder, then each user needs to select them in their account. There isn't a way to apply them globally so each account automatically comes up that way.
-
How to make pool of url connections in wls?
Hi, i have a project in which i have to make a http post to multiple web
servers to retrieve
XML files in response to user requests. Right now i just open the
url for each request.
Is there any way to pool URL connections in weblogic
thanks
wasiq
Are u using Custom Connection Pool or some App Servers Conn Pool for LDAP Connection?
If you are opening LDAP Connection in your program code and wondering how to monitor, then it needs to be done on the LDAP Server side. Not from the application. -
How to make Portal Application for connecting to SAP R/3(backend system)
Hello Experts,
I need to create a portal application that should connect to SAP R/3 & fetch some data in some table according to some input parameters provided at runtime & display the data in TABLEVIEW control.
Anyone can guide me on this i:e- how to go about it. What things i should know or should be aware of before creating this application. Any PDF documents , any help material, any guidance about the same will be of great help.
Thanks,
ChetanChetan,
Webdynpro & Visual Composer ars EP Development Tools.
If you only display BAPI data then go for Visual Composer with requires no coding So I suggest you to go for Visual Composer.
You can also use Webdynpro Java or ABAP to display BAPI data by creating
Adaptive RFC model.
You will integrate Webdynpro applications into EP by creating SAP Webdynpro iView.
*Visual Composer Documents:
http://help.sap.com/saphelp_nw2004s/helpdata/en/a0/0af7d34a8449e2b722878ce270a747/frameset.htm
*Webdynpro Documents:
http://help.sap.com/saphelp_erp2005/helpdata/en/a5/1a1e3e7181b60ae10000000a114084/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/15/0d4f21c17c8044af4868130e9f
ea07/frameset.htm
Regards,
<b>Ramganesan K</b> -
How to make an explicit closing tag in XML(e4x).
I'm working with some XML data and I'm having trouble forcing the way my closing tags are generated.
I want the long hand form, such as:
var xmlData:XML =
<code>
<codeSnippet>
</codeSnppet>
</code>;
But when I try to insert nodes within the codeSnippet node as child nodes(<snippet />, etc.), and then write to a file, it
makes the codeSnippet node look like <codeSnippet /> and the <snippet /> nodes are after, which will not work.
How can I make it NOT treat an empty node as <codeSnippet /> and explicitly keep it as in long hand form, such as:
<codeSnippet>
</codeSnppet>
Thanks...
fdI figured it out for myself.
So, does that mean I get the 10 points?
fd -
How to make ADF Business Component Connection which is using XATransaction?
Hi all,
I'm using ORACLE 10.1.3 ADF business component, how to set this component using XA transaction? Is that possible to use xa transaction manually from application module?
thanksI believe you mean to ask whether ADF BC uses XA Transaction.
You can use a JDBC datasource based on XA Transaction for ADF BC. You might find this link useful for an overview: [XA Data Source Interface and Oracle Implementation|http://download-uk.oracle.com/docs/cd/B10501_01/java.920/a96654/xadistra.htm#1058741]
What do you mean by "+Is that possible to use xa transaction manually from application module?+" - Do you mean exposing the transaction of ADF BC outside its AM..? If so, I'm afraid that its not supported.
Thanks,
~Krithika -
How to make an entire Oracle Schema View Only ?
Lets say I have a schema called "scott" in oracle database.
Now I created a new user called "john".
I wanted "john" user to fully access "scott" schema in view only mode.
Can this be done easily, if YES how.
Please give me the steps.CKPT wrote:
you have to spool all the objects in this case...No all objects only scots tables ,that is good way!
what do you say on grant select any table to user;..The purpose is giving only select privilege on scots all tables/views to jhon user.If you give select any table to jhon then jhon will select any schema!.That is wrong -
Critical/Hih Prioriity:How to make agent specfic technology connections
Hi,
i have a MS Access connection which is working fine with local agent its physical schema and logical schema is correctly set.
When i test the connection is local agent is gives no error and connects also when i chack the context i see that physical schema is correctly mapped with the
logical.Although when testing the connection on a specific agent i get error of missing datasource.What should be done for this one.
Help appreciated.
Edited by: user8754004 on Dec 29, 2011 2:21 AMPlease somebody help me.
I got a slight hint here..it seems the connection is to not able to connect because it is not finding datasource where expected ie remote desktop is happening but file is not found where expected.
Can somebody please explain me the relevance of datasource,jndi standard and what should i do to connect to an access file which in D:\files location
This is the error i am getting
racle.odi.runtime.agent.invocation.InvocationException: oracle.odi.core.exception.OdiRuntimeException: Failed to lookup dataSource from JNDI for name {java:comp/env/SourcingDatabase}
at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invoke(RemoteRuntimeAgentInvoker.java:279)
at oracle.odi.runtime.agent.invocation.RemoteRuntimeAgentInvoker.invokeTestDataServer(RemoteRuntimeAgentInvoker.java:653)
at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.remoteTestConn(SnpsDialogTestConnet.java:847)
at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.remoteConnect(SnpsDialogTestConnet.java:820)
at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.jButtonTest_ActionPerformed(SnpsDialogTestConnet.java:758)
at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.connEtoC1(SnpsDialogTestConnet.java:137)
at com.sunopsis.graphical.dialog.SnpsDialogTestConnet.access$1(SnpsDialogTestConnet.java:133)
at com.sunopsis.graphical.dialog.SnpsDialogTestConnet$IvjEventHandler.actionPerformed(SnpsDialogTestConnet.java:87)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6267)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6032)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) -
How to make timestamp in oracle 8.1.7?
Hi,
How can I store timestamp thing (not just yyyy-Mon-dd, but include time) to oracle 8.1.7? What kind of datatype it will be?
Thanks.
DavidDavid,
This is why in your post asking about date and timestamp conversion from DB2 to Oracle I wrote:
I assume the DB2 timestamp column will go into an Oracle date column? For timestamps since the Oracle date column
only supports time down to the seconds from DB2 you'll have to something like:
From DB2 to get the timestamp into the text file:
select substr(char(timestamp_column),1,19) from table
which would give you a value like: 2002-03-08-13.17.56
You would then need to insert this value into Oracle using:
insert into table values(to_date('2002-03-08-13.17.56','YYYY-MM-DD-HH.MI.SS'))
The substr 1,19 will get the DB2 timestamp down to the seconds which is the best Oracle 8.1.7 can do. I've read that Oracle
9i supports time down to fractions of a second but I'm not sure if it goes to .000001 seconds like DB2 does. If you need
that precision in 8.1.7 you might have to store the fraction in another column(number data type?) and concat the two columns
together or store the entire timestamp in a varchar2 column. This could raise other issues on how to do any kind of date
manipulation though. -
How to make two standalone oracle databases into master/slave relationship
i'm not talking about RAC...
is there any way to make two oracle databases into master/slave relationship? one is hot one is cold, when the hot one is down, the cold one automatically picks up? and of course two databases are in sync all the time.
any experience?DataGuard is an enterprise edition feature.
You could roll your own standby database by cloning the production system to a backup server and writing scripts that copy the archived log files from the primary to the standby and that apply the archived logs on the standby. Of course, the transactions that had been applied to the primary that were still in the primary's redo logs would be lost if the primary were to fail. DataGuard provides options to keep the standby more closely in sync with the standby to reduce or eliminate that risk, which is one of the reasons that it's an enterprise edition feature.
If you're on Windows, Oracle FailSafe may also be something to look at.
Justin -
Bug fix from 10.9.4 doesn't resolve the problem with automatically connecting WI-FI. And guide from that article doesn't solve the problem too. Who knows the solution?
Wireless Connection Problems - Fix
Wireless Connection Problems - Fix (2)
Wireless Connection Problems - Fix (3)
Wireless Connection Problems - Fix (4)
Also try turning off Bluetooth. -
How to make a List box connected to a Column Chart work?
Hi...
I've just installed my Xcelsius 2008 and am trying to adapt the dashboard I developed in Xcelsius 4.5 version to the new software.
I have a fish-eye to filter which customer I want to see the performance for.
I have two list boxes where I can decided which KPI and which factory.
The chart should adapt according to the choices in the list boxes.
In the excel spreadsheet I have a long list of rows with a vlookup function based on the two cells connected to the list boxes. This means as insert in for list box I am using position.
It just doesn't work.
Can someone help?
RosemaryI have checked all cells and all are correct (I even started the dashboard from scratch).
I believe it is something to do with my set-up but I have no clue what:
If I use for my list boxes the position insert in type and choose a cell which I use for my vlookup, meaning:
4 Insert in cell
1 NC performance
2 Pro-active Reporting
3 Requests Response
4 POD provision
5 Damage / Loss Rate
(From 1 to 5 are the labels for the list box)
I have a vlookup cell:="C"&W8&"_K" & W18&"_S"&W40 which indicates which data is to be used in the chart (according to the selection, the vlooup fills out a cells range with the corresponding performance).
For the chart I am using the cells range with the vlookup formulas.
What could be wrong?
Thanks -
Who can tell me how to make up two oracle as mirror pair
who can do me favor to tell me where to start? appreciate at first.
Frederick van Targeroclarify what I mean that I want two oracle instance can backup automaticaly at anytime,rather than I do exp/imp by myself. I need not redirect automaticaly at this layer.
thanks
Frederick
Maybe you are looking for
-
Vi error on nfs mount; E212: Can't open file for writing
Hi all, I've setup a umask of 0 for testing on both NFS client (Centos 5.2) and NFS server (OSX 10.5.5 server). I can create files as one user and edit/save out as another user w/o issue when directly logged into the server via ARD. However, when I a
-
SAP Business One 8.8 running on a server with Peer to Peer
Can SAP Business One 8.8 be install and run in a server with a Peer to Peer Operative system?
-
Photoshop CS5 Flickers Under Windows 8 64
I just upgraded my Win7 64 desktop to Win8 pro 64, and now photoshop cs5 is behaving very strangely. Any mouse click operation causes the entire working window to flicker, and the background to cycle between the normal pale gray background, a window
-
Why is the mobile web so slow on the tour
this is a great phone only problem i have is the web it is so frigin slow
-
Now that iTunes doesn't work, how will we be able to receive future updates that corrects this problem ?