Oracle Merge vs Informatica Update Strategy
How do you guys compare the two? Consider we have a large data set. About 5-10 million rows in the table and upto 1 million rows daily as insert/update. How does the performance vary if we only 10,000 rows daily as insert/update?
Any inputs are appreciated. We currently have Oracle 9i and are soon upgrading to 10g. Has the merge feature has any improvements in 10g.
thanks
I'm attacking the idea that concepts and principles of an application layer system (like Informatica) should be enforced onto Oracle, or is even at all relevant to Oracle.
The core of an Information System is what? The application? Applications come and go. Here today. Legacy tomorrow. Replaced next year.
Ask any business user what is important - the spreadsheet application or the spreadsheet's data? Data is forever. The database is the core of the Information System.
So it does not matter what Informatica may think is a bright idea or brilliant concept. The fact is that all RDBMS products are not equal. E.g. what works for Oracle does not work for SQL-Server. And vice versa. The on-shoe-fit-all approach from the application tier is flawed. Informatica's concurrency controls may work well with Ingres or SQL-Server - but that does not say it will work well at all with Oracle. (and likely not in such a case as Oracle's concurrency controls are very different)
To ensure that the core does not rot, one need to ensure that the core is design correctly. So when it comes to something like Oracle and Informatica (or J2EE or .NET or CORBA or whatever) - so what? Do it right in the RDBMS first and foremost. (and this is as relevant for SQL-Server/Ingres/Informix/etc as for Oracle)
As for how does Informatica and Oracle compare? Not relevant. The former is not the leading and most advance RDBMS product in the world. Oracle is.
Similar Messages
-
How to merge with multiple updates
Hi All,
can someone help with merge and multiple updates when matched ?
create table foo
id number,
name varchar2(30),
col1 date,
col2 date
create table bar
id number,
name varchar2(30),
col1 date,
col2 date
insert into foo values ( 1, 'test1', sysdate + 30, sysdate);
insert into foo values ( 2, 'test2', sysdate + 30, sysdate);
insert into foo values ( 3, 'test3', sysdate + 30, sysdate);
MERGE INTO BAR T1
USING (SELECT id, NAME, col1, col2 FROM foo) T2
ON (T1.id = T2.id)
WHEN MATCHED THEN
UPDATE SET T1.NAME=T2.NAME where T1.Name != T2.Name
UPDATE SET T1.col1=T2.col1 where T1.col1 != T2.col1
UPDATE SET T1.col2=T2.col2 where T1.col2 != T2.col2
WHEN NOT MATCHED THEN
INSERT (ID, NAME, col1, col2 ) VALUES (t2.Id, t2.NAME, t2.col1, t2.col2);
Reason for having multiple updates to same row is i want to update the column only if name, col1, and col2 columns have changed. So, I want to first match by rows and then update the columns in bar that have changed in foo.
Any thoughts on how I might do this in merge ?. I get the foll. error
ERROR at line 6:
ORA-00933: SQL command not properly ended
Thanks
VissuI think you will be better off reading this link.
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9016.htm#SQLRF01606
It will be something like this.
MERGE INTO BAR T1
USING (SELECT id, NAME, col1, col2 FROM foo) T2
ON (T1.id = T2.id)
WHEN MATCHED THEN
UPDATE SET T1.NAME=T2.NAME ,
t1.col1 = t2.col2 ,
t1.col2 = t2.col2
where T1.Name != T2.Name or t1.col1 != T2.col1 or t1.col2 != t2.col2
WHEN NOT MATCHED THEN
INSERT (ID, NAME, col1, col2 ) VALUES (t2.Id, t2.NAME, t2.col1, t2.col2);Please note this code is untested.
Regards
Raj -
Strange Condition Oracle Merge
I have an Oracle Merge statement. The condition I am facing is that the statement is updating the table as well as inserting the record that its updated. I have duplicates in the table for this reason. Can someone please advice why this condition occurs? the primary key constraint of the table is disabled.
The Merge statement is attached below. I am selecting my query from a view thats based on a table. My aim is to generate a summary at a level higher than that of the table. date_key here refers to the weekend date. ITs used instead of a week id.
My problem is that the table has duplicate records after the merge. when i run the select part of this merge, it doesnt get me any duplicates.
MERGE INTO WEEKLY_PGROUP_SUMMARY w
USING (
SELECT date_key, ccid, year_id, period_id, week_id, company, country,
location, brand, mainbrand, pgroup,
sales_qty, sales_cost, sales_value,
fp_sales_qty, fp_sales_cost, fp_sales_value,
md_sales_qty, md_sales_cost, md_sales_value,
sreturns_qty, sreturns_cost, sreturns_value,
grn_qty, grn_cost, grn_value,
tfrin_qty, tfrin_cost, tfrin_value,
tfrout_qty, tfrout_cost, tfrout_value,
intake_qty, intake_cost, intake_value,
preturns_qty, preturns_cost, preturns_value,
adjm_qty, adjm_cost, adjm_value,
adjw_qty, adjw_cost, adjw_value,
adjc_qty, adjc_cost, adjc_value,
adjt_qty, adjt_cost, adjt_value,
adjv_qty, adjv_cost, adjv_value,
stockob_qty, stockob_cost, stockob_value,
fp_stockob_qty, fp_stockob_cost, fp_stockob_value,
md_stockob_qty, md_stockob_cost, md_stockob_value,
tm_stockob_qty, tm_stockob_cost, tm_stockob_value,
stockcl_qty, stockcl_cost, stockcl_value,
fp_stockcl_qty, fp_stockcl_cost, fp_stockcl_value,
md_stockcl_qty, md_stockcl_cost, md_stockcl_value,
se_stockcl_qty, tm_stockcl_cost, tm_stockcl_value,
tm_stockcl_qty, se_stockcl_cost, se_stockcl_value,
co_stockcl_qty, co_stockcl_cost, co_stockcl_value,
currency, exrate1, exrate2, exrate3, exrate4, exrate5
FROM generate_pgroup_summary_v ) v
-- On condition includes all fields that are indexed
ON (v.date_key = w.date_key AND v.ccid = w.ccid AND v.brand = w.brand
AND v.pgroup = w.pgroup)
WHEN MATCHED THEN
UPDATE
SET w.currency = v.currency,
w.exrate1 = v.exrate1,
w.exrate2 = v.exrate2,
w.exrate3 = v.exrate3,
w.exrate4 = v.exrate4,
w.exrate5 = v.exrate5,
w.sales_qty = v.sales_qty,
w.sales_cost = v.sales_cost,
w.sales_value = v.sales_value,
w.fp_sales_qty = v.fp_sales_qty,
w.fp_sales_cost = v.fp_sales_cost,
w.fp_sales_value = v.fp_sales_value,
w.md_sales_qty = v.md_sales_qty,
w.md_sales_cost = v.md_sales_cost,
w.md_sales_value = v.md_sales_value,
w.sreturns_qty = v.sreturns_qty,
w.sreturns_cost = v.sreturns_cost,
w.sreturns_value = v.sreturns_value,
w.grn_qty = v.grn_qty,
w.grn_cost = v.grn_cost,
w.grn_value = v.grn_value,
w.tfrin_qty = v.tfrin_qty,
w.tfrin_cost = v.tfrin_cost,
w.tfrin_value = v.tfrin_value,
w.tfrout_qty = v.tfrout_qty,
w.tfrout_cost = v.tfrout_cost,
w.tfrout_value = v.tfrout_value,
w.intake_qty = v.intake_qty,
w.intake_cost = v.intake_cost,
w.intake_value = v.intake_value,
w.preturns_qty = v.preturns_qty,
w.preturns_cost = v.preturns_cost,
w.preturns_value = v.preturns_value,
w.adjm_qty = v.adjm_qty,
w.adjm_cost = v.adjm_cost,
w.adjm_value = v.adjm_value,
w.adjw_qty = v.adjw_qty,
w.adjw_cost = v.adjw_cost,
w.adjw_value = v.adjw_value,
w.adjc_qty = v.adjc_qty,
w.adjc_cost = v.adjc_cost,
w.adjc_value = v.adjc_value,
w.adjt_qty = v.adjt_qty,
w.adjt_cost = v.adjt_cost,
w.adjt_value = v.adjt_value,
w.adjv_qty = v.adjv_qty,
w.adjv_cost = v.adjv_cost,
w.adjv_value = v.adjv_value,
w.stockob_qty = v.stockob_qty,
w.stockob_cost = v.stockob_cost,
w.stockob_value = v.stockob_value,
w.fp_stockob_qty = v.fp_stockob_qty,
w.fp_stockob_cost = v.fp_stockob_cost,
w.fp_stockob_value = v.fp_stockob_value,
w.md_stockob_qty = v.md_stockob_qty,
w.md_stockob_cost = v.md_stockob_cost,
w.md_stockob_value = v.md_stockob_value,
w.tm_stockob_qty = v.tm_stockob_qty,
w.tm_stockob_cost = v.tm_stockob_cost,
w.tm_stockob_value = v.tm_stockob_value,
w.stockcl_qty = v.stockcl_qty,
w.stockcl_cost = v.stockcl_cost,
w.stockcl_value = v.stockcl_value,
w.fp_stockcl_qty = v.fp_stockcl_qty,
w.fp_stockcl_cost = v.fp_stockcl_cost,
w.fp_stockcl_value = v.fp_stockcl_value,
w.md_stockcl_qty = v.md_stockcl_qty,
w.md_stockcl_cost = v.md_stockcl_cost,
w.md_stockcl_value = v.md_stockcl_value,
w.se_stockcl_qty = v.se_stockcl_qty,
w.se_stockcl_cost = v.se_stockcl_cost,
w.se_stockcl_value = v.se_stockcl_value,
w.tm_stockcl_qty = v.tm_stockcl_qty,
w.tm_stockcl_cost = v.tm_stockcl_cost,
w.tm_stockcl_value = v.tm_stockcl_value,
w.co_stockcl_qty = v.co_stockcl_qty,
w.co_stockcl_cost = v.co_stockcl_cost,
w.co_stockcl_value = v.co_stockcl_value,
w.modifiedon=stime
WHEN NOT MATCHED THEN
INSERT (date_key, ccid, year_id, period_id, week_id,
company, country,location, brand, mainbrand,
pgroup,
sales_qty, sales_cost, sales_value,
fp_sales_qty, fp_sales_cost, fp_sales_value,
md_sales_qty, md_sales_cost, md_sales_value,
sreturns_qty, sreturns_cost, sreturns_value,
grn_qty, grn_cost, grn_value,
tfrin_qty, tfrin_cost, tfrin_value,
tfrout_qty, tfrout_cost, tfrout_value,
intake_qty, intake_cost, intake_value,
preturns_qty, preturns_cost, preturns_value,
adjm_qty, adjm_cost, adjm_value,
adjw_qty, adjw_cost, adjw_value,
adjc_qty, adjc_cost, adjc_value,
adjt_qty, adjt_cost, adjt_value,
adjv_qty, adjv_cost, adjv_value,
stockob_qty, stockob_cost, stockob_value,
fp_stockob_qty, fp_stockob_cost, fp_stockob_value,
md_stockob_qty, md_stockob_cost, md_stockob_value,
tm_stockob_qty, tm_stockob_cost, tm_stockob_value,
stockcl_qty, stockcl_cost, stockcl_value,
fp_stockcl_qty, fp_stockcl_cost, fp_stockcl_value,
md_stockcl_qty, md_stockcl_cost, md_stockcl_value,
se_stockcl_qty, tm_stockcl_cost, tm_stockcl_value,
tm_stockcl_qty, se_stockcl_cost, se_stockcl_value,
co_stockcl_qty, co_stockcl_cost, co_stockcl_value,
currency, exrate1, exrate2, exrate3, exrate4, exrate5,
modifiedon)
values
(v.date_key, v.ccid, v.year_id, v.period_id, v.week_id, v.company, v.country,
v.location, v.brand, v.mainbrand, v.pgroup,
v.sales_qty, v.sales_cost, v.sales_value,
v.fp_sales_qty, v.fp_sales_cost, v.fp_sales_value,
v.md_sales_qty, v.md_sales_cost, v.md_sales_value,
v.sreturns_qty, v.sreturns_cost, v.sreturns_value,
v.grn_qty, v.grn_cost, v.grn_value,
v.tfrin_qty, v.tfrin_cost, v.tfrin_value,
v.tfrout_qty, v.tfrout_cost, v.tfrout_value,
v.intake_qty, v.intake_cost, v.intake_value,
v.preturns_qty, v.preturns_cost, v.preturns_value,
v.adjm_qty, v.adjm_cost, v.adjm_value,
v.adjw_qty, v.adjw_cost, v.adjw_value,
v.adjc_qty, v.adjc_cost, v.adjc_value,
v.adjt_qty, v.adjt_cost, v.adjt_value,
v.adjv_qty, v.adjv_cost, v.adjv_value,
v.stockob_qty, v.stockob_cost, v.stockob_value,
v.fp_stockob_qty, v.fp_stockob_cost, v.fp_stockob_value,
v.md_stockob_qty, v.md_stockob_cost, v.md_stockob_value,
v.tm_stockob_qty, v.tm_stockob_cost, v.tm_stockob_value,
v.stockcl_qty, v.stockcl_cost, v.stockcl_value,
v.fp_stockcl_qty, v.fp_stockcl_cost, v.fp_stockcl_value,
v.md_stockcl_qty, v.md_stockcl_cost, v.md_stockcl_value,
v.se_stockcl_qty, v.tm_stockcl_cost, v.tm_stockcl_value,
v.tm_stockcl_qty, v.se_stockcl_cost, v.se_stockcl_value,
v.co_stockcl_qty, v.co_stockcl_cost, v.co_stockcl_value,
v.currency, v.exrate1, v.exrate2, v.exrate3, v.exrate4, v.exrate5,
stime); -
Implementing Auto Correct Load as Oracle Merge
Data Services 3.0 documentation reads that Auto Correct Load option for Oracle target will be implemented as a Merge statement, if both the source and the target reside in the same datastore.
I have set this up as per documentation, however the Optimized SQL still shows a pl/sql stored procedure logic, NOT the Merge Statement.
My questions are:
1. Has anybody successfully implemented Oracle Merge?
2. If answer to (1) is yes, then is there a way to control update and insert elements of the Merge statement? I would like to update the rec_created_timestamp of the target table only on Insert, and update the rec_updated_timestamp on update.
Thank you.having both source and target on the same database or source table accesible from target table throguh Database link is not the only condition for DS Optimizer to use Oracle MERGE command to do auto correct load
check the following
Auto Correct load and Allow Merge option is set to yes for target table
its possible to push down the complete read and load operation to DB, (you are not using function or mapping or join etc that are not supported by Oracle)
You have Primary Keys defined correctly, this is required to avoid situation where you may not end up inserting and updating the same record (MERGE will fail with Ora error )
the Identification of INSERT and UPDATE will depend on your key column, you can modify the PK for target table either modfiying the table column properties by opening the schema from Datastore or if you want this only for a particular DF then add a Query transfrom before loader and set the key columns in output schema and set the loader option Use Input Key to yes
Using User Defined key is safe as long as you make sure that the source data will be unique for that combination else MERGE will fail -
Installation problem oracle 11g R2 on oracle enterprise linux 5 update 5
hello support,
i've installation problems with oracle 11g R2 on oracle enterprise linux 5 update 5. In the section "ORACLE Net-Konfigurationsassisten" the failure "[INS-20802] Oracle NET-Konfigurationsassistent not success". What's wrong? I've followed the instructions on http://www.oracle.com/technology/pub/articles/smiley-11gr1-install.html
I've heard the problem can occur with problems in /etc/hosts? My /etc/hosts is configured:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 oracle localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
is this ok? what can I do to bring the database-installation to success?
Thank's for help ;-)
Edited by: user5782904 on 09.05.2010 14:06Here I paste you the configuration of my latest linux box which has a similar environment like yours.
# hostname
vmrhel6032.quist.ch
# domainname
(none)
# cat /etc/hosts
192.168.1.205 vmrhel6032 vmrhel6032.quist.ch
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=vmrhel6032.quist.ch
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
HWADDR=00:0C:29:6A:98:70
ONBOOT=yes
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.205
#Thanks to your post I noted that the hostname consist already of my domain entry. Try your configuration first without domain entry. It should look like:
# hostname
vmrhel6032
# domainname
(none)
# cat /etc/hosts
192.168.1.205 vmrhel6032
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
# cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=vmrhel6032
# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
HWADDR=00:0C:29:6A:98:70
ONBOOT=yes
NETWORK=192.168.1.0
NETMASK=255.255.255.0
IPADDR=192.168.1.205
#Otherwise use the first example and don't forget to restart your server resp. the network service. ;) -
Install oracle 9i on linux4 update 8 x86_64bit
Dear Members
i have installed oracle 9i release 2 on on linux 4 update 4 32 bit successfully.
now i want to install oracle 9i on linux4 update 8 x86_64bit.
is there any parameter or rpm changes? or same as 32 bit?
please help me out
regardsHi,
I think you need to Install patch *5386899* on 64-bit machine.
Refer:http://www.puschitz.com/InstallingOracle9i.shtml
Regards,
X A H E E R -
What locks are required on a table when Oracle is processing an UPDATE
What locks are required on a table when Oracle is processing an
UPDATE statement?Welcome to the forum!
Whenever you post provide your 4 digit Oracle version.
>
What locks are required on a table when Oracle is processing an
UPDATE statement?
>
Here is a relevant quote from the 'Lock Modes' section of the doc that Ed Stevens provided
>
Assume that a transaction uses a SELECT ... FOR UPDATE statement to select a single table row. The transaction acquires an exclusive row lock and a row share table lock. The row lock allows other sessions to modify any rows other than the locked row, while the table lock prevents sessions from altering the structure of the table. Thus, the database permits as many statements as possible to execute.
>
The above describes the locks when you, the user, tells Oracle to lock the row. -
FRM-40509: ORACLE error: unable to UPDATE record.
FRM-40509: ORACLE error: unable to UPDATE record.
what can i do?There will always be another error which tells you what the actual problem on the database is. Use the Display message key, or message out DBMS_ERROR_TEXT
-
Looking Oracle BI Apps -Informatica/DAC/OBIEE Trainer
We are looking Oracle BI Apps -Informatica/DAC/OBIEE Trainer
If you could teach by online contact us asap.
send us your details to Our email id : [email protected]
Thanks
ShivaHi Shiva
You might be interested in the Business Intelligence Challenge 2 Go (BIC2g): http://bic2g.oracle.com/3/partner/
Oracle may be able to point you in the direction of a local partner to provide training.
Have a look at some of the links on that website though.
Regards
birchy -
FRM-40509: ORACLE error : Unable to update the record.
Hi,
I am having the following code in delete button.
declare
v_button NUMBER;
begin
IF :CHNG_CNTRL_JOB_DTLS.SENT_DATE IS NULL THEN
v_button := fn_display_warning_alert( 'Do you want to delete the version ?');
IF ( v_button = alert_button1 )
THEN
message('before insert');
insert into chng_cntrl_job_dtls_log
select * from chng_cntrl_job_dtls
where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
and sent_date is null;
message('before delete');
delete from CHNG_CNTRL_JOB_DTLS
where job_name = :CHNG_CNTRL_JOB_DTLS.job_name
and job_version_no = :CHNG_CNTRL_JOB_DTLS.job_version_no
and sent_date is null;
message('before commit');
silent_commit;
go_item('CHNG_CNTRL_JOB_DTLS.JOB_NAME');
P_DELETE_SET_PROPERTY;
clear_form;
ELSIF ( v_button = alert_button2 )
THEN
null;
END IF;
ELSE
p_display_alert('Version '||:CHNG_CNTRL_JOB_DTLS.JOB_VERSION_NO||' for the job name '||:CHNG_CNTRL_JOB_DTLS.JOB_NAME||' cannot be deleted.','I');
END IF;
exception
when others then
message ('Exception in delete version button');
end;when i am trying to save it says " *FRM-40509: ORACLE error : Unable to update the record*." .
i am getting message till before commit.
i am not able to check the error message in help as it is diabled in our form builder.
I have checked the privileges also. they are fine.
Please advice.
Edited by: Sudhir on Dec 7, 2010 12:26 PMThis error does not come from your procedure code, but from Forms itself. If you are in a database block, change something, and do a commit (either via a Forms key or in your own procedure), Forms commits the changes. For some reason this is not possible. You can see the database error via the Display Error key (often Shift-F1).
I see in the OP that this key is disabled. Change the on-error code then:
begin
message(dbms_error_code||'-'||dbms_error_text);
raise form_trigger_failure;
end; Edited by: InoL on Dec 7, 2010 8:50 AM -
SP Update strategy - how often do you update?
Hello,
as far as I know NWDS and CE should be on the same release and SP level.
Scenario: Several Composite Application on 7.2 SP 3. Now SP4 is available.
Following the recommendation to be on the same SP level strictly would mean that while updating the CE to SP 4 all developers should update their NWDS and rebuild their Composite Applications and redeploy them. To me this seems not feasible. Especially when you use the NWDI, e.g. all active tracks would need a new checkin and import.
I'm looking for a more pragmatic approach. But I need to know the following:
Do applications being developed for a certain SP level run after the SP update of the runtime CE?
How do you handle this SP update issue practically? Do you omit every second SP? Is there information available from SAP regarding an update strategy.
THX
OliverI understand that this is the best way, but there's a lot effort required:
Update D,Q,P CE server
Each active track in the NWDI needs to be updated with new SCs
Each developer has to update his NWDS (check in his open activities before) and his local CE
Each developer has to reload his development configuration
If there are 4 SPs per year - this may be time consuming.
From a practical point of view I would guess to opt for an SP update only if the new one contains fixed bugs that have occured in your scenario or if the new SP contains new and required features.
What do you think?
Regards
Oliver -
Problem installing Oracle Linux Release 5 Update 2 from Oracle e-Delivery
Hello
I have been trying to install Oracle Linux Release 5 Update 2 from Oracle e-Delivery so that I can install Oracle 11g express edition beta.
Here are the steps that I took and the problem that I am having:
1. I downloaded the file, unzipped the file twice, which gave me 3,042 files and 13 folders with the total size = 3.07 GB.
2. I put in the DVD and restarted my PC hoping that my PC will boot from the DVD, but instead Window started.
I reported this issue to tech support from e-Delivery, but they referred me to contact you. Please assist.
Julia3,042 files and 13 folders with the total size = 3.07 GBWhich download .zip did you choose from edelivery? Under linux-x64 I peeked "Oracle Linux Release 5 Update 2 for x86_64 (64 Bit) - DVD" file V15099-01.zip downloaded, it has just the one .iso file. You'll need to burn that to DVD, but with burn s/w that handles ISO files.
Also keep in mind you'll need 64 bit hardware (amd/intel 64? itanium? those are different), the only *nix platform I've got handy to try it out is -x86 :( -
Hi All,
I have a SC for my PCD objects, which has 10 DCs associated with it. If I make any change in one of the DCs and release it to production, NWDI is updating all the 10 dcs but not the only one which was updated.
There is no dependency of any pcd object dc with any other present in the sc.
From the logs I found there is something called 'Update Strategy', so I just want to try changing different option present under the same.
Please advise the appropriate steps.
Thanks,
Atul> We want to update the dev system from GRC production system with the role changes or role creation and than transport to QA and Production system. So in this case, GRC system will update development system in the background and than manually we have to move the changes via transport to QA and Production manually.
>
> OR the GRC production system will update directly backend Production system and there is no use of manually transporting them.
Hi SD
There is no provision to transport roles within GRC AC. You can provision roles in development system and transport to quality and production has to be done manually. It is never recommended to provision the roles directly in quality or production.
Hope this answers your questions.
Thanks.
Anjan Pandey -
Possibilty for a update Strategy
Hello together,
give it in OWB one possiblity to configure one update strategy. An example for this - i have one lookup operation, if the result of the lookup is NOT NULL then update else INSERT. If a possibility exist where i can configure this?
I look forward for your replies :)Hi,
you need a splitter with 2 conditions:
- column_name is null;
- column_name is not null
and 2 table operators - 1. for insert and 2. for update.
BR,
IM -
Oracle MERGE in to a single table error.
Experts, please find any errors in this merge query as it throws following exception when trying to execute,
MERGE INTO md.PER_USER PU
USING (
SELECT
+'aaa.bbb.ccc' AS NAME,+
+'222' AS VALUE,+
+( SELECT U_ID+
FROM md.USER U
WHERE upper(U.NAME) = upper('sds')) AS U_ID
FROM dual
+) val ON (+
PU.NAME=val.NAME
and PU.U_ID=val.U_ID
+)+
WHEN MATCHED THEN
update set PU.VALUE = val.value
WHEN NOT MATCHED THEN
INSERT (PU.ID, PU.NAME, PU.VALUE,PU.U_ID) VALUES (SELECT sys_guid(), val.NAME, val.VALUE,val.U_ID);
Following exception throws :
nested exception is java.sql.SQLSyntaxErrorException: ORA-00936: missing expression'; cause: 'org.springframework.jdbc.BadSqlGrammarException';
Iam using oracle 11g.INSERT (PU.ID, PU.NAME, PU.VALUE,PU.U_ID) VALUES (SELECT sys_guid(), val.NAME, val.VALUE,val.U_ID);leave away the SELECT before sys_guid():
INSERT (PU.ID, PU.NAME, PU.VALUE,PU.U_ID) VALUES (sys_guid(), val.NAME, val.VALUE,val.U_ID);
Maybe you are looking for
-
Hi We need to take the print out of 531 mvt What are the standerd Setting needs to maintain for the same, Regards Niti Narayan
-
HT204023 why can't i connect to my own hotspot when I am not near a wifi source
I don't understand why I get a no connection notice when I am not near a wifi source, when I have my hotspot on my phone.
-
Would like to use song from Itunes as background music for blog, How do I?
Would like to use a song I have in my Itunes library as background music in my blog. Does anyone know how? New to computing and not great on the lingo just yet. Thanks
-
Help Suggestions Needed: Flash Video VS. Animated .Gif
Hi everyone, My goal is to post an image on my blog that continuously plays different image frames. I'm new to using other programs in the Adobe Suite other than Photoshop, so I started to achieve my goal by making an animated .gif The quality of the
-
Ihome dock damaged ipod?
I have a new ipod dock (the iHome iH5), not an Apple product. I put my iPod (20GB) in the dock & charged it. Then, I turned it on to shuffle. Songs skipped a bit & now my iPod is totally screwed up. All the songs are gone; my computer doesn't recogni