How to use Oracle 10G SQL features in OWB?
We are using OWB repository 10.2.0.1.0 and OWB client 10.2.0.1.31. The Oracle version is 10 G (10.2.0.3.0). OWB is installed on Linux.
Oracle 10G SQL offers
1) Inserting Into a Table with Error Logging
2) conditional_insert_clause, Specify the conditional_insert_clause to perform a conditional multitable insert.
Did anyone use above features in OWB10G mapping?
How do we use them?
Thanks in advance.
RI
Hi,
Just a thought on the multi-table insert. OWB generates multitable insert when one source is mapped to multiple targets only on the condition that after the splitter there should not be any OWB operator that can change the cardinality of the row-set coming out of the splitter (like joiners, filters, aggregators etc.)..
Regarding the link, I was wondering where I could find a decent documentation of the shadow table and the DML Error Logging through OWB .. Thanks for the link.
OWB error messages are basically Oracle Error Messages when you consider the code that gets deployed. Other than that VLD errors are sometimes mysterious and hard to debug.. Hope someone can give us more details on how to handle such VLD errors :)
HTH
-AP
Similar Messages
-
Help! How To Use Oracle as SQL for a Forum with Related Post
Hi All,
I added an SMF forum on my [Tech Blog|http://oscarmini.com] using the sub directory forum. Now I want to encode a fresh forum using Oracle for the database instead of the usual MySQL. I don't really know if this is possible. If it is, then let me know if their is a script for this, and so I can ask other related questions too.
But firstly, is it possible?I think Oracle have taken down all the sample applications.
As I recall it was quite controversial at the time. Supposedly they're upgrading them to the latest version of Apex - some of them were quite old - but obviously there's a gaping void in the meantime.
The official Oracle statement is [url http://www.oracle.com/technetwork/developer-tools/apex/application-express/packaged-apps-090453.html]here. It turns out they're not going to upgrade the apps but rewrite them entirely. So I predict the gaping void will last for some time yet :(
There's [url https://forums.oracle.com/forums/thread.jspa?threadID=2253686&start=0&tstart=0]a thread on the Apex forum which has a link to the Oracle Chinese website, which still has the samople apps, including the Discussion Forum. Download it (if you dare) from [url http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&layout=2&eotf=1&sl=auto&tl=en&u=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fcn%2Fdeveloper-tools%2Fapex%2Fpackaged-apps-087541-zhs.html]here.
Cheers, APC
Edited by: APC on Apr 17, 2013 8:37 AM
Improved my Google Fu and resolved the doubts -
Hi i am using oracle 10g how to view the content of the stored procedure or trigger ?
Hi i am using oracle 10g .How to edit the content of the stored procedure or trigger ?
jklopkjl wrote:
Hi i am using oracle 10g .How to view the content of the stored procedure or trigger ?
query ALL_SOURCE
SQL> desc all_source
Name Null? Type
OWNER VARCHAR2(30)
NAME VARCHAR2(30)
TYPE VARCHAR2(12)
LINE NUMBER
TEXT VARCHAR2(4000) -
How to configure Oracle 10g Advanced Security to use SSL concurrently with
How to configure Oracle 10g Advanced Security to use SSL concurrently with database User names and passwords
In Oracle Advanced Security Documentation it is mentioned that i can use SSL concurrently with DB user names and passwords. But when i configure the client certificate on the client my DB connection is getting authenticated using the certificate, which out passing user id or password.
We want to connect to Oracle DB over SSL channel so that the data packets are not in clear text. Also we want the user to make a connection using user id and password.
Basically we want SSL with out authentication.
Need your expert adviceRead the documentation (I have given following links assuming you are running a 32 bit architecture)
Server installations:
http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14316%2Ftoc.htm&remark=portal+%28Books%29
Client installations:
http://www.oracle.com/pls/db102/to_toc?pathname=install.102%2Fb14312%2Ftoc.htm&remark=portal+%28Books%29
You can find the required books (if not using 32 bit architecture) from
http://www.oracle.com/pls/db102/portal.portal_db?selected=3 -
Slow first connection using Oracle 10g xe and Visual Studio 2008
{noformat}
Good day,
I'm slightly unaccustomed to using forums, so bear with me.
My initial connection to the Oracle database takes approximately 30 seconds. It seems to be waiting for a connection before timing out and trying another connection which works, as all subsequent connections work immediately. I'm unsure how other people's responses in forums can help me due to the plethora of configurations, so here's mine. My comprehension of the oracle world is still growing, you'll have to explain the terms you're using for me, Hoping you can help.
I'm using Visual Studio 2008, set to use 32 bit debug mode, on a Windows 7 Pro platform. Also using Oracle 10g Xe, and have installed the 32 bit version of ODAC 11.2 (11.2.0.1) to aid making a connection from Visual Studio to Oracle.
I have a database set up and a user with system admin rights. This is all local for a programming project and will never see the light of day outside of my personal machine.
I am using code to connect, not the GUI. I wish to code this project completely without the aid of the GUI. so my connection string within Visual Studio C# is (pw/id hidden)...
string xe = "Data Source=xe;User Id=xxxxx;Password=xxxxx;";
OracleConnection conn = new OracleConnection(xe);
My c:\devsuitehome\network\admin\sqlnet.ora file is this:
# sqlnet.ora Network Configuration File: C:\DevSuiteHome\network\admin\sqlnet.ora
# Generated by Oracle configuration tools.
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (LDAP, TNSNAMES, EZCONNECT, ONAMES, HOSTNAME)
And my c:\devsuitehome\network\admin\TNSNames.ora file is this:
tnsnames.ora Network Configuration File: C:\DevSuiteHome\network\admin\tnsnames.ora
Generated by Oracle configuration tools.
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = xe)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = <machine name)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = PLSExtProc)
Just for good measure, my tnsping xe shows:
"Used paramter files:<br/>
c:\devsuitehome\network\admin\sqlnet.ora<br/><br/>
Used TNSNAMES adapter to resolve the alias<br/>
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)))(CONNECT_DATA = (SERVICE_NAME = xe)))
OK (0 msec)"
So, how can I make that initial connection faster so I don't spend 15 years testing my application due to slow start-ups? :)
Thank you.
Kevin.
{noformat}
Edited by: 832285 on Jan 29, 2011 10:08 AM
Edited by: 832285 on Jan 29, 2011 10:10 AMI have formatted my hard drive since my first post. I was running window 64 bit with a higher version of the ODAC and that proved to crash my machine with faulty error messages about memory. I have reverted to a previous version of the ODAC tools and everything works very smooth now. Still the connection time is consistently 20 seconds or longer on the first attempt.
Just a little more information.. I am currently taking a college course with 15 other students, as you can tell by the impersonal machine name, where programming using visual studio 2008, and Oracle 10g xe is expected. All of us are using a 64 bit environment and we all have difficulties cutting down the load time of making the first connection to Oracle. Some people are longer making the connection, but none are shorter.
One other note. After the first connection is made, taking 20 or more seconds, and is closed, all subsequent openings of the connection are instantaneous, for all of us.
If there is ANYTHING more I can get for you, please let me know. With my environment stable as it is, I will not need to format or change any information for the foreseeable future.
Here is the information you requested
1 The connection method I am using, I have chosen the manual connection for you, however the delay exists if the connection is made through the GUI as well.
Historically, I am getting slow connection speeds through adding the connection through the GUI or by a manual connection. Here is how I am doing it manually. I have the connection being created in 20 seconds, which is the best I can get.
Imports Oracle.DataAccess.Client
Also included project reference: oracle.dataaccess / version 2.111.6.20
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim connString As String = "Data Source=XE;User Id=abc;Password=abc;"
Dim con As OracleConnection = New OracleConnection()
con.ConnectionString = connString
Try
con.Open()
MessageBox.Show("Connected!")
con.Close()
con.Dispose()
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
End SubMy current TNS Ping results
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 16-FEB-2011 01:02:36
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = XE)))
OK (0 msec)2 Connection to SQL plus is instantaneous.
I fought for weeks about the ODAC version 11.2.0.1 that you see in the previous post, and that would be a whole new thread. Suffice it to say I have a reliable environment to program in with this 10.2.0.1.0 version that I am running now, and the connection time has not changed, it is still minimum 20 seconds load time, sometimes up to 25.
3 Ram usage in my typical environment
I am running this laptop with 4 gigs of ram. This is a typical environment I would be running my application in.
Physical memory
total 4090
cached 1753
available 2345
free 656
system
handles 27141
threads 911
processes 70
commit megs 2860/8179
kernel memory megs
paged 201
nonpaged 52
4 I formatted my machine and reinstalled the Windows 7 professional operating system as of a few nights ago. The Oracle software on my machine is
Oracle Database 10g express edition
ODAC 11.1.0
I amm not sure what filename you would need in addition to the product names that I have installed.
5 The information from the SET command is
ALLUSERSPROFILE=C:\ProgramData
APPDATA=C:\Users\stepheke\AppData\Roaming
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=STEKEV0908
ComSpec=C:\Windows\system32\cmd.exe
FP_NO_HOST_CHECK=NO
HOMEDRIVE=C:
HOMEPATH=\Users\stepheke
LOCALAPPDATA=C:\Users\stepheke\AppData\Local
LOGONSERVER=\\STEKEV0908
NUMBER_OF_PROCESSORS=2
oracle_sid=xe
OS=Windows_NT
Path=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Oracleapp\stepheke\product\11.1.0\client_1;C:\Oracleapp\stepheke\product\11.1.0\client_1\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files (x86)\Windows Live\Shared
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=170a
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
PUBLIC=C:\Users\Public
SystemDrive=C:
SystemRoot=C:\Windows
TEMP=C:\Users\stepheke\AppData\Local\Temp
TMP=C:\Users\stepheke\AppData\Local\Temp
USERDOMAIN=stekev0908
USERNAME=stepheke
USERPROFILE=C:\Users\stepheke
VS90COMNTOOLS=c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools\
windir=C:\Windows -
How to Uninstall Oracle 10G release 1
I'm a newbie in Oracle DB.
I've been assigned to a new task to assist DBA teams to migration SQL server to Oracle server. I got a new PC which pre-installed 2 Oracles version (9i & 10G), the 9i is OK but the 10G DID NOT work properly and I'd liked to replace 10G release 1 with 10G release 2 (for testing purpose).
I did followed the instruction how to remove the 10G release 1 using the OUI, but the process ran forever ... ( see screenshot --> http://img137.imageshack.us/img137/5555/oui10g1qb8.jpg )
I'm also know that I can delete Oracle thru Regedit, but in some Reg. keys do not show the Oracle version (I want to keep the Oracle 9i).
Could someone please enlight me how to uninstall Oracle 10G ?
PC's info:
OS : Windows XP Prof.
1GB RAM
50GB free space
All the Oracle services have been disable before Uninstall.
Thanks Advance.
DTH.Thanks Marcio ...
I'm current process the step by step to remove 10G release 1, if I've problem then I'll let you know
Thanks again.
DTH. -
How to install Oracle 10g on to Red Hat Linux 5 Server
I'm new to both Linux and Oracle. I've been working on an installion of Oracle 10g on a Red Hat Linux 5 Server for about 2 weeks. I've been doing a lot of reading about installing Oracle on a Linux environment. I finally got to the installation portion and the Oracle Installer displayed a message that I had to have Red Hat 4 or 4 Enterprise to continue.
How can Install Oracle 10g onto a Red Hat 5 Linux Server"? Is there an option that I can use to bypass the OS checking?
ThanksUnfortunately there is no way to access metalink without a valid account. You could then just try to skip preinstall requisites with this clause:
./runInstaller -ignoreSysPrereqs
or this method:
Copy the oraparam.ini from the installation source install/oraparam.ini to /tmp directory.
Edit the file /tmp/oraparam.ini so this file reads:
After
[Certified Versions]
Linux=redhat-3,SuSE-9,redhat-4,UnitedLinux-1.0,asianux-1,asianux-2,redhat-5
also, make sure you have these packages installed:
# rpm -ivh gcc-c++-4.1.1-52.el5.i386.rpm gcc-4.1.1-52.el5.i386.rpm
libstdc++-devel-4.1.1-52.el5.i386.rpm glibc-devel-2.5-12.i386.rpm
glibc-headers-2.5-12.i386.rpm libgomp-4.1.1-52.el5.i386.rpm
libXp-1.0.0-8.i386.rpm compat-libstdc++-296-2.96-138.i386.rpm
compat-libstdc++-33-3.2.3-61.i386.rpm
~ Madrid. -
Document about Oracle 10g New Features
Hi all,
I would like to share a document I wrote about Oracle 10g New Feature. I hope it would be useful.
Currently, I am updating the document to include Release 2 features. Any comments or suggestion is appreciated.
Download link:
http://www.operflow.com/Oracle_10g_DB_Summary.pdfHi Ahmed,
Good Work !!!
I just visit your blog it is very interesting about you and your country.
Regards
Taj -
To create standby database using oracle 10g standared edition
my producation database is oracle 10G standard edition .Can i implement a oracle dataguard or standby database using standard edition licenses.if standby database is possiable in standard edition .what are the steps for creating a standby database using oracle 10g standard edition.
General answer is http://download.oracle.com/docs/cd/B19306_01/license.102/b14199/editions.htm#BABJICBB.
For Data Guard you cannot :
- use instance parameters to automatically send archived redo logs
- use instance parameters to resolve archived redo logs gaps
- create a logical standby
- use SQL statements to do switchover / failover
- use Data Guard Broker. -
Can I use Oracle 10g XE in my production enviroment
Hello All,
Please can somebody help me here. I would like to know if I can use Oracle 10g XE for my Production Software Development? If yes, can somebody help with the following:
a) Can I access the oracle database XE from a remote system without installing it on the calling system? I mean accessing it from a .NET Application installed on a client?
b) How many rows, table, views and other stuffs can it handle. Just to know how strong it is.
I will so much happy to get a help on this.
Thank you very much in advance for supporting me.
Regards,
Olamiji Akeem Odeyemi
Actual IT Solutions Limited
www.actualitsolution.com
+2347041423375user12189397 wrote:
Hello All,
Please can somebody help me here. I would like to know if I can use Oracle 10g XE for my Production Software Development?yes
a) Can I access the oracle database XE from a remote system without installing it on the calling system? I mean accessing it from a .NET Application installed on a client?yes.
Read about the [Oracle Instant Client|http://www.oracle.com/technology/tech/oci/instantclient/index.html]
b) How many rows, table, views and other stuffs can it handle. Just to know how strong it is.Read about the [XE specifics|http://www.oracle.com/technology/pub/articles/cunningham-database-xe.html] -
How to use views in sql script report?
All all
Can any one tell how to use views in sql script report?Most of the views are based on tables (or other views which are based on tables).
The view typically shows one org at a time based on the context that is set.
If you need records for all orgs, you need to use the underlying tables. Oracle typically names the tables with a _all suffix.
e.g. PO_HEADERS will show records for one org at a time. PO_HEADERS_ALL will show records for all orgs.
Hope this answers your question,
Sandeep Gandhi -
How to connect Oracle 10g from OBIEE on Linux?
- OBIEE 10.1.3.4.0 is running on Cent 5 Linux M1 (*64* bit). My Oracle database is running another similar machine M2.
- I installed oracle 64 bit client on M1 but could not connect to run the report, connection issue. Even nqcmd didn't helped.
- I guess it was because OBIEE is *32* bit application and hence need 32 bit client.
- I tried installing Oracle 32 bit Linux client on M1 but installation fails with some dependency (Not sure if we can install 32 bit client on 64 bit machine)
Q1 - Any suggestion at this point?
Q2 - Is there any way we could connect OBIEE to Oracle via ODBC drivers. I could not found any odbc driver/so file when I wan installed 64 bit client. Any suggestion for this?
Thanks in Advance!The computer running XE server does not need a client installed.
If you are trying to connect from another computer, install the XE client and create file C:\XEClient\NETWORK\ADMIN\TNSNAMES.ORA with the following contents (replace ip_address as appropriate):
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = XE)
{code}Test with
{code:java}
sqlplus SYSTEM/password@XE
{code}
Regards,
Georger
wrote:user_7000018
Hi ,
i am using oracle 10g express edition. i installed oracle 10 xe server it is working fine but how can i connect oracle 10g xe client to this server becouse there is no net configuaration nad Migration tools and also net configuation Assistant . can you explain
Regards,
Dharmendra -
How to download Oracle 10g Dev.Suite Patch
Hi,
I need to download How to download: Oracle 10g Dev.Suite Patch for WindowsXP SP3 32-bit for Developer Suite 10g.
Direct link to the download would be appreciated.
With regards,
MOHAMMED AJAZ.Hi Sarah
I don't have access to metalink. i was trying to register but it's asking system identifier, which is i don't have. It's looks like for commercial use.
1. Can i register metalink for personal use? (this software i am using for practice.
thanks.
WITH REGARDS,
MOHAMMED AJAZ. -
How to connect oracle 10g XE client to XEserver on win XP
Hi ,
i am using oracle 10g express edition. i installed oracle 10 xe server it is working fine but how can i connect oracle 10g xe client to this server becouse there is no net configuaration nad Migration tools and also net configuation Assistant . can you explain
Regards,
DharmendraThe computer running XE server does not need a client installed.
If you are trying to connect from another computer, install the XE client and create file C:\XEClient\NETWORK\ADMIN\TNSNAMES.ORA with the following contents (replace ip_address as appropriate):
XE =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ip_address)(PORT = 1521))
(CONNECT_DATA =
(SERVICE_NAME = XE)
{code}Test with
{code:java}
sqlplus SYSTEM/password@XE
{code}
Regards,
Georger
wrote:user_7000018
Hi ,
i am using oracle 10g express edition. i installed oracle 10 xe server it is working fine but how can i connect oracle 10g xe client to this server becouse there is no net configuaration nad Migration tools and also net configuation Assistant . can you explain
Regards,
Dharmendra -
Hi all.
I don't know if i am allowed to make this request.
I am lookink for a document 5pdf for example)
about Oracle 10g SQL.
I have some in english but i am looking for a french document.
Any help is good.
ThanksYour problem is most likely in decode - the return type in your expression will be character based on first search value ('null'), so it will be implicitly converted to character and then again implicitly converted to date by loading into date column. At some of this conversions you probably are loosing your time part. You can try instead use cast:
SQL> desc t
Name Null? Type
LASTWRITTEN DATE
CREATEDON DATE
LASTUPDATEDON DATE
SQL> select * from t;
no rows selected
SQL> !cat t.ctl
LOAD DATA
INFILE *
INTO TABLE T
TRUNCATE
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"' TRAILING NULLCOLS
LASTWRITTEN
"decode(:LASTWRITTEN,'null',cast(Null as date),
to_date(:LASTWRITTEN,'YYYY-MM-DD HH24:MI:SS'))",
CREATEDON
"decode(:CREATEDON,'null',cast(Null as date),
to_date(:CREATEDON,'YYYY-MM-DD HH24:MI:SS'))",
LASTUPDATEDON
"decode(:LASTUPDATEDON,'null',cast(Null as date),
to_date(:LASTUPDATEDON,'DD/MM/YYYY HH24:MI:SS'))"
BEGINDATA
2007-02-15 15:10:20,null,null
null,2007-02-15 15:10:20,null
null,null,15/02/2007 15:10:20
SQL> !sqlldr userid=scott/tiger control=t.ctl log=t.log
SQL*Loader: Release 10.2.0.3.0 - Production on Fri Feb 29 00:20:07 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Commit point reached - logical record count 3
SQL> select * from t;
LASTWRITTEN CREATEDON LASTUPDATEDON
15.02.2007 15:10:20
15.02.2007 15:10:20
15.02.2007 15:10:20Best regards
Maxim
Maybe you are looking for
-
How to remove null values from list?
I had created a list in forms 6i and I am getting list values at run time using add_list_item function. The problem is I am getting null value at end of the list. In the property pallet I kept required yes and set the initial value but it is not remo
-
Pass input value to a concurrent program of type PL/SQL procedure
Hi, I have created an executable program which is based on "PL/SQL Stored Procedure" method and created a concurrent program which calls this executable. It is available from SRS. The relevant stored procedure requires an input variable as parameter.
-
No option to set search provider after updating Lu...
Hi there, I have updated my Lumia to Win 7.8 and I have all new features but one is missing; option to set google as search provider in Internet explorer. I can't restore my phone to try install upate once again due to an error 801812E0. Any idea how
-
Need help about designing a query.
Dear All, I have the following table structure Fields: issue_id, event_id, event_date One or more events are related to each issue and each event is associated with a date. There is a huge data in the table and I want to access the last event date of
-
I have an iPod touch 4th generation, I have only downloaded two songs. So I decided to download a new song but I can't even click on it to download it. I can only download one thing. Why can't I download anything?