Error in Merge (Upsert)
I was just trying to see how merge worked but got error while running the following script.
Could you tell what is missing in the statement?
merge into emp_new emp_new
using(select
EMPNO ,
ENAME ,
JOB ,
MGR ,
HIREDATE ,
SAL ,
COMM ,
DEPTNO
from emp) emp
on (emp_new.empno=emp.empno)
when not matched then
insert (emp_new.EMPNO ,
emp_new.ENAME ,
emp_new.JOB ,
emp_new.MGR ,
emp_new.HIREDATE ,
emp_new.SAL ,
emp_new.COMM ,
emp_new.DEPTNO )
values
(emp.EMPNO ,
emp.ENAME ,
emp.JOB ,
emp.MGR ,
emp.HIREDATE ,
emp.SAL ,
emp.COMM ,
emp.DEPTNO )
Thanks
It displays the following error:
SQL> merge into emp_new emp_new using
2 (select
3 EMPNO ,
4 ENAME ,
5 JOB ,
6 MGR ,
7 HIREDATE ,
8 SAL ,
9 COMM ,
10 DEPTNO
11 from emp) emp
12 on (emp_new.empno=emp.empno)
13 when not matched then
14 insert (emp_new.EMPNO ,
15 emp_new.ENAME ,
16 emp_new.JOB ,
17 emp_new.MGR ,
18 emp_new.HIREDATE ,
19 emp_new.SAL ,
20 emp_new.COMM ,
21 emp_new.DEPTNO )
22 values
23 (emp.EMPNO ,
24 emp.ENAME ,
25 emp.JOB ,
26 emp.MGR ,
27 emp.HIREDATE ,
28 emp.SAL ,
29 emp.COMM ,
30 emp.DEPTNO)
31 /
emp.DEPTNO)
ERROR at line 30:
ORA-00905: missing keyword
Similar Messages
-
Error Mail Merge Aborted due to error in creating the Mail Merge DataSource
Dear All,
please help me with this problem (Oracle release 12.0.4.)
1. PROBLEM:
When attempting to extract data, using Web ADI in HRMS, Word is selected as the viewer, but an Excel spreadsheet is generated rather than a MS Word document containing the data. Also error "Mail Merge Aborted due to error in creating the Mail Merge Data Source." appears on screen.
We are using MS Office 2003.
2. PROBLEM:
Unable to create data source from HR form PAYWSLEE.
We are using custom integrator. This integrator is attached to form function. Form function is attached to responsibility. We also created the layout.
The next step would be to create data source from form PAYWSLEE, but we are not able to perform this...
In release 11i we used this form (PAYWSLEE) to create datasource (for mailmerge), but in R12 this is not working... Something is missing here and I need your help to determine what. I checked the most documents on Oracle Support and didn't find solution for this problem...
Please advise.
Kind Regards,
AndrejaHi all,
Thanks for visiting our forum and sharing your experience here. It'll be benefited to our communicator.
Have a good time.
Regards,
Thanks
George Zhao
Forum Support
Come back and mark the replies as answers if they help and unmark them if they provide no help.
If you have any feedback on our support, please click "[email protected]" -
MERGE INTO table_a
USING (SELECT table_a.ROWID row_id, table_2.format_a
FROM table_2
WHERE table_2.sales_class = sales_class) src
ON ( table_1.ROWID = src.row_id )
WHEN MATCHED THEN UPDATE SET FORMAT = src.format_a;while executing the above code i am getting an error
SQL Error: ORA-00904: "TT_PRODUCT_INFO_PIMS"."ROWID": invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:how to solve this error ?Merge Into Tt_Product_Info_Pims
USING (SELECT a.ROWID row_id, a.category, b.mat_type_code, CASE
When ( Select Distinct 1
FROM sfs_prod_matrix_t D Where D.Isbn = Tt_Product_Info_Pims.Isbn ------GETTING ERROR here -- ----"
--"Tt_Product_Info_Pims.isbn INVALID IDENTIFIER"
AND D.smpl_yr = 19 ) = 1 THEN 'Y'
ELSE 'N'
END AS pos_4, c.est_flag_cost, c.est_flag_price, CASE
WHEN isbn_price = 0
OR isbn_price IS NULL THEN c.isbn_price
ELSE isbn_price
END AS pos_7, CASE
WHEN isbn_cost = 0
OR isbn_cost IS NULL THEN c.isbn_cost
ELSE isbn_cost
END AS pos_8
FROM Demand.program_t a ,Demand.pgt_t b ,Demand.product_t c
WHERE a.cmpy_id = b.cmpy_id
AND a.discipline = b.discipline
AND a.prod_grp = b.prod_grp
AND a.cpy_yr = b.cpy_yr
AND a.cmpy_id = c.cmpy_id
AND a.discipline = c.discipline
AND a.prod_grp = c.prod_grp
AND a.cpy_yr = c.cpy_yr
AND b.prod_type = c.prod_type
AND c.isbn = isbn) src
On ( Tt_Product_Info_Pims.Rowid = Src.Row_Id )
WHEN MATCHED THEN UPDATE SET category = src.category;
{code}
is it necessary to include Tt_Product_Info_Pims table inside the select clause -
Error in MERGE statement - ORA-00969: missing ON keyword
Hi All ,
I am trying to write a Merge statement , but I am getting the below error .
MERGE INTO main_table m
USING tab_1 l, tab_2 u
ON ( l.col1 = m.col1
AND u.col2 = l.col2)
When Matched then
update........
When not mached then
Insert ......
But here I am using 2 tables in the USING clause . and here I am getting this error :-
142/17 PL/SQL: SQL Statement ignored
143/42 PL/SQL: ORA-00969: missing ON keyword
May I know where i am doing wrong ?Hi LuKKa, you are on the Portugues Forum, but we can help you, try the code mentioned below:
MERGE INTO main_table m
USING (select l.col1, l.col2, u.col2 from tab_1 l join tab_2 u on (u.col2 = l.col2)) t
ON (t.col1 = m.col1)
When Matched then
update........
When not mached then
Insert ......
Regards. -
PropertyDescriptor: internal error while merging...
Hi,
I recently got the following error while migrating our code to WEblogic 8.1.4 using jdk1.4.2_05. Before the migration our code works fine.
However, if I use Sun's jdk (j2sdk1.4.2_06) to run the Weblogic instance, our code works fine.
Does anyone encounter the same problem? Should I upgrade to a newer version of jdk from BEA weblogic or from Sun?
Thx
Tai
javax.servlet.ServletException: PropertyDescriptor: internal error while merging
PDs: type mismatch between read and write methods
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispat
cherImpl.java:344)Hi,
8.1 sp4 supports jdk1.4.1_05
http://e-docs.bea.com/platform/suppconfigs/configs81/81_over/overview.html#1125794
Prasanna Yalam -
I have a mapping that compiles but produces a run-time error:
BATCH MERGE
ORA-00918: column ambigiously defined
I've traced it to this section of the code:
MERGE INTO "GXP_LOCATION"
USING
(SELECT /*+ NO_MERGE*/
<snip>
FROM
"DW_GXP_LOCATIONS"@"GPDW" "DW_GXP_LOCATIONS_GPDW"
) "MERGEQUERY_393"
ON (
"GXP" = "MERGEQUERY_393"."GXP" AND
"NETWORK_CODE" = "MERGEQUERY_393"."NETWORK_CODE" )
WHEN MATCHED THEN
UPDATE
SET "TPNZ_GRID_BUS" = "MERGEQUERY_393"."TPNZ_GRID_BUS",
"LOCATION" = "MERGEQUERY_393"."LOCATION",
"CONNECTION_TYPE" = "MERGEQUERY_393"."CONNECTION_TYPE",
"AUDIT_ID" = "MERGEQUERY_393"."AUDIT_ID"
WHEN NOT MATCHED THEN
INSERT
<snip>
If I prefix the table name to the columns used in the ON clause, it works.
Any ideas?
Regards
Hong
Environment
OWB version 9.0.2.62.3
Oracle9i EE 9.0.1.3.0I have recreated this and it seems to be a code generation error. The workaround I can suggest is to either rename the ON clause fields in the target table or to create a view atop of the source table in which the names of the mentioned fields will be different from the ones in the table and then extract from that view (I presume you cannot touch the source table). This problem will be fixed in the next release.
Igor -
Serious error using merged clips
Premiere crashes when I try to use a merged clip. When I double click on the clip it loads into the preview panel, but when I perform any actions such as overwrite or insert or if I right-click on the clip I get this message: "Sorry, a serious error has occurred that requires Adobe Premiere Pro to shut down..."
Here are the details:
All the clips I am using in the project are merged clips.
The video clips are AVCHD with reference audio, and the audio clips are .wav 48 MHz.
Running a Mac Pro OS X 10.9.3 and the latest update of Premiere Pro CC 2014
I have tried the following:
turned off GPU accelerated preview in favour of software only
deleted the merged clip and re-created it (in case it was somehow corrupt)
opened the project with a different system user (to rule out user settings)
started a project from scratch, merging the same clips and then performing similar tasks
emptied the After Effects cache
spent 90 minutes with tech support controlling my computer trying various things I'm not certain about
Wasting too much time. Tempted to revert to FCP until this is resolved. Please help.I don't know about cc 2014, but in the past 5 months working in cc 7.2.1 & 7.2.2 I've found merged clips to be incredibly unstable/buggy. In one case a handful of merged clips were preventing me from importing sequences from other projects. I've run into issues where the match-frame function doesn't work with them, and worst of all every time I've used them they've significantly slowed down premiere (creating a very annoying lag between every interaction with the program).
My workaround has been to avoid merged clips at all costs, and instead use single-angle multicams to group video & audio from different sources. It ain't ideal, but it's been a far more stable workflow.
Don't know about the 2014 version - I'm afraid to give merged clips another serious try after all the headaches they've caused in the past. If anybody has seen improved stability with merged clips in the recent update I'd be very interested to hear. -
Getting an error in MERGE statement
Hi,
I am getting an error "missing keyword" when I execute the MERGE statement.
Here I have attached copy of MERGE statement which I am trying to execute.
(My requirement is if I find matching record then insert again it's a business requirement. And if not then set flag)
MERGE INTO t1
USING t2
ON (conditions)
WHEN MATCHED THEN
INSERT (column list from t1)
VALUES (from t2)
WHEN NOT MATCHED THEN
UPDATE
SET ... ;
Can someone guide me?
Thanks,This is why I told you yesterday in this thread...
Need suggestion in MERGE Statement
...that what you're asking is the opposite of the way MERGE works.
Guess you didn't want to believe me. -
Error in merge statement when trying to impliment SCD type 2 using merge...
Hi ,
I'm trying to impliment SCD type 2 using Merge using below blog as reference but sime how it is erroring out with error
http://www.made2mentor.com/2013/08/how-to-load-slowly-changing-dimensions-using-t-sql-merge/
Msg 207, Level 16, State 1, Line 40
Invalid column name 'Current'.
Msg 207, Level 16, State 1, Line 38
Invalid column name 'Current'.
Msg 207, Level 16, State 1, Line 47
Invalid column name 'Current'.
Here is the code below...
--Create Temporaty table to hold dimension records
IF OBJECT_ID('tempdb..#DimVirtualQueue') IS NOT NULL
DROP TABLE #DimVirtualQueue;
CREATE TABLE #DimVirtualQueue
( [VQ_name] [varchar](50) NULL,
[contact_type] [varchar](50) NULL,
[center_node_id] [int] NULL,
[sed_id] [datetime] NULL,
[eed_id] [datetime] NULL,
[insert_date] [datetime] NULL,
[Current] [char](1) NOT NULL
INSERT INTO #DimVirtualQueue(VQ_name, contact_type, center_node_id, sed_id, eed_id, insert_date,[Current] )
SELECT VQ_name, contact_type, center_node_id, sed_id , eed_id,GETDATE(),'Y'
FROM
( --Declare Source and Target tables.
MERGE dbo.tblSwDM_dim_VQ_test AS TARGET
--Source
USING (SELECT
RTRIM(LTRIM(Stage.RESOURCE_NAME)) AS VQ_name,
'Unknown' AS contact_type,
0 AS center_node_id,
CONVERT(INT,CONVERT(VARCHAR(8),GMT_START_TIME,112)) AS sed_id,
CONVERT(INT,CONVERT(VARCHAR(8),ISNULL(GMT_END_TIME,'2070-01-01'),112)) AS eed_id,
GETDATE() AS insert_date
FROM dbo.tblGenesys_stg_RESOURCE_ Stage
WHERE resource_type = 'queue'
AND resource_subtype = 'VirtualQueue'
AND NOT EXISTS (SELECT 1 FROM dbo.tblSwDM_dim_VQ AS dim
WHERE RTRIM(LTRIM(stage.RESOURCE_NAME)) = RTRIM(LTRIM(dim.vq_name))) ) SOURCE
ON TARGET.VQ_name = SOURCE.VQ_name
WHEN NOT MATCHED BY TARGET
THEN
INSERT ( VQ_name, contact_type, center_node_id, sed_id, eed_id, insert_date,[Current] )
VALUES (SOURCE.VQ_name,SOURCE.contact_type,SOURCE.center_node_id,SOURCE.sed_id,SOURCE.eed_id,SOURCE.insert_date,'Y')
WHEN MATCHED AND TARGET.[Current] = 'Y'
AND EXISTS (
SELECT SOURCE.VQ_name
EXCEPT
SELECT TARGET.VQ_name
--Expire the records in target if exist in source.
THEN UPDATE SET TARGET.[Current] = 'N',
TARGET.[eed_id] = SOURCE.eed_id
OUTPUT $Action ActionOut, SOURCE.VQ_name,SOURCE.contact_type,SOURCE.center_node_id,SOURCE.sed_id,SOURCE.eed_id) AS MergeOut
WHERE MergeOut.ActionOut = 'UPDATE';
--Insert data into dimension
INSERT tblSwDM_dim_VQ_test
SELECT VQ_name,contact_type,center_node_id,sed_id,eed_id,insert_date,[Current] FROM #DimVirtualQueue
Any help to resolve issue is appreciated...
Thanks,
Vishal..You need to show the DDL of your target table: dbo.tblSwDM_dim_VQ_test.
Do you have a column named [Current] in this table? -
Error in merge query of the Proc.
Hi all,
Below merge query working fine, if I execite independently. I am getting error as "ORA-00900: invalid SQL statement" when i paste this code inside the procedure. However, if I comment the lines written in bold, proc is working fine. Not sure why the comparison not happening even though code and data is correct. If i use like intead of IN then it is working fine.
Can you please suggest on this?
MERGE INTO ENTRYPOINTASSETS
USING
(SELECT
LAST_DAY(TRUNC(to_timestamp(oa.reqdate, 'yyyymmddhh24:mi:ss.ff4'))) as activity_month,
oa.acctnum as acctnum,
l.lkpvalue as assettype,
LOWER(trim(oa.disseminationmthd)) as deliverymthd,
epa.assetid as assetid,
epa.assetname as assetname,
count(1) as entrypointcount
FROM action oa, asset epa, lookupdata l
WHERE
oa.assetkey IS NOT NULL
AND oa.acctnum is not null
AND trim(oa.assettype) IN ('NL','WS','AL')
AND l.lkpid = epa.assettypeid
AND UPPER(trim(oa.disseminationmthd)) IN ('ABC','BCD', 'PODCAST', 'EMAIL','ED', 'WID')
AND epa.assetkey = oa.assetkey
AND epa.assetid <> 0
GROUP BY
LAST_DAY(TRUNC(to_timestamp(oa.reqdate, 'yyyymmddhh24:mi:ss.ff4'))),
oa.acctnum,
l.lkpvalue,
LOWER(trim(oa.disseminationmthd)),
epa.assetid,
epa.assetname
) cvd1
ON
(ENTRYPOINTASSETS.activity_month = cvd1.activity_month
AND ENTRYPOINTASSETS.acctnum = cvd1.acctnum
AND ENTRYPOINTASSETS.assettype = cvd1.assettype
AND UPPER(ENTRYPOINTASSETS.deliverymthd) = UPPER(cvd1.deliverymthd)
AND ENTRYPOINTASSETS.assetid = cvd1.assetid)
WHEN NOT MATCHED THEN
INSERT (activity_month, acctnum, assettype, deliverymthd, assetid, assetname, entrypointcount)
VALUES (cvd1.activity_month, cvd1.acctnum, cvd1.assettype, cvd1.deliverymthd, cvd1.assetid, cvd1.assetname, cvd1.entrypointcount)
WHEN MATCHED THEN
UPDATE
SET ENTRYPOINTASSETS.assetname = cvd1.assetname;
Edited by: Nagaraja Akkivalli on Aug 9, 2011 6:07 PMTried it. No luck. Facing the same problem.
MERGE INTO SUMMARYTABLE
USING
(SELECT
LAST_DAY(TRUNC(to_timestamp(oa.reqdate, 'yyyymmddhh24:mi:ss.ff4'))) as activity_month,
oa.acctnum as acctnum,
l.lkpvalue as assettype,
LOWER(TRIM(oa.disseminationmthd)) as deliverymthd,
epa.assetid as assetid,
epa.assetname as assetname,
count(1) as entrypointcount
FROM ods_action oa, ods_asset epa, ods_lookupdata l
WHERE
(lv_summm_type_indicator = c_summaryType_fullLoad
AND ( get_date_timestamp(oa.reqdate) BETWEEN :sum_startdate AND :sum_enddate
AND oa.uploaddatetime BETWEEN :partitioned_start_date AND :partitioned_end_date
OR (lv_summm_type_indicator = c_summaryType_incrementLoad
AND oa.uploaddatetime BETWEEN :sum_startdate AND :sum_enddate )
AND oa.assetkey IS NOT NULL
AND oa.acctnum is not null
AND UPPER(TRIM(oa.assettype)) IN ('NL','WS','AL')
AND l.lkpid = epa.assettypeid
AND UPPER(TRIM(oa.disseminationmthd)) IN ('RSS','PCAST', 'PODCAST', 'EMAIL','ED', 'WID')
AND epa.assetkey = oa.assetkey
AND epa.assetid <> 0
GROUP BY
LAST_DAY(TRUNC(to_timestamp(oa.reqdate, 'yyyymmddhh24:mi:ss.ff4'))),
oa.acctnum,
l.lkpvalue,
LOWER(TRIM(oa.disseminationmthd)),
epa.assetid,
epa.assetname
) cvd1
ON
(SUMMARYTABLE.activity_month = cvd1.activity_month
AND SUMMARYTABLE.acctnum = cvd1.acctnum
AND SUMMARYTABLE.assettype = cvd1.assettype
AND UPPER(TRIM(SUMMARYTABLE.deliverymthd)) = UPPER(TRIM(cvd1.deliverymthd))
AND SUMMARYTABLE.assetid = cvd1.assetid)
WHEN NOT MATCHED THEN
INSERT (activity_month, acctnum, assettype, deliverymthd, assetid, assetname, entrypointcount)
VALUES (cvd1.activity_month, cvd1.acctnum, cvd1.assettype, cvd1.deliverymthd, cvd1.assetid, cvd1.assetname, cvd1.entrypointcount)
WHEN MATCHED THEN
UPDATE
SET SUMMARYTABLE.assetname = cvd1.assetname,
SUMMARYTABLE.entrypointcount =
CASE WHEN NVL(lv_summm_type_indicator,c_summaryType_incrementLoad) = c_summaryType_fullLoad THEN cvd1.entrypointcount
ELSE SUMMARYTABLE.entrypointcount + cvd1.entrypointcount END;If I comment any one of the below piece of code present in merge then merge is working fine. If I retain both code then getting error.
lv_summm_type_indicator is a variable caclualted @ run time to check type of summarization and c_summaryType_incrementLoad is a constant value stored @ the top of the procedure. PLease let me now where I am going wrong.
(lv_summm_type_indicator = c_summaryType_fullLoad
AND ( get_date_timestamp(oa.reqdate) BETWEEN :sum_startdate AND :sum_enddate
AND oa.uploaddatetime BETWEEN :partitioned_start_date AND :partitioned_end_date
))OR
OR (lv_summm_type_indicator = c_summaryType_incrementLoad
AND oa.uploaddatetime BETWEEN :sum_startdate AND :sum_enddate )Edited by: Nagaraja Akkivalli on Aug 24, 2011 5:13 PM
Edited by: Nagaraja Akkivalli on Aug 24, 2011 5:16 PM -
#Multivalue error with merged dimension
Hello Experts,
I have a report which has two queries 1 and 2. Query 1 has Year,Month,DB,UserID and NOQ(measure) obejcts. Query 2 has User ID and Username Objects.
The requirement is to display Username along with UserID and other objects in Query 1.
I have merged UserID from both queries and the merged object is named as "LANID" and non merged dimensions are created as Detail Objects for year month and DB with associated dimension as LANID.
If I drag year-detail,month-detail,DB-detail,UserID (from LANID) and Username,I get #MULTIVALUE error in month column for User IDs which have multiple records for the same year,different months and same DB.
I came across a similar thread,http://www.forumtopics.com/busobj/viewtopic.php?p=856502 where Dave Rathbun mentions that merged dimensions work only where there is unique record or same level of granularity between two dataproviders which is not the case here.
Request you to share any workarounds (asap) to achieve this.
Thanks,
SowrabhaIs there some sort of aggregation occurring that's causing multiple values for one row?
Check the table settings and select "avoid duplicate row aggregation" and see if that helps.
Also, with merged dimensions when you're missing individual query objects with merged objects, dimensional context becomes unknown or the wrong context is assumed, so you may be able to clear up the error by adding in a dimensional context (such as [Month-Detail] In ([User ID]).
I hope that helps,
Carly -
#MULTIVALUE Error while merging
Hi,
I merged two dataproviders and changed a dimension to Detail and added the detail object to the existing block.It gives me a #MULTIVALUE error.
I found an article which addresses this issue, but i failed to understand how it could be achieved.
below is the link to the article.Can someone kindly illustrate the point?
Thanks!
http://www.sdn.sap.com/irj/boc/index;jsessionid=(J2EE3417500)ID2135563850DB11704404452781121703End?rid=/library/uuid/80fe4156-743f-2b10-15a9-e96f47dbab16&overridelayout=trueSarma,
The article is trying to explain that in a previous release of WebI, that somehow merged dimensions tolerated two values to populate the same cell. With XI R2 SP2 and onward, WebI was changed to no longer tolerate a "cartesian" output and would instead put "#Multivalue" to give notice. The simple explanation of what causes #Multivalue is that you are attempting to populate a cell with two values at the same time. The hard part is in determining why it is happening. The only way to see what's happening is to get to the data, and you get to the data by creating another tab to your report for the purposes of discovery. In the new tab start a new grid and one at a time place objects from your data panel into a grid and observe what happens. Once you get a #Multivalue response, then you've identified your culprit and can then determine why it's happening. The fix is usually determining the proper metric to use in dissecting your data properly. Essentially, #Multivalue now serves its purpose as helping to keep you from "hurting yourself" in performing analysis that is not correct.
Thanks,
John -
Error when merging large clips in QuickTime
I am trying to merge two 2-hour clips into a 4-hour clip in QuickTime (OS X 10.7.2). If I combine very short clips and export for iPad all works. But the long clip combination generates an error "The operation not supported for this media." What is the problem? Is there a size limit I don't know about? I can create the large (4 hour) film in Quicktime and I can watch it. But I can't export the result. Anyone have an answer? [The two long clips were generated by HandBrake for Apple TV2 and the clips work everywhere they should.]
Thanks for any advice or help.
JerryI am trying to merge two 2-hour clips into a 4-hour clip in QuickTime (OS X 10.7.2). If I combine very short clips and export for iPad all works. But the long clip combination generates an error "The operation not supported for this media." What is the problem? Is there a size limit I don't know about?
What is the encoded resolution and file size of each file? While HandBrake generates iPad files using "Large File" addressing, the QT X player may or may not be programmed to use this mode for smaller resolutions based on the contextually adaptive nature of the preset. Just a guess, but it is possible the QT X player may refuse to "export" the content if the target file is projected to exceed 4 GBs or exceeds the available memory required to perform the processing of the files.
If true, then depending on the original source files' compression format(s) and apps available, I might try one of the following:
1) Create a merged "reference" file containing the two source files using QT 7 Pro or create a single "merged" file from the two source files in a single wrapper and then use HandBrake to make a single conversion/export to the target iPad compression format.
2) Use QT 7 Pro or MPEG Streamclip to save the data in the two M4V files to a single MOV file (without recompressing the data) and checking to see if this file can be imported/managed by iTunes for use on your iPad.
3) Try a lower resolution export from QT X to see if this obviates the error message. -
Errors when merging data in InDesign - Help!
Hi,
I'm fairly new to data merge in InDesign but have got my head around it in order to import a load of course listings into a prospectus design.
All was going well and I had my template all formatted and ready to go - but then I clicked 'preview multiple record layout', scrolled through a few pages and noticed that on some records the data has been wrongly, and seemingly randomly, imported. So for example, under the heading 'Course Code' which should just be a numerical value, it has substituted random text from another field instead. About half of the records are fine, and half are wrong.
My Excel sheet is very tidy and correct and there are no hidden fields which might foul the data merge. I just can't work out what's going wrong!
Any suggestions would be very much appreciated!
Many thanks,
Lucy WightDon't preview. It's a bug that happens often enough as to not ever trust it.
Main issue now is that the mere previewing of the merge can corrupt your merge document. Close down ID. Restart ID. Do the merge without previewing it and trust it will happen. Then carefully review the merged document for errors. If there are errors, you'll need to create a new document, copy over your elements from the corrupted document, do the merge without previewing and check it carefully.
If it is still breaking the merge, let us know. At that time, screen shots of the CSV, the layout in ID, the merge panel, etc., might be needed.
Mike -
Multi-Value error when merging queries
I am merging 2 different tables to generate a report with combined information. I want to pull data from one table where there is no matching dimension I have declare the dimensions as detailed objects. This works fine, I am however getting an issue with multiple values in some rows.
I have 2 queries that I merge
Query1
Application_name
Version
Query 2
Server hostname
Application_name
Report
Application_name (Query 1)
Version (Query 1)
Server hostname (Query 2)
The issues comes when I have multiple Server hostnames for an Applicaiton_name, they are showing a error message of u201C#MUTIVALUEu201D I presume this is due to the fact that the merge is trying to put more that one value in the Server hostname
How can I rectify this so that multiple servers are show for one application?
e.g.
Report Data
Application_name (Query 1) Version (Query 1) Server hostname (Query 2)
Application X Version 10.1 server1
Application X Version 10.1 server2
Application X Version 10.1 server3
AdamTry to use Report level context.
Like
Server hostname ForEach (Server ) In (Query)
Hope this will help you out.
Maybe you are looking for
-
I wish to charge my IPod but do not have my computer with me. can I charge the IPod with the plug in wall charger that I have for my IPad2?
-
Change default format of border styles
I am wondering if there is a way to change the preset default cell border styles in the most current version of numbers. Thanks, -A-
-
Hi, I'm trying to use SCCM 2012 R2 CU3 to create a VHD which i'll then convert to a VHDX and upload to VMM. I was able to do this successfully in my environment a few months ago, but got sidetracked and am just getting back to it now. Unfortunately
-
Hi I might be forced to migrate my project from JDeveloper 9.0.3.4 to 9.0.4 due to an ugly bug. As far as I can see JDeveloper 9.0.4 uses OC4J 9.0.4. But does this mean, that I also have to upgrade my Application Server to 9.0.4 ? Or is it possible t
-
when i click on import, it doesnt list my external 500gb hard drive in the menu... any ideas how to get it to pick it?