How get the table out put
HelloI have a function in a package where it is a table.
I call it the FORM level procedure.
Could someone help me with a view of the data of my out put for the purpose of debugging.
(Note: I use SQL Navigator as a tool of the db, Forms Builder (9.0.4.2.0))
Rgds
sexy
Do you mean output function is an array (like the array of integers etc.)?
I did not understand your problem correctly.
Save this table in your block of data elements?
Tags: Oracle Development
Similar Questions
-
I'm 'in the Community' (or I couldn't ask a question) how can I get the PW I put here?
I know it may seem silly for a computer "geek" to not write it down but... @ 81 Alheimers rules!
Cescokid
Hello
Use the links below to reset your Windows Live ID password:
http://windowslivehelp.com/solution.aspx?SolutionID=6ea0c7b3-1473-4176-b03f-145b951dcb41
https://windowslivehelp.com/PasswordReset.aspx
If you need assistance, you will need to create a post on www.windowslivehelp.com
-
How to get the computer out of safe mode of power
How to get the computer out of safe mode of power
Hello jeffg56,
I understand that you want to leave safe mode, follow the steps below:
Exit Safe Mode:
Click Start, type msconfig in the search field and press ENTER to open the System Configuration window.
On the general tab of the System Configuration window, select Normal startup, and then click OK.
I hope this has been helpful, please let me know if you need more help.
Thank you
-
How do I get the table cells?
It's my get code that any object in propagation.
Int32 childCount = parent-> GetChildCount();
for (int32 /IndexEnfant = 0; childIndex < childCount; /IndexEnfant ++)
{
InterfacePtr < IHierarchy > child (parent-> QueryChild (childIndex));
ChildUIDRef = UIDRef: GetUIDRef (child);
TextFrame table
}
How do I get the table cells?
You can access the table using ITableModel and GridAddresscell.
But to get to the ITableModel since ITextModel implies some complexity.
Few things to understand:
-L'interface that corresponds to the written document is ITextModel
-The recommended method to iterate tables in a story done by ITextStoryThreadDictHier
-Get the ITextStoryThreadDictHier on the history and the main thread as ITextStoryThreadDictHier::NextUID()
-Now get ITextStoryThreadDict for UID and query for ITableModel. If you get ITableModel, then you have found the table.
Once you have ITableModel you can get ITableCell as follows:
ITableModel:QueryCellContentBoss(GridAddress); Give ITableCell
You can refer to SnipperRunner (SnpManipulateTextModel).
Download text template table model:
InterfacePtr
textModel (storyUIDRef, UseDefaultIID()); InterfacePtr
textStoryDictHier (textModel, UseDefaultIID()); NextUID UID = sourceStory.GetUID (); / / Download the main thread dictionary
Now loop the dicthier to iterate through all the threads dicts.
InterfacePtr
textStoryThreadDict (sourceStory.GetDataBase (), nextUID, UseDefaultIID()); InterfacePtr
tableModel (textStoryThreadDict, UseDefaultIID()); If (tableModel) / / the storythreaddict represents a table
{
You are now in a table
}
-
How can I get the most out of my battery?
This video can help get the most out of your laptop battery.
I hope this video helps to get the most out of the battery.
-
Why can't I get the most out of these numbers?
I want to get the most out of a list of numbers (see attachment). However, when I use the Min & Max table vi, the maximum output gives nothing. My guess is that there is something wrong with the data format, but I'm having trouble understanding how I can solve this problem. Thanks for your help!
Use a loop FOR and Unbundle.
-
How get the resource group in the application model by local current-based program?
Hi all
We use JDeveloper Studio Edition Version 12.1.3.0.0 and deployed on GlassFish Server Open Source Edition 3.1.2.2 (build 5) and connect to the SQLServer database.
How get the resource group in the application model by local current-based program?
We have two local unions; En and Ar.
-Resource Bundle for Arabic: ModelBundle_ar.properties
-Bundle resources for English: ModelBundle_en.properties
We try to use the code but the room below is still in English
ResourceBundleDef resourceDef = this.getResourceBundleDef ();
Settings regional locale = this.getDBTransaction () .getSession () .getLocale (); How to change the locale in the session?
Dim retVal =
StringManager.getLocalizedStringFromResourceDef (resourceDef, key,
local, NULL, null,
(false);
Also, this is the code that I use when changing the local at the bean:
Locale newLocale = new local (local);
FacesContext context = FacesContext.getCurrentInstance ();
context.getViewRoot () .setLocale (newLocale);
refreshPage();
Settings regional locale = this.getDBTransaction () .getSession () .getLocale (); How to change the locale in the session?
This will return a locale for db connection.
Instead, try with: ADFContext.getCurrent () .getLocale)
Dario
-
Hello, how get the permit numbers on site licenses (LWS), the identification number of the end user, nothing happens. Thank you
Since this is an open forum, not Adobe support... you must contact Adobe personnel to help
Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">===>
Don't forget to stay signed with your Adobe ID before accessing the link below
Creative cloud support (all creative cloud customer service problems)
-
How hide the table of contents in the body of an e-book?
Hey people, I'm kind of a weird request. Do not forget that everything I know about InDesign, I taught myself for a month, so I can miss major somethng.
As an intern, I am creating ebooks and I have to make sure that those I create the same look as the ebooks previously created for my employer (better yet, I had to do it from scratch!). In their previous ebooks (EPUB file format) the table of contents posted by the ereader clearly indicates a specific style of OCD was used to create (he titles and subtitles, so it is not just the default style that draws from the file names), BUT there is NO table of contents anywhere in the body of the ebook itself. There is also no blank page where a table of contents can be hidden with a hidden layer.
I created a table of contents to match style to them, but I can't it appears in the drop-down menu Styles TOC when I go to export EPUB book file unless the document of the table of contents is also included in the book file, and as I said, I can't get the table of contents in the body of the ebook itself just in the menu that is displayed by an ereader.
Any advice?
Did you use dialogue style of content Table to create a new style of table of contents? If so, then the new table of contents style must appear in the drop-down list TOC Style selected in the dialog box in the Navigation options to export EPUB.
Kind regards
POOJA
-
How do I get the table/matrix of an image?
Hi, at work we will develop a program that works with images. My question is how can I get the matrix or matrix of pixels in an image?
Thank you.
If you have IMAQ there is a picture of table VI
If you do not have the IMAQ stuff, there is a picture in table VI in the Vision Toolkit free AD: http://vi-lib.com/
[edit: Oops, missed the last line of your post there are EmcV]
-
How do you get the photos out of Lightroom on a mobile phone?
How do you get your photos out of Lightroom on a mobile phone? What photo shop tool do you use to get rid of the buttons on the photos?
Hi alexanderk.
You can select the images and delete them.
Press and hold the image in Lightroom Mobile which will bring up the options menu and you can choose to delete.
Check out this tutorial for Photoshop retouching:
Professional skin retouching Photoshop Tutorial - YouTube
Retouching and repair photos and images in Photoshop
Kind regards
Claes
-
How can I get the CLK OUT using PLL on NI PXI-6652?
I'm trying to get out the CLK using internal CLK either or PXI_CLK10_IN and PLL DDS source to the required frequency. In other words, I want the CLK coming OUT the NI PXI-6652 be PLL frequency required.
Ashok
Hello
Unfortunately, it has no direct route in material to get the DDS at PXI_CLK10_IN clock. In general, PLL is used for external signals that are out of phase with the system and not for signals generated internally. From the 665 X operating instructions online, here is an overview of the functions of the Board of Directors:
-
How get the sum of differences in time
I have the query to get the taken (duration) of time to perform each activity below
Select (select ep.name PE env_mapping where ep.id = p.bsa_env_id) environment,
(Select trunc ((Max (ps.actual_end) - Min (ps.actual_start)) * 24 * 60) of ps Highlevel_activity where ps.activity_ID = p.id and ps.out_of_window_flag =' no. "") Actual_duration,
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Apps Patching"and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Apps_Patching,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, Highlevel_activity ps where de.task_type = ' Patching DB/MT ' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') DB_MT_Patching,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Shut Down' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Shut_Down,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Start Up' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Start_Up,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Vérification' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = 'NO') audit.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Patching meadow' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Pre_Patching,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Patching Post' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Post_Patching,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Others' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = 'NO') others
activity p where
I get the output as below
EnV1 27 April 13 167 54 29 29 15 0 0 67 0
EnV2 may 3 13 10 20 05 05 0 0 50 0 33
My requirement is to get the amount for each column which I get on top of the query. How can I change the query above to get as the result below
EnV1 27 April 13 167 54 29 29 15 0 0 67 0
EnV2 may 3 13 10 20 05 05 0 0 50 0 33
177 74 34 34 15 50 67 33 total
Please help
Thank you
ArchanaHello
Agowda wrote:
I have the query to get the taken (duration) of time to perform each activity belowSelect (select ep.name PE env_mapping where ep.id = p.bsa_env_id) environment,
(Select trunc ((Max (ps.actual_end) - Min (ps.actual_start)) * 24 * 60) of ps Highlevel_activity where ps.activity_ID = p.id and ps.out_of_window_flag =' no. "") Actual_duration,
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Apps Patching"and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Apps_Patching,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, Highlevel_activity ps where de.task_type = ' Patching DB/MT ' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') DB_MT_Patching,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Shut Down' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Shut_Down,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Start Up' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Start_Up,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Vérification' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = 'NO') audit.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Patching meadow' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Pre_Patching,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Patching Post' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = ' NO') Post_Patching,.
(select nvl (trunc ((max (de.actual_end) - min (de.actual_start)) * 24 * 60), '0') Detail_activity time_taken, ps Highlevel_activity where de.task_type = 'Others' and ps.activity_id = p.id and.) Highlevel_activity_id = ps.id and ps. OUT_OF_WINDOW_FLAG = 'NO') othersactivity p where
If you make 9 of subqueries to get 9 different columns. It is very inefficient, and it is also difficult to maintain. If you need to change the conditions in subqueries, you will need to do the exact same change at 9 different locations.
It would be much more effective if you just add de.task_type to the GROUP BY clause and then rotates the results. He could not run 9 times faster, but it probably run 5 times faster.
See the FAQ forum {message identifier: = 9360005} to find out how.I get the output as below
EnV1 27 April 13 167 54 29 29 15 0 0 67 0
EnV2 may 3 13 10 20 05 05 0 0 50 0 33My requirement is to get the amount for each column which I get on top of the query. How can I change the query above to get as the result below
EnV1 27 April 13 167 54 29 29 15 0 0 67 0
EnV2 may 3 13 10 20 05 05 0 0 50 0 33
177 74 34 34 15 50 67 33 totalIt's a GROUPING DEFINED work, no ACCUMULATION.
Since you post CREATE TABLE and INSERT statemennts for your sample data, I will use the hr.departments table to show the difference.
When you GROUP BY N > 1 the expressions, ROLLUP gives you N + 1 levels of totals and subtotals. For example:SELECT department_id , job_id , SUM (salary) AS total_sal FROM hr.employees GROUP BY ROLLUP (department_id, job_id) ORDER BY department_id, job_id ;
The above query GROUPs BY s expressions (department_id job_id) so ROLLUP produces 3 sorts of totals:
(1) total department_id and job_id (e.g. 13000 for department_id = 20 and job_id = "Fatyty" below)
(2) total Department, including all of the work (e.g. 6000 = 19000 13000 + for department_id = 20) and
(3) total general for the entire result (e.g. 691416)DEPARTMENT_ID JOB_ID TOTAL_SAL ------------- ---------- ---------- 10 AD_ASST 4400 10 4400 20 MK_MAN 13000 20 MK_REP 6000 20 19000 30 PU_CLERK 13900 30 PU_MAN 11000 30 24900 40 HR_REP 6500 40 6500 50 SH_CLERK 64300 50 ST_CLERK 55700 50 ST_MAN 36400 50 156400 60 IT_PROG 28800 60 28800 70 PR_REP 10000 70 10000 80 SA_MAN 61000 80 SA_REP 243500 80 304500 90 AD_PRES 24000 90 AD_VP 34000 90 58000 100 FI_ACCOUNT 39600 100 FI_MGR 12008 100 51608 110 AC_ACCOUNT 8300 110 AC_MGR 12008 110 20308 SA_REP 7000 7000 691416
You don't want all that: you just want what corresponds in total for each department_id and job_id and total general, without any level of iintermediate. Here's how you can achieve these results using GROUPING SETS instead of ROLLUP:
SELECT department_id , job_id , SUM (salary) AS total_sal FROM hr.employees GROUP BY GROUPING SETS ( (department_id, job_id) , () ) ORDER BY department_id, job_id ;
DEPARTMENT_ID JOB_ID TOTAL_SAL ------------- ---------- ---------- 10 AD_ASST 4400 20 MK_MAN 13000 20 MK_REP 6000 30 PU_CLERK 13900 30 PU_MAN 11000 40 HR_REP 6500 50 SH_CLERK 64300 50 ST_CLERK 55700 50 ST_MAN 36400 60 IT_PROG 28800 70 PR_REP 10000 80 SA_MAN 61000 80 SA_REP 243500 90 AD_PRES 24000 90 AD_VP 34000 100 FI_ACCOUNT 39600 100 FI_MGR 12008 110 AC_ACCOUNT 8300 110 AC_MGR 12008 SA_REP 7000 691416
I hope that answers your question.
If this isn't the case, post CREATE TABLE and INSERT statements for some examples of data and the results desired from these data.
Simplify the problem. For example, instead of 9 different task_types, post sample data and results for 3 task_types. Simply mention that you actually 9, and we will find a solution that can be easily adapted for 9.
Always say what version of Oracle you are using (for example, 11.2.0.2.0).
See the FAQ forum {message identifier: = 9360002}Published by: Frank Kulash on May 27, 2013 10:47
-
Does anyone know how after I connect to my office 2008 Mac (which will not start.) to my computer laptop (2013 Mac Air). What are the steps that I need to know to get the Desktop files is displayed on my mac air so I can copy files to your laptop, especially my Itunes folder.
Thanks Jerri
If you can't get the iMac began and ongoing implementation, you will not be able to use the target disk Mode:
https://support.Apple.com/en-us/HT201462
Then the option is to take the iMac HARD drive, install it in an enclosed, and connect the HARD drive to the MBA via the USB port. If the HARD drive is recognized, you can copy the data out of it.
Ciao.
-
get the table script using dbms_metadata.get_ddl but with clob field
Thus, Oracle 11g R2...
I use dbms_metadata.get_ddl for table scripts and it works fine...
now, I have a table with clob field, and it does not work... I got an error "missing a closing parenthesis (ora-0907) '...
I could paste a script I had, but I don't think that it makes no sense...
does anyone have an experience on the use of this package on clob tables?
TNXSee this code.
DECLARE myddl clob; PROCEDURE print_clob(p_clob in clob) as l_offset number default 1; BEGIN loop exit when l_offset > dbms_lob.getlength(p_clob); dbms_output.put_line(dbms_lob.substr(p_clob, 255, l_offset)); l_offset := l_offset + 255; end loop; END print_clob; FUNCTION get_metadata return clob is h number; th number; doc clob; BEGIN h := dbms_metadata.open('TABLE'); dbms_metadata.set_filter(h, 'SCHEMA', 'HR'); dbms_metadata.set_filter(h, 'NAME', 'EMPLOYEES'); th := dbms_metadata.add_transform(h, 'MODIFY'); th := dbms_metadata.add_transform(h, 'DDL'); --dbms_metadata.set_transform_param(th,'SEGMENT_ATTRIBUTES',false); doc := dbms_metadata.fetch_clob(h); dbms_metadata.CLOSE(h); return doc; END get_metadata; BEGIN myddl := get_metadata; print_clob(myddl); END;
This procedure of print_ddl I took of the documentation.
Use of the long VALUE. See, in the first example out put is truncated.SQL> SELECT dbms_metadata.get_ddl('TABLE','EMP','SCOTT') FROM dual; DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT') -------------------------------------------------------------------------------- CREATE TABLE "SCOTT"."EMP" ( "EMPNO" NUMBER(4,0), "ENAME" VARCHAR2(10), SQL> set long 10000 SQL> / DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT') -------------------------------------------------------------------------------- CREATE TABLE "SCOTT"."EMP" ( "EMPNO" NUMBER(4,0), "ENAME" VARCHAR2(10), "JOB" VARCHAR2(9), "MGR" NUMBER(4,0), "HIREDATE" DATE, "SAL" NUMBER(7,2), "COMM" NUMBER(7,2), "DEPTNO" NUMBER(2,0), CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO") DBMS_METADATA.GET_DDL('TABLE','EMP','SCOTT') -------------------------------------------------------------------------------- USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" ENABLE, CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO") REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE ) 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"
SQL> SET LINESIZE 132 SQL> SET pagesize 0 SQL> SET LONG 1000000 SQL> / CREATE TABLE "SCOTT"."EMP" ( "EMPNO" NUMBER(4,0), "ENAME" VARCHAR2(10), "JOB" VARCHAR2(9), "MGR" NUMBER(4,0), "HIREDATE" DATE, "SAL" NUMBER(7,2), "COMM" NUMBER(7,2), "DEPTNO" NUMBER(2,0), CONSTRAINT "PK_EMP" PRIMARY KEY ("EMPNO") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" ENABLE, CONSTRAINT "FK_DEPTNO" FOREIGN KEY ("DEPTNO") REFERENCES "SCOTT"."DEPT" ("DEPTNO") ENABLE ) 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" SQL>
Maybe you are looking for
-
Let me know how it can be fixed thanks
-
My DNS Cache shows only 3 sites
I have been on many sites... How does this happen? Thank you!
-
Original title: Corel uninstaller I'm trying to uninstall Cortel Suite chart 4, particularly the Corel Paint Shop Pro Photo. Corel tell me to uninstall manually, but when I download their uninstall program, it does not work. I tried to uninstall it
-
I need a driver for Compaq Presario A945US on Windows XP
My PC laptop laptop Compaq Prsario A945US was built as a Vista computer, but I chose to have XP. He was never good. I was told that the reason is they have installed a Vista driver and it does not work with XP. How can I find the correct xp driver. T
-
I have an application needs an auto update feature. I have read the QAnywhere RIM and seems CodeModuleManager.createNewModule () / saveNewModule() is the method to call after download arrays of bytes of cod files from the http server. I called these