Export test data in OTM
HelloI created a few test (req.s, tests etc.) data in my OTM. Suppose that if I reinstall OATS, how can I get these test data in the new OTM. Can I export these test data to a CSV (windows) so that I can use in important in OTM.
Can someone help me in this topic?
Hello
I see, well, you could do a report and export all the test cases, but I think it will be a lot of your time and you would lose another users, attachments, custom projects etc. fields...
If you need to re - install the database, the best thing to do is a back up and restore, I assume that you use the database default installed (Oracle XE), here are the instructions on how to do a back up and restore:
http://www.Oracle.com/technology/software/products/database/XE/files/install.102/b25144/TOC.htm#BABJCFBD
Concerning
Rajesh
Tags: Oracle Development
Similar Questions
-
Export of data from text to MicroSoft Acess via SQLExec
I was able to export numberical data in a Microsoft Access (mdb) database. However, I have problems of export of text from a datamember data. I use the SQLExec object to achieve this.
Here is the general syntax of SQLExec I put in place for the text values:
"INSERT INTO test (column1) VALUES('"&(text(\\.\Process1\TEXTENTRY.value,"0")& "')
The value of the datamember TEXTENTRY will matter in the mdb file, column1 if it is digital. Not if it is alpha-numeric. The column is implemented for the text format.
However, I am unable to import 'fixed' characters (not datamember text) to the database that is to say:
"INSERT INTO test VALUES ('hello') (column1) the result is Hello will be in Column1.
Please notify.
Thank you!
The text() function converts the digital text, so you do not need.
Try the VALUE ('"' & TEXTENTRY &" ' ")
-
What is agg and best level of export sheet or export all data
Hello
Anyone can say what is the best in terms of performance, export all data (24 GB) and then import them back
or export level sheet and ran calc all.
We have essbase 11.1.2 with 64-BIT Server
Thank you guys
MWhenever you are working with a potentially destructive process, you must test it and be very confident in it. Test II option very well - I've seen all the data does not export really export all data. So you must be very confident, that it does not work as expected. As Glen has pointed out a few cubes data loaded up (which are not a good practice if you load high data should return back down as an aggregation if it crash).
With regard to the findings of Cameron on a restructuring of work as fast as a level 0 exp / load / tot. : this is a case of a disk bottleneck. A restructuring process in all older versions of 11.1.2.2 were still single threaded and if you have a well tuned aggregation that makes use of multiple cores then if your disk subsystem is not a huge bottleneck of the
level 0 exp / load / agg will be STILL faster. That said it isn't uncommmon to see bad architectural material which Essbase is ran on which means that Cameron can probably more typical environment.Kind regards
John A. Booth
http://www.metavero.com -
export of data to exiesting excellent shhet
Hi all...
How to export existing data excel sheet?
That is to say, I would like to export to the same sheet whenever the program runs.
If the card already contains data, then have to crush...
Thanks in advance
-
The monitoring of test data to write in the CSV file
Hi, I'm new to Labview. I have a state machine in my front that runs a series of tests. Every time I update the lights on the Panel with the State. My question is, how is the best way to follow the test data my indicators are loaded with during the test, as well as at the end of the test I can group test data in a cluster, and send it to an another VI to write my CSV file. I already have a VI who writes the CSV file, but the problem is followed by data with my indicators. It would be nice if you could just the data stored in the indicators, but I realize there is no exit node =) any ideas on the best painless approach to this?
Thank you, Rob
Yes, that's exactly what typedef are to:
Right-click on your control and select make typedef.
A new window will open with only your control inside. You can register this control and then use it everywhere. When you modify the typedef, all controls of this type will change also.
Basically, you create your own type as 'U8 numéric', 'boolean', or 'chain' except yours can be the 'cluster of all data on my front panel' type, "all the action my state machine can do," etc...
-
How to export form data to Excel in E10?
What is the easiest way to export form data to excel?
Thank you!
go to assets--> forms--> find your form of "open an existing form"--> once you access the form, click on the gear icon for settings for the top right--> click on 'presentation of display data'--> down to the left, you will see an option to export--> click on it and choose excel...
-
Export user data to a file or a database
Hi Experts,
Our organization use OAM, OID for the authentication of the EBS. The user information is enterprise sync Active Directory in OID.
We need to extract some details of user OID (GUID & other attributes) in a data store.
Is there an easy way, we can do that? Can we just run SQL on OID and retrieve data? Or any way to export the data of the OID?
Thank you!.
Support Oracle tips us to use the new features of dbexport comes with 11.1.1.6.
-
PLSQL code to generate a simple test data
Hello
We need to create some test data for a customer, and I know that a PLSQL code would do the trick here. I would like the help of the community please because I'm not a programmer, or a guy PLSQL. I know that with a few simple loops and output statement, this can be achieved
We have a holiday table that has 21 rows of data:
CREATE TABLE "PARTY" ( "PARTY_CODE" NUMBER(7,0), "PARTY_NAME" VARCHAR2(50), ) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS"
SELECT * FROM PARTY; PARTY_CODE PARTY_NAME ---------- ------------------ 2 PARTY 2 3 PARTY 3 4 PARTY 4 5 PARTY 5 8 PARTY 8 9 PARTY 9 10 PARTY 10 12 PARTY 12 13 PARTY 13 15 PARTY 15 20 PARTY 20 22 PARTY 22 23 PARTY 23 24 PARTY 24 25 PARTY 25 27 PARTY 27 28 PARTY 28 29 PARTY 29 30 PARTY 30 31 PARTY 31 32 PARTY 32
We have 107 events; each event, to create a dummy test data candidate (a candidate for each party code (to be found in the table above))
It's the example of test data:
001,100000000000, TEST001CAND01, FNCAND01, 1112223333, 2
001,100000000001, TEST001CAND02, FNCAND02, 1112223333, 3
001,100000000002, TEST001CAND03, FNCAND03, 1112223333, 4
001,100000000003, TEST001CAND04, FNCAND04, 1112223333, 5
...
...
001,100000000021, TEST001CAND21, FNCAND21, 1112223333, 32
002,100000000000, TEST002CAND01, FNCAND01, 1112223333, 2
002,100000000001, TEST002CAND02, FNCAND02, 1112223333, 3
002,100000000002, TEST002CAND03, FNCAND03, 1112223333, 4
...
...
002,100000000021, TEST002CAND21, FNCAND21, 1112223333, 32
and this goes completely to the 107 event.
I know it's trivial and with a little time, it can be done. I'm sorry asking such a simple code, and I really appreciate all the help in advance.
Concerning
I had sorted it by PLSQL.
DECLARE
CNTR NUMBER: = 1;
BEGIN
FOR I IN 1.107 LOOP
for v_party_code in)
Select party_code order by party_code
)
loop
DBMS_OUTPUT. Put_line (LPAD (i, 3, 0) |) «, » ||' 1000000000' | LPAD (CNTR, 2, 0). «, » ||' TEST' | LPAD (i, 3, 0). "CAND' | LPAD (CNTR, 2, 0). «,, » ||' FNCAND' | LPAD (cntr, 2, 0). ', 1112223333. "| v_party_code.party_code);
CNTR: = cntr + 1;
end loop;
CNTR: = 1;
END LOOP;
END;
Thanks to all those who have been.
-
Can I export the data (XML) using Acrobat Standard DC?
I am currently using Adobe Acrobat XI which is allow me to export XML data from tools > forms > form additional Options > export data. I know this feature is also available in Acrobat Standard DC?
Hi jack65464326,
Yes, you can export the data (XML) using Acrobat Standard DC, refer to this KB document for help Acrobat help. Collection and management of the PDF to form data.
Kind regards
Nicos
-
I would like to export the data in an electronic form (which has not yet been created) in an excel database - is there any form on Central forms or how close this to start?
I'm innovates and I have a desire to learn how to do this in PDF format
Acrobat has a built-in method for manually export format delimited by tabs, which can be easily imported into a spreadsheet. The specific steps depending on which version you are using. For example:
Acrobat 9: form > manage form data > merge data files into spreadsheet
Acrobat 11: Tools > forms > MoreForm Options > merge data files into spreadsheet
I do not remember this as the Acrobat DC procedure, but it's there.
You can also use JavaScript to create a custom data file that contains the form data you want to export. This approach offers more flexibility, but it's also more complicated.
-
Hello
I am getting below error while taking expdp backup table of BLOB.
ORA-31693: Data Table object 'HCLM_ADMIN '. "' SCAN_UPLOADEDFILES_TEMP ' failed to load/unload and being ignored because of the error:
ORA-02354: Error exporting/importing data
ORA-01555: snapshot too old: rollback segment number with the name "" too small
ORA-22924: snapshot too old
ORA-31693: Data Table object 'HCLM_ADMIN '. "' TPA_FAXWATCHER ' failed to load/unload and being ignored because of the error:
ORA-02354: Error exporting/importing data
ORA-01555: snapshot too old: rollback segment number with the name "" too small
ORA-22924: snapshot too old
We have already set aside retention to 50000 .table structure are:
SQL > show Cancel parameter
VALUE OF TYPE NAME
------------------------------------ ----------- ------------------------------
UNDO_MANAGEMENT string AUTO
UNDO_RETENTION integer 50000
undo_tablespace string UNDOTBS1
SQL > alter table hclm_admin. SCAN_UPLOADEDFILES_TEMP modify lob (FILE_BLOB) (RETENTION);
Modified table.
SQL > select nom_de_colonne, pctversion and retention
from dba_lobs where owner = 'HCLM_ADMIN' and table_name = "SCAN_UPLOADEDFILES_TEMP";
COLUMN_NAME
--------------------------------------------------------------------------------
PCTVERSION RETENTION
---------- ----------
FILE_BLOB
50000
SQL > alter table hclm_admin. TPA_FAXWATCHER modify lob (FILEDATA_BLOB) (RETENTION);
Modified table.
SQL > select column_name, pctversion and retention of dba_lobs where owner = 'HCLM_ADMIN' and table_name = "SCAN_UPLOADEDFILES_TEMP";
Column_name PCTVERSION RETENTION
---------- ----------
FILE_BLOB
50000
CREATE TABLE HCLM_ADMIN. TPA_FAXWATCHER
(
FILENAME_VAR VARCHAR2 (50 BYTE),
DATE OF CREATED_DATE_DTE,
FILEPATH_VAR VARCHAR2 (100 BYTE),
DATE OF TIMESTAMP_DTE,
FAXNO_VAR VARCHAR2 (15 BYTE),
DEPARTMENT_VAR VARCHAR2 (50 BYTE),
REQUESTTYPE_VAR VARCHAR2 (50 BYTE),
TAGTO_VAR VARCHAR2 (50 BYTE),
REMARK_VAR VARCHAR2 (1000 BYTE),
DOCTYPE_VAR VARCHAR2 (50 BYTE),
TAGTOVALUE_VAR VARCHAR2 (50 BYTE),
DOCTYPE_OTHER_VAR VARCHAR2 (50 BYTE),
HEGIC_NO_VAR VARCHAR2 (50 BYTE),
RECORDNO_NUM NUMBER OF NON-NULL,
FILEDATA_BLOB BLOB,
DATE OF FAXLOCKDATE_DTE,
NUMBER OF FAXLOCKSTATUS_VAR
FAXLOCKBYUSER_VAR VARCHAR2 (50 BYTE)
)
(STORE AS) LOB (FILEDATA_BLOB)
TABLESPACE HCLM_ALERTSVC
ALLOW ONLINE STORAGE
8192 CHUNK
RETENTION
NOCACHE
LOGGING
INDEX)
TABLESPACE HCLM_ALERTSVC
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
))
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
))
TABLESPACE HCLM_ALERTSVC
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
ALTER TABLE HCLM_ADMIN. (ADD) TPA_FAXWATCHER
KEY ELEMENTARY SCHOOL
(RECORDNO_NUM)
USING INDEX
TABLESPACE HCLM_ALERTSVC
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
));
CREATE TABLE HCLM_ADMIN. SCAN_UPLOADEDFILES_TEMP
(
NUMBER OF TEMPID_NUM
SESSION_ID VARCHAR2 (200 BYTE),
NUMBER OF UPLOADFILE_NUM
NUMBER OF DOCNO_NUM
NUMBER OF SCANJOB_NUM
FILENAME_VAR VARCHAR2 (200 BYTE),
FILETYPE_VAR VARCHAR2 (200 BYTE),
FILE_BLOB BLOB,
VARCHAR2 (200 BYTE) FLAG,
NUMBER OF USERID_NUM
CREATED_DATE DATE
)
(STORE AS) LOB (FILE_BLOB)
TABLESPACE PHCLMDBTBS
ALLOW ONLINE STORAGE
8192 CHUNK
RETENTION
NOCACHE
LOGGING
INDEX)
TABLESPACE PHCLMDBTBS
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
))
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
))
TABLESPACE PHCLMDBTBS
PCTUSED 0
PCTFREE 10
INITRANS 1
MAXTRANS 255
STORAGE)
64K INITIALS
ACCORDING TO 1 M
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
DEFAULT USER_TABLES
)
LOGGING
NOCOMPRESS
NOCACHE
NOPARALLEL
MONITORING;
Kind regards
Hello
First check the lob corrupt as:
SQL > create table corrupted_lob_data (corrupted_rowid rowid);
Table created.
SQL > set off concat
SQL >
declare
SQL > error_1555 exception;
pragma exception_init (error_1555,-1555);
number num.
Start
for cursor_lob in (select rowid r, & lob_column of table_owner. & table_with_lob) loop
Start
NUM: = dbms_lob.instr (. cursor_lob & lob_column, hextoraw ('889911'));
exception
When error_1555 then
insert into corrupted_lob_data values (cursor_lob.r);
commit;
end;
end loop;
end;
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
17.
Enter the value of lob_column: FILE_BLOB
Enter the table_owner value: hclm_admin
Enter the value of table_with_lob: SCAN_UPLOADEDFILES_TEMP
former 6: for cursor_lob in (select rowid r, & lob_column of table_owner. & table_with_lob) loop
6 news: for cursor_lob (select rowid r, FILE_BLOB of hclm_admin loop SCAN_UPLOADEDFILES_TEMP.)
old 8: num: = dbms_lob.instr (. cursor_lob & lob_column, hextoraw ('889911'));
8 new: num: = dbms_lob.instr (cursor_lob. FILE_BLOB, hextoraw ('889911'));
PL/SQL procedure successfully completed.
SQL > select * from corrupted_lob_data;
CORRUPTED_ROWID
------------------
AAASF/AAKAABacyAAA
To resolve this problem, we have 3 options
(1) to restore and recover the LOB segment using physical backup.
(2) empty LOBs affected using the UPDATE, as mentioned in the Note 787004.1statement:
SQL > update SCAN_UPLOADEDFILES_TEMP
Set FILE_BLOB = empty_blob()
where rowid in (select corrupted_rowid
of corrupted_lob_data);
SQL > commit;
(3) perform the export, excluding the corrupt ROWID. by adding the following to export command parameter
Query =------"where rowid not in (\'AAASF/AAKAABacyAAA\'\) \ \" "
Kind regards
Alok Dwivedi
-
Need to insert test data in all the tables that were present in a schema
Hello
I use Oracle 9i.
10 tables were present in my current schema. All tables are not having all the records.
I need to insert test data in each table using a single procedure. (the table name is inparameter for the procedure)
For example, I test_emp, test_sal tables.
CREATE TABLE test_emp (ename varchar2 (40), number of sal);
CREATE TABLE test_sal (it NUMBER, rank NUMBER, will designate the NUMBER);
I need to insert some test data in these tables. I shouldn't use utl_file or sql * loader for this.
I tried below way.
I am not able to transmit these values to the collection dynamically to the INSERT statement. I tried many ways, but I am not satisfied with the code I've written.-- Incomplete code CREATE OR REPLACE PROCEDURE test_proc_insertdata(p_table_name IN VARCHAR2) IS BEGIN --Selected all the column_names, data_type, data_length into a collection variable from user_tab_columns. SELECT u.column_name, u.data_type, u.data_length --BULK COLLECT INTO l_col_tab FROM user_tab_columns u WHERE u.table_name = p_table_name; -- generated the values using below statement SELECT decode(u.DATA_TYPE,'VARCHAR2',dbms_random.string('A', u.data_length),'NUMBER',TRUNC(dbms_random.value(1, 5000)),'DATE',SYSDATE) val_list -- INTO collection varaible FROM user_tab_columns u WHERE TABLE_NAME = p_table_name; END;
Please help me if you know a better idea.
Thank you
SuriSuri wrote:
HelloI use Oracle 9i.
10 tables were present in my current schema. All tables are not having all the records.
I need to insert test data in each table using a single procedure. (the table name is inparameter for the procedure)
For example, I test_emp, test_sal tables.
CREATE TABLE test_emp (ename varchar2 (40), number of sal);
CREATE TABLE test_sal (it NUMBER, rank NUMBER, will designate the NUMBER);I need to insert some test data in these tables. I shouldn't use utl_file or sql * loader for this.
I tried below way.
-- Incomplete code CREATE OR REPLACE PROCEDURE test_proc_insertdata(p_table_name IN VARCHAR2) IS BEGIN --Selected all the column_names, data_type, data_length into a collection variable from user_tab_columns. SELECT u.column_name, u.data_type, u.data_length --BULK COLLECT INTO l_col_tab FROM user_tab_columns u WHERE u.table_name = p_table_name; -- generated the values using below statement SELECT decode(u.DATA_TYPE,'VARCHAR2',dbms_random.string('A', u.data_length),'NUMBER',TRUNC(dbms_random.value(1, 5000)),'DATE',SYSDATE) val_list -- INTO collection varaible FROM user_tab_columns u WHERE TABLE_NAME = p_table_name; END;
I am not able to transmit these values to the collection dynamically to the INSERT statement. I tried many ways, but I am not satisfied with the code I've written.
Please help me if you know a better idea.
Thank you
SuriWith some effort, you can write dynamic insert queries. Read the data dictionary views ALL_TABLES and ALL_TAB_COLUMNS to get the data you need. You may need to limit the list to the tables you specify to hardcode the names of the tables. You can read the views for the information of table and column that you need generate the insert column orders. It will be a lot of work and it might be easier to simply hardcode values. Dynamic SQL is difficult to debug and work with: (.) Something like this (untested and totally undebugged)
declare cursor v_tab_col(p_table_name) is select * from all_tab_columns where table_name = p_table_name; v_text varchar2(32767); v_table_name varchar2(30); begin v_table_name := 'DUAL'; --chr(10) is a newline for readability when debugging v_text := 'insert into '||v_table_name||chr(10)||'('; --loop to build column list for v_tab_rec in v_tab_col loop --add comma if not first item in list if v_tab_col%rowcount > 1 then v_text := v_text ||','; end if; v_text := v_text || v_tab_rec.column_name; end loop; v_text := v_text ||') values ('|| --loop to build column values for v_tab_rec in v_tab_cur loop if (v_tab_rec.datatype = 'VARCHAR2') then --add comma if not first item in list if v_tab_col%rowcount > 1 then v_text := v_text ||','; end if; if v_tab_rec.datatype = 'NUMBER' then v_text := v_text || '9'; elsif v_tab_rec.datatype = 'VARCHAR2' then v_text := v_text ||'X'; end if; end loop; v_text := v_text || ')'; execute immediate v_text; end;
This code is not effective, but shows how to do what you described. You'll have to code for all data types you need and find a way to take into account the primary/foreign keys, yourself. I leave it to you to find a way to avoid selecting the data twice ;)
Good luck!Published by: riedelme on July 24, 2012 13:58
-
Close the CRL button need to export report data
Hello
My users have complained that they need to press CTRL key when exporting report data have all a come across similar issue? What is the mark of the GET rid of this?
Thank you
UmeshwarMy users have complained that they need to press CTRL key when exporting report data have all a come across similar issue? What is the mark of the GET rid of this?
Please see these documents.
File > export via IE browser closes after the end of toolbar [427555.1 ID]
Browsers recommended for Oracle E-Business Suite 11i [ID 285218.1]
Browsers recommended for Oracle E-Business Suite Release 12 [389422.1 ID]If you still have the same problem, thanks for posting the details of the version of the application, the database version and the OS. In addition, please post the client OS and browser and mention if the question with all browsers/users or specific ones only.
Thank you
Hussein -
Creation of test data for a problem
Hello
I use this forum for a few months and it has been extremely helpful. The problem is that I really have no idea how to create some test data for a specific problem. I tried Googling, but to no avail. I had other users to create data test for some of my problems using a 'WITH' statement, but it would be great if someone could explain the logic behind it and how to address a specific problem where in the application, I use several tables.
I know this is probably a stupid question and I'm relatively new to sql, but it would help a lot if I understand the process.
Banner:
Oracle Database 11 g Release 11.2.0.2.0 - 64 bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production."
AMT for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - ProductionWITH construction is known as factoring request void.
http://download.Oracle.com/docs/CD/E11882_01/server.112/e26088/statements_10002.htm#i2077142
(Not easy to find unless you know what it's called)
It allows you to start your request with a sub request which acts as a view definition that can then be used in your main query, just like any other view or a table.
This example declares two views on the fly - master_data and detail_data, which are then used in the example query. Each query sub emulates the data in the table by selecting literal values in the dual table a line using union all to generate multiple lines.
The two queries shows different results when an outer join is used in the second (+) {noformat} {noformat}
SQL> -- test data SQL> with 2 master_data as 3 ( 4 -- this query emulates the master data of a master detail query 5 select 1 id, 'Header 1' description from dual union all 6 select 2 id, 'Header 2' description from dual union all 7 select 3 id, 'Header 3' description from dual union all 8 select 4 id, 'Header 4' description from dual 9 ), 10 detail_data as 11 ( 12 -- this query emulates the detail data of a master detail query 13 select 1 id, 1 detail_id, 'Detail 1.1' description from dual union all 14 select 1 id, 2 detail_id, 'Detail 1.2' description from dual union all 15 select 1 id, 3 detail_id, 'Detail 1.3' description from dual union all 16 select 2 id, 1 detail_id, 'Detail 2.1' description from dual union all 17 select 2 id, 2 detail_id, 'Detail 2.2' description from dual union all 18 select 2 id, 3 detail_id, 'Detail 2.3' description from dual union all 19 select 2 id, 4 detail_id, 'Detail 2.4' description from dual union all 20 select 4 id, 2 detail_id, 'Detail 4.2' description from dual union all 21 select 4 id, 3 detail_id, 'Detail 4.3' description from dual 22 ) 23 -- main query 24 -- to select from test data 25 select 26 m.description, 27 d.description 28 from 29 master_data m, 30 detail_data d 31 where 32 m.id = d.id 33 order by 34 m.id, 35 d.detail_id; DESCRIPT DESCRIPTIO -------- ---------- Header 1 Detail 1.1 Header 1 Detail 1.2 Header 1 Detail 1.3 Header 2 Detail 2.1 Header 2 Detail 2.2 Header 2 Detail 2.3 Header 2 Detail 2.4 Header 4 Detail 4.2 Header 4 Detail 4.3 9 rows selected. SQL> edi Wrote file afiedt.buf 1 with 2 master_data as 3 ( 4 -- this query emulates the master data of a master detail query 5 select 1 id, 'Header 1' description from dual union all 6 select 2 id, 'Header 2' description from dual union all 7 select 3 id, 'Header 3' description from dual union all 8 select 4 id, 'Header 4' description from dual 9 ), 10 detail_data as 11 ( 12 -- this query emulates the detail data of a master detail query 13 select 1 id, 1 detail_id, 'Detail 1.1' description from dual union all 14 select 1 id, 2 detail_id, 'Detail 1.2' description from dual union all 15 select 1 id, 3 detail_id, 'Detail 1.3' description from dual union all 16 select 2 id, 1 detail_id, 'Detail 2.1' description from dual union all 17 select 2 id, 2 detail_id, 'Detail 2.2' description from dual union all 18 select 2 id, 3 detail_id, 'Detail 2.3' description from dual union all 19 select 2 id, 4 detail_id, 'Detail 2.4' description from dual union all 20 select 4 id, 2 detail_id, 'Detail 4.2' description from dual union all 21 select 4 id, 3 detail_id, 'Detail 4.3' description from dual 22 ) 23 -- main query 24 -- to select from test data 25 select 26 m.description, 27 d.description 28 from 29 master_data m, 30 detail_data d 31 where 32 m.id = d.id (+) 33 order by 34 m.id, 35* d.detail_id SQL> / DESCRIPT DESCRIPTIO -------- ---------- Header 1 Detail 1.1 Header 1 Detail 1.2 Header 1 Detail 1.3 Header 2 Detail 2.1 Header 2 Detail 2.2 Header 2 Detail 2.3 Header 2 Detail 2.4 Header 3 Header 4 Detail 4.2 Header 4 Detail 4.3 10 rows selected.
-
Trying to export essbase data to flat file
Hi I'm on v9.3,
When I export essbase data to flat file, ESSBASE is export data in a row rather than in different lines even if I use (DataExportColFormat ON ;)
Any help
Thank you
RRBYou must have a dimension of column heading, it recovers the default period, column header cannot be a dense dimension and is defined using
DataExportColHeader 'DenseDimenionName ';
See you soon
John
http://John-Goodwin.blogspot.com/
Maybe you are looking for
-
IPhone 6, 9.3.2 version, 88 GB available, over 200 tickets just disappeared. Any suggestions?
-
I have a partitura with 18 instruments. Problem is that only 16 of the sheed. How can I vertically down the music?
-
I think that we have downloaded something bad!
We went to a new Web site 123movies.to and I think that we have downloaded anything because it is exceptionally now slow loading pages or other applications now. Don't know what to do! I'm not very irritable. I deleted all the files on my computer th
-
Y580 NEW plant all the time? Can't do anything PLEASE HELP...
I recently bought a Y580 for almost $1000 (something like 2 or 3 weeks). First of all, it worked perfectly, but yesterday I had to reboot using the button, because it crashed. Now, whenever I start it, either I get a black screen or it freezes when I
-
High performance CPU of Norton
I am constantly this my Norton alert, sometimes mention Word 2000 as the source. I have 3 GB of RAM. The Word doc is 674KB. Should I worry about my CPU overheating? (He has a fan and a heatsink)