Query on importing of records
Hi All,
I have a scenario like:
I have started importing files, importing is under progress( about 80% is completed).
Now if an error occurs at this point of time, i should get all the 80% of the records in Data
manager that is already imported.
Is it possible?
Regards,
Pramod
Hi Pramod,
Importing takes place in Chunks.
So say for example you are importing a set of 10 records and 1 record among them is in error and the chunk is also in size 10 then it is possible taht the entire set is not imported.
For eg:when i was trying an import of a set of 500 rec their were some 4 rec which were in error but however my entire set did not get imported.
Regarding the 80% success i feel what ever records manged to get imported considering the import chunk size and the point to error occured should enter the MDM rep rest will fail.
You can also monitor the Import log taht gets generated after the recs failed it will give you the exact range of rec that have failed to import with a error msg with it.
Hope It Helped,
Thanks & Regards
Simona Pinto
Similar Messages
-
Import multiple records into a PDF document?
I'm not sure I'm using the correct terms, but let me spell out my problem.
I have a PDF document with several text forms named with the same names as columns in an Excel spreadsheet saved into txt format.
The forms are duplicated onto several pages so if there are five records in the spreadsheet, there are five pages in the PDF.
I am able to open the PDF and choose Import Form Data and point to the Excel txt file.
But in the Import Data from Delimited Text File dialog box, I am only able to choose one record at a time.
I was hoping to be able to import multiple records onto multiple pages. This way I could do a bulk printing of the spreadsheet data into the PDF. But doing one record at a time is cumbersome and won't work as we expand the project.
Any clues as to how to do this better?John,
I don't have the actual client's data as that is proprietary.
I do have two silly little test files that I put together, but I think you've answered my question.
I've already told the client to use Word (gasp) and Excel with a mail merge and then export to PDF or print directly.
Ironically this could have also been done with InDesign.
But as much as I had to recommend Word, it was nice that the client started out by wanting PDF. -
How to find out query for the deleted record.
Hi Guys,
We are using Oracle9i release 1. We are about 5 employees who are working on the same application. All Employee are connected to the same Schema (User)
User: Employee/web
Now one of the user have deleted like 200,000 records from a table. We just want to trace out the query by which these records were deleted.
From which file i can get the log of executed queries so that i can recover the data.
Just want to know the query executed for this deletion of records?
we are using windows server.
Regards,
Imran BaigIf you do not need an exact query, but only the way you can reconstruct the data, LogMiner can be solution for you. Below I have put a simple example you can review it if you want.
[email protected]> create table t201 as select object_id , object_name from all_objects where rownum < 10;
Table created.
[email protected]> select * from t201;
OBJECT_ID OBJECT_NAME
17918 /1005bd30_LnkdConstant
7540 /10076b23_OraCustomDatumClosur
23355 /10297c91_SAXAttrList
14204 /103a2e73_DefaultEditorKitEndP
22920 /1048734f_DefaultFolder
10154 /10501902_BasicFileChooserUINe
23566 /105072e7_HttpSessionBindingEv
23621 /106ba0a5_ArrayEnumeration
9830 /106faabc_BasicTreeUIKeyHandle
9 rows selected.
[email protected]> delete t201 where object_id < 10000;
2 rows deleted.
[email protected]> commit;
Commit complete.
[email protected]> alter system switch logfile;
System altered.
[email protected]> select * from v$log;
GROUP# THREAD# SEQUENCE# BYTES MEMBERS ARC STATUS FIRST_CHANGE# FIRST_TIM
1 1 41 10485760 2 YES ACTIVE 58320830 25-MAR-06
2 1 42 10485760 1 NO CURRENT 58348006 25-MAR-06
3 1 40 10485760 1 YES INACTIVE 58293190 25-MAR-06
[email protected]> select * from v$archived_log where sequence# = 41;
RECID STAMP
NAME
DEST_ID THREAD# SEQUENCE# RESETLOGS_CHANGE# RESETLOGS FIRST_CHANGE# FIRST_TIM NEXT_CHANGE# NEXT_TIME BLOCKS
ARC APP
DEL S COMPLETIO DIC DIC END BACKUP_COUNT ARCHIVAL_THREAD# ACTIVATION#
86 585998848
C:\ORACLE\ORADATA\MOB92\ARCH\ARC00041.001
1 1 41 57407039 20-MAR-06 58320830 25-MAR-06 58348006 25-MAR-06 20282
YES NO
NO A 25-MAR-06 NO NO NO 0 1 2555135919
[email protected]> exec dbms_logmnr.add_logfile('C:\ORACLE\ORADATA\MOB92\ARCH\ARC00041.001',dbms_logmnr.new)
PL/SQL procedure successfully completed.
[email protected]> exec dbms_logmnr.start_logmnr(options => dbms_logmnr.dict_from_online_catalog)
PL/SQL procedure successfully completed.
[email protected]> l
1 select sql_undo, sql_redo
2 from v$logmnr_contents
3 where username = 'MOB' and timestamp > sysdate - 1
4* order by timestamp
insert into "MOB"."T201"("OBJECT_ID","OBJECT_NAME") values ('7540','/10076b23_OraCustomDatumClosur');
delete from "MOB"."T201" where "OBJECT_ID" = '7540' and "OBJECT_NAME" = '/10076b23_OraCustomDatumClosur' and ROWID = 'AAAIE2AAXAAAFVaAAB';
insert into "MOB"."T201"("OBJECT_ID","OBJECT_NAME") values ('9830','/106faabc_BasicTreeUIKeyHandle');
delete from "MOB"."T201" where "OBJECT_ID" = '9830' and "OBJECT_NAME" = '/106faabc_BasicTreeUIKeyHandle' and ROWID = 'AAAIE2AAXAAAFVaAAI';
Best Regards
Krystian Zieja / mob -
Using Power Query to import image files for Power View
I am trying to use Power Query to import image data from a SQL Azure database for use in Power View. I've selected both the source image table and the ?images table in the workbook query. The files seem to load as binary data in the Power
Query editor but when loaded to the data model with Power Pivot, the field becomes "text" type rather than binary. Does anyone know the procedure to use PowerQuery to load image files into PowerPivot?Hi,
We currently do not support loading binary data from Power Query into the Power Pivot data model. This is something we'd like to address soon. For now, you will need to use the Power Pivot import capabilities if you want to achieve this.
Sorry about the inconvenience - we will try to enable this feature over the coming months.
Faisal Mohamood | Program Manager | Data Platform Group - Microsoft -
Administration - Marketing -> Import, you can set a parameter value "Import mode" for what to do in case of duplication as "update existing records", "Import new records". The final report of this import is presented as a text file that can be viewed in Business Administration - Marketing -> Import -> Exceptions. Whatever the exception, including duplication import occurs during import and recorded in a text file. What are the fields that determine the duplicity? How I can I can change those?
You will be returned anything that is in the option's value parameter. What is displayed in the dropdown and what is put in the value attribute do NOT need to be the same, so maybe you should start there.
-
Can I import a recording from SHDB into a project in LSMW?
Hi,
I'm working with LSMW, and i would like to know if it's possible to import o reuse a recording that already exists in transaction SHDB?
I tried but it seems that i should create a new recording again in the lsmw althought there exits one that was created by the shdb.
Thank you.
Regards,
Albio.-Hi,
No, it is not possible to import the recording you have done using SHDB transaction to LSMW as LSMW has its own recording facility, and we need to make use of the one available in LSMW.
Rgds, -
Query to get the records with same last name
I need to write a single sql query to get all records with duplicate last_name's. For example, if tab1 has 4 records:
10 Amit Kumar
20 Kishore Kumar
30 Sachin Gupta
40 Peter Gabriel
then the query should return
10 Amit Kumar
20 Kishore Kumar
id, name,L_name being the 3 columns in table
Apprecite you help.
Thank you
MarySQL> create table mytable (id,name,l_name)
2 as
3 select 10, 'Amit', 'Kumar' from dual union all
4 select 20, 'Kishore', 'Kumar' from dual union all
5 select 30, 'Sachin', 'Gupta' from dual union all
6 select 40, 'Peter', 'Gabriel' from dual
7 /
Table created.
SQL> select id
2 , name
3 , l_name
4 from ( select t.*
5 , count(*) over (partition by l_name) cnt
6 from mytable t
7 )
8 where cnt > 1
9 /
ID NAME L_NAME
10 Amit Kumar
20 Kishore Kumar
2 rows selected.Regards,
Rob. -
NUmber of records in query mismatch number of records in file
Hi Experts,
I am running an APD having as source a query and target file.
The issue is that in my query i have 78 records and in my file 138 any possible solutions??
Points will be awarded for useful answers.
Kevinhello Kevin,
The reason for getting more records in file can be due to:
May be you will having a characteristic due to which the Key Figure values are getting split up into many rows.
For eg:
If you have condition type in Rows, and have other characteristics like, Material, Customer etc.. you will get out put as:
Sales Org Sales Dist AGI Code UC AGi code Bill Qty CondVal(Cond type1) CondVal(Condition type2) CondVal(Cond type3)
A B C D 122 10.00 0 0
A B C D 122 0.00 12.00 0
A B C D 122 0.00 0.00 15.00
When you will remove the char due to which you are getting the above output, you will get proper result as follows:
Sales Org Sales Dist AGI Code UC AGi code Bill Qty CondVal(Cond type1) CondVal(Condition type2) CondVal(Cond type3)
A B C D 122 10.00 12.00 15.00
Hope it helps
Regards
Lavanya -
Select query for every 1000 records
Hi all ,
Please help me in the issue . I am using select query Select * from table up to 1000 rows for acheving the records but i want this process to retrigger once the process of 1000 records is compleded again it needs to fetch the next 1000 records and process the same . I am changing the status of the processed records once it is processed . Can can one tell me how to retrigger the select query once the 1000 records are processes.
Thanks in advance,Hi Eric,
After selecting the 1000 records, find the key value of the last record. Build up the range as GT. Again use the select query.
For example,
Select * into table lt_data from ztab
where key in r_key
up to 1000 rows.
regards,
Niyaz -
Dear All,
I have a requirement, to write a SQL query to populate the records which are inserted less than 10 no of records.
The tables has the cretaed_date column and along with other key column which will have unique values.
Ex1: The user might have inserted records from application, per week basis, between the date range '01-jun-2013' - 08-jun-2013 , the no of records created by the user during this week may be less than 10 records or more.
But I want to populate the records by giving date range that too, it should pick the records the count which fall with in 10 records.
I dont want the query to populate the records if the user has inserted more than 10 records in a week.
Ex2:
User 1 has created 15 records during the week 1 ( the query should not populate this ).
User 2: has cretaed less than 10 records from the UI during the week 2. ( This details should get populated ).
ThanksUse COUNT to find how many rows where inserted in a week.
If this does not answer your question then please read Re: 2. How do I ask a question on the forums? And provide necessary details. -
Need sql query to import from excel sheet
Hey , i need sql query to import from excel sheet.
i work in a company where i need to daily update the data from excel sheet.
if i get a shortcut method i ill be very thank full to you guys to reduce my work upto 10 %.any query which can inert from excel file?
Sort of. Certainly not anything as simple as what you seem to hope for. Check out this very good PHP class:
PHPExcel - Home -
Document mention about can do purchase records import as : Novell Doc: ZENworks 10 Asset Management Reference - Importing Purchase Records But there is no format decryption or sample format can follow, Any hint for this ?
Jchien168,
see page 88 here http://www.novell.com/documentation/...sers_guide.pdf
I will get this information copied to the ZCM docs - thanks for pointing this out
Shaun Pond -
How I can change this query to retun both records (max scores)
This query does not retrieve records when I have two records for the same pidm (unique key) with the same score and different test date
SORTEST_PIDM IS 'This field identifies the internal identification number of the student.'
SELECT sortest_pidm,
CASE sortest_tesc_code WHEN 'S02' THEN 'S06' END CASE,
sortest_tsrc_code,
test_date,
sortest_test_score
FROM (SELECT a.*,
ROW_NUMBER ()
OVER (
PARTITION BY a.sortest_tesc_code, a.sortest_pidm
ORDER BY
a.sortest_test_score DESC,
a.sortest_test_date DESC)
rn
FROM sortest a
WHERE --- a.sortest_pidm = 228709
-- sortest_pidm = 107168
---- sortest_pidm = 30021 --
and a.sortest_tesc_code = 'S02'
AND a.sortest_tsrc_code NOT IN ('SUPR'))
WHERE rn = 1;like this one
SORTEST_PIDM SORTEST_TESC_CODE SORTEST_TEST_DATE SORTEST_TEST_SCORE
30037 S02 03/01/2010 00:00:00 630
30037 S02 05/01/2010 00:00:00 630 It retrieves data when the scores are different
like this one
SORTEST_PIDM SORTEST_TESC_CODE SORTEST_TEST_DATE SORTEST_TEST_SCORE
107168 S02 06/01/2010 00:00:00 690
107168 S02 10/01/2010 00:00:00 800I need to be able to return the maximun test scrore in both cases...
here is some code to create a test table and insert the codes, I took out the sortest the table is already in the DB, I called the test table test...
CREATE TABLE TEST
TEST_PIDM NUMBER(8) NOT NULL,
TESC_CODE VARCHAR2(4 CHAR) NOT NULL,
TEST_DATE DATE NOT NULL,
TEST_SCORE VARCHAR2(5 CHAR) NOT NULL
insert into test (TEST_PIDM,TESC_CODE,TEST_DATE,TEST_SCORE) select 30037,'S02',to_date('03/01/2010','mm/dd/yyyy'),'630' from dual ;
insert into test (TEST_PIDM,TESC_CODE,TEST_DATE,TEST_SCORE) select 30037,'S02',to_date('05/01/2010','mm/dd/yyyy'),'630' from dual ;
insert into test (TEST_PIDM,TESC_CODE,TEST_DATE,TEST_SCORE) select 107168 ,'S02',to_date('06/01/2010','mm/dd/yyyy'),'690' from dual ;
insert into test (TEST_PIDM,TESC_CODE,TEST_DATE,TEST_SCORE) select 107168 ,'S02',to_date('10/01/2010','mm/dd/yyyy'),'800' from dual;
Hi,
893973 wrote:
This query does not retrieve records when I have two records for the same pidm (unique key) with the same score and different test date
SORTEST_PIDM IS 'This field identifies the internal identification number of the student.'
SELECT sortest_pidm,
CASE sortest_tesc_code WHEN 'S02' THEN 'S06' END CASE,
sortest_tsrc_code,
test_date,
sortest_test_score
FROM (SELECT a.*,
ROW_NUMBER ()
OVER (
PARTITION BY a.sortest_tesc_code, a.sortest_pidm
ORDER BY
a.sortest_test_score DESC,
a.sortest_test_date DESC)
rn
FROM sortest a
WHERE --- a.sortest_pidm = 228709
-- sortest_pidm = 107168
---- sortest_pidm = 30021 --
and a.sortest_tesc_code = 'S02'
AND a.sortest_tsrc_code NOT IN ('SUPR'))
WHERE rn = 1;like this one
SORTEST_PIDM SORTEST_TESC_CODE SORTEST_TEST_DATE SORTEST_TEST_SCORE
30037 S02 03/01/2010 00:00:00 630
30037 S02 05/01/2010 00:00:00 630 It retrieves data when the scores are different
like this one
SORTEST_PIDM SORTEST_TESC_CODE SORTEST_TEST_DATE SORTEST_TEST_SCORE
107168 S02 06/01/2010 00:00:00 690
107168 S02 10/01/2010 00:00:00 800I need to be able to return the maximun test scrore in both cases...
here is some code to create a test table and insert the codes, I took out the sortest the table is already in the DB, I called the test table test... It looks like you renamed all the columns, too, making the query above useless. There's no danger in using the same column names in two or more tables, even in the same schema.
CREATE TABLE TEST
TEST_PIDM NUMBER(8) NOT NULL,
TESC_CODE VARCHAR2(4 CHAR) NOT NULL,
TEST_DATE DATE NOT NULL,
TEST_SCORE VARCHAR2(5 CHAR) NOT NULL
insert into test (TEST_PIDM,TESC_CODE,TEST_DATE,TEST_SCORE) select 30037,'S02',to_date('03/01/2010','mm/dd/yyyy'),'630' from dual ;
insert into test (TEST_PIDM,TESC_CODE,TEST_DATE,TEST_SCORE) select 30037,'S02',to_date('05/01/2010','mm/dd/yyyy'),'630' from dual ;
insert into test (TEST_PIDM,TESC_CODE,TEST_DATE,TEST_SCORE) select 107168 ,'S02',to_date('06/01/2010','mm/dd/yyyy'),'690' from dual ;
insert into test (TEST_PIDM,TESC_CODE,TEST_DATE,TEST_SCORE) select 107168 ,'S02',to_date('10/01/2010','mm/dd/yyyy'),'800' from dual; If you want to pick the highest scores, regardless of test date, then don't include test_date in the analytic ORDER BY clause.
If you want to pick all the rows with the highest score in case of a tie, then use RANK instead of ROW_NUMBER. -
Importing video recorded in elp mode
i know you can only import video into iMovie recorded in sp or lp mode. does anyone know how i would be able to import something recorded in elp mode?
do i need to buy a different version of iMovie or a different program altogether? I currently have iMovie HD.
any information would be helpful. thanks.
Message was edited by: teneailHi t
a. Avoid all other than SP-mode. LP-mode gives severe audio sync. problems and lot's of drop outs.
b. Only way to save Your elp-mode material might be to import it via the analog-out on Your Camera
(has to be same as recorded!) and via an Analog/Digital video bridge as Canopus.
In this case I would try to find anyone that has an ADVC-300 that might repair some drop-outs.
Yours Bengt W -
Does AE CS5.5 Import *.ts Recorded Files
Hi,
Would anyone please be able to let me know if AE CS5.5 is supposed to be able to import *ts recorded files or do I need a plug in to do this?
I have some recordings that are in *ts file format and Premiere Pro CS 5.5 will import them OK but AE CS5.5 generates an error message and fails to import the files.
RgdsTodd,
I have attached a screen capture of the error message below.
Adobe Premiere Pro CS5.5 opens the same *ts file OK without any glitches or generating any error messages so it can handle it OK.
Rgds
Maybe you are looking for
-
Can Someone please help me, i've created a menubar with menuitems in a JFrame but i dont no how to do it in a JApplet. I would appreciate anybodies help.
-
How to add different bulleting shapes in thunderbird. Currently it is showing a dot.
i need to add detail with different bulleting shapes in Thunderbird is there any addon which helps me give different shape for bulleting.
-
Can I bring up a SBO 2007 PL15 company in SBO 2007 PL 5 client?
Hi, I am on SBO 2007 PL 15. If I backup my company database and send it to my client who is on PL05 of SBO 2007, will he be able to open this company. I am no sure if my client wants to upgrade to PL 15. So, in case if he does not want to do an upgra
-
i have iphoto previously installed. running but when i have synced my iphone4 the iphoto app. cant be launched anymore. a black screen with the hourglass running till it quits automatically. What should be the problem???
-
Hello all! Is it possible to change project settings in the Premiere start dialog and save those changes under the same setting? You have, for example, a setting called "Matrox HDV 1080i@25" and just want to change a single option in that setting and