How can I display procedure body in the sqlplus
Could any one tell me how I can show the procedure/function body in the sqlplus?
Thanks.
Select Text from User_source
where type = 'PROCEDURE'
and name = '<procedure name>'
order by line;
Regards,
Murali Mohan
Similar Messages
-
How can i display a portlet in the Edit view only ?
Dear All,
I'm developing a portal in which the end user can change the content of the portal page (personalize) using Edit smart link and i ask How can i display a portlet in the Edit view only ? not shown in the production view ?Last time I heard with Oracle they said the only way is to look at the current URL. If it contais _mode=16 then we are in edit mode.
This is a function I use:
FUNCTION inEditMode return boolean is
bEdit boolean := false;
begin
if PORTAL.wwpro_api_parameters.get_value('_mode', 'qaz') = '16' then
bEdit := true;
end if;
return bEdit;
end inEditMode;
Kind regards
Tomas Albinsson
Stockholm, Sweden -
How can I display on a string the symbol omega (ohms)
how can I display on a string the symbol omega (ohms)
Hi,
See there : http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000032410000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
Hope this helps !
Julien -
How can i display units only for the result set
hi
i do not want to display units (example: $ or %) for my key figure columns but i want to display units to the result.
how can i do thatHi Surya,
I don't think it is possible to have both non-unit and unit in the same kf.
One potential workaround to do this is to create a calculated key figure/ formula that use the NODIM function for single values. Example: NODIM(0AMOUNT). Then, create a calculated key figure/formula that computes overall result on the same kf and supresses individual values but does not use NODIM....perhaps this can help you work out a solution.
Hope this helps.
Regards,
Petter
Message was edited by: M Petter -
I just brought some song in iTunes, and add lyrics in it, can be display in MAC, but can't display in my IOS8 iPad . Please help!
For whatever reason the iPad will not display lyrics, I think its been this way since iOS 7. The iPhone will display them, but not iPad. I don't think its a bug, I think Apple wants it this way for some reason ... give your feedback here:
http://www.apple.com/feedback/ipad.html -
How can I display SQL%ROWCOUNT in the "Process Success Message"
Hi all;
I am trying to display SQL%ROWCOUNT in the "Process Success Message" of a custom update Process.
Any ideas?Chris,
I assume,
ORDER_ITEM_LOAD.MERGE_INTELLI_LABS ( in_DEPARTMENT_UID );
is a package / procedure you call to do something. Change the procedure and add an
out parameter to it, which will get the
SQL%ROWCOUNT
value. Then, call this package like this:
DECLARE
in_DEPARTMENT_UID NUMBER;
BEGIN
in_DEPARTMENT_UID := :P4_DEPARTMENT_UID;
ORDER_ITEM_LOAD.MERGE_INTELLI_LABS ( in_DEPARTMENT_UID, :P4_ROW_COUNT );
END;Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://htmldb.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
How can I display browsing history (like the "history" function in IE)
In IE when you click "history" you get a list of all the websites visited. In FF "history" only shows Bookmarks. Can I display my browsing history in FF?
See:
*[[/questions/932927]] Firefox 14.01 not importing html bookmarks -
How can I display event notes on the relevant event in week/day view?
Hi folks,
I'm looking for a way to display the event notes on the actual event in week or day view.
This will greatly help plan out my week (especially for repetitive events with custom notes for each occurrence).
I can understand that Apple ommitted this feature to avoid clutter on short-duration events perhaps?
Clicking on the event (or using the Inspector) to see the notes is not an option. I need an overview that can be viewed at a glance or even printed.
Looking forward to your suggestions...
TrevHi Trev,
With iCal as it is the only suggestion I have would be to add the full text to the title of the events.
FYI, this is a user to user forum. By posting here you are not guaranteed someone from Apple will read it. If you'd like Apple to know about this I suggest you send them feedback.
Best wishes
John M -
How can I display previous monthname including the year?
I have the following sql statement:
SELECT Cast(datename(month, dateadd(mm, -1, getdate())) as varchar(15)) + '-' + Cast((DATEPART(YYYY,GETDATE())) As CHAR(4))
The result displays as July-2014 which is correct for previous month...
But on next year January-2015 it will display December-2015.
Is it possible to have the date shown as December-2014?
I appreciate any help.
Thanks in advance.The date shows the result that I am looking for.
SELECT Cast(datename(month, dateadd(mm, -1, getdate())) as varchar(15)) + '-' + Cast((DATEPART(YEAR,GETDATE()-1)) As CHAR(4)) -
How can I display the name of my refnum on the front panel?
I am writing data to a file. To do this, I am using "Open/Create/Replace File" to prompt the user for a filename, which is then output to my VI as a refnum. I then write strings to this file with "Write to Text File".
How can I display this filename (with the path) on the front panel after the user has input it?
Michael
Solved!
Go to Solution.
Attachments:
refnum.JPG 45 KBUse the Refnum to Path function, in File I/O -> Advanced File Functions palette. You can wire this to a path indicator.
-
How can i display all the query items to a table?
how can i display all the query items to a table in a jsp file?
i always have an out of memory error..any body??any idea?
is it possible thru configuration or i have to write a program by the abaper??
Biswa -
How can I attach an image without the image is in the email body? (using the new mail the Lion)
I want in attachment, not in the body mail.I think your only solution is to zip the image files first and then attach them.
Read this from a site I found:
Sending Graphical Attachments -- When you attach a graphical image to your message, the recipient of your message sees the image inline (that is, in the body of the message) if her email client supports inline display. ("Take Control of Email with Apple Mail" contains a table listing the capabilities of popular Mac and PC email clients.) If a client does not support inline display (or the recipient has turned off the inline display option), the file appears as an attachment that must be opened in a separate program.
On the one hand, an inline image is easier for the recipient to see - all she has to do is look at it. On the other hand, inline images can be frustrating to scroll through. If you do not wish to send a graphical image inline, you must compress the file before attaching it - Mail, sadly, lacks a built-in compression option, though fortunately for Panther users, the Finder offers Zip compression without requiring a separate application.
Note that when you compose a new message, Mail always shows attachments in the body of your message. You can manually drag them somewhere else, but many email clients display all attachments in a separate list, regardless of where you place them in the message body.
If you paste an image into a message or drag & drop an image from another window (say, a Web browser), Mail converts the raw image data to an attachment in TIFF format. On the other hand, if you drag & drop the icon of an image file (or use the Attach button to locate the file using the file browser), Mail leaves the attached image in its original format. This difference is significant, because although most email clients can display JPEG images just fine, support for TIFF - especially in non-Mac email clients - is less common. If possible, I suggest attaching image files as opposed to pasting or dragging in raw image data. -
How can I display the rows into columns.
How can I display the rows into columns. I mean
Create table STYLE_M
(Master varchar2(10), child varchar2(10));
Insert itno style_m
('MASTER1','CHILD1');
Insert itno style_m
('MASTER2','CHILD1');
Insert itno style_m
('MASTER2','CHILD2');
Insert itno style_m
('MASTER3','CHILD1');
Insert itno style_m
('MASTER3','CHILD2');
Insert itno style_m
('MASTER3','CHILD3');
Note : The Master may have any number of childs.
I want to display like this..
Master child1, child2, child3, .......(dynamic)
MASTER1 CHILD1
MASTER2 CHILD1 CHILD2
MASTER3 CHILD1 CHILD2 CHILD3
Sorry for disturbing you. Please hlp me out if you have any slution.
Thanks alot.
Ram DontineniHere's a straight SQL "non-dynamic" approach.
This would be used if you knew the amount of children.
SELECT
master,
MAX(DECODE(r, 1, child, NULL)) || ' ' || MAX(DECODE(r, 2, child, NULL)) || ' ' || MAX(DECODE(r, 3, child, NULL)) children
FROM
SELECT
master,
child,
ROW_NUMBER() OVER(PARTITION BY master ORDER BY child) r
FROM
style_m
GROUP BY
master
MASTER CHILDREN
MASTER1 CHILD1
MASTER2 CHILD1 CHILD2
MASTER3 CHILD1 CHILD2 CHILD3 Since you said that the number of children can vary, I incorporated the same logic into a dynamic query.
SET AUTOPRINT ON
VAR x REFCURSOR
DECLARE
v_sql VARCHAR2(1000) := 'SELECT master, ';
v_group_by VARCHAR2(200) := 'FROM (SELECT master, child, ROW_NUMBER() OVER(PARTITION BY master ORDER BY child) r FROM style_m) GROUP BY master';
v_count PLS_INTEGER;
BEGIN
SELECT
MAX(COUNT(*))
INTO v_count
FROM
style_m
GROUP BY
master;
FOR i IN 1..v_count
LOOP
v_sql := v_sql || 'MAX(DECODE(r, ' || i || ', child, NULL))' || ' || '' '' || ';
END LOOP;
v_sql := RTRIM(v_sql, ' || '' '' ||') ||' children ' || v_group_by;
OPEN :x FOR v_sql;
END;
PL/SQL procedure successfully completed.
MASTER CHILDREN
MASTER1 CHILD1
MASTER2 CHILD1 CHILD2
MASTER3 CHILD1 CHILD2 CHILD3I'll point your other thread to this one. -
How can I display & split the audio & video from the same digitized clip?
I digitized a scene into iMovie that I edited on a professional system which I don't have access to anymore. The whole scene is 1 clip. Now I see a few tweaks that I want to make, so I was hoping to do them in iMovie.
I want to "pull up" the audio in one section - meaning I want to take cut about 20 frames of audio from the end of a shot, and then move all the other audio up to fill the hole. To compensate for the missing 20 frames, I'll cut video off the head of the next shot. Some call this prelapping. Some call it an L-cut. Some call it asymmetrical trimming. Either way, I can't figure out how to do it in iMovie.
My clip appears in the timeline as one track - a single track that contains the video and 2 audio tracks. How can I display the audio that's tied to the video on its own track? Then I think I could split audio & video wherever I wanted and trim things up - but I can't figure out how to do it.
Am I asking too much of this software?
BTW, I never see the option to "Split audio clip at playhead". I'm not displaying clip volume or waveforms. Choosing to display waveforms doesn't show me anything. Maybe iMovie thinks I'd only want to see waveforms of audio that isn't tied to my video-and-audio clips?
Thanks in advance for any help...Jordon,
"Am I asking too much of this software?"
No, you're not.
You first want to select your clip(s) and choose Advanced>Extract Audio.
This will copy the audio from the video clip and place it on one of the two separate audio tracks while lowering the audio level to zero in the original video track.
You can now edit and move the audio independently of the video.
With the audio clip selected, you'll find you now have access to Edit>Split Selected Audio Clip at Playhead.
Matt -
How can i display a list of all the names stored in the Mail app?
When sending an email, the program shows a list of names according to the first and subsequent letters that I type into the To: field. There are times I cannot recall someone's email user name. How can I display a complete list of all the names Mail has stored? I know that I can go to the To: field then type in the letter A, then write down all listings under A, and then repeat for each letter of the alphabet, but there should be an easier method.
I have perhaps dozens of names in Mail, but only five names in Address Book, so the latter does me no good.On the menubar, Mail > Window > Previous Recipients
Regards,
Captfred
Maybe you are looking for
-
i have some problems opening up the Message app (apples own). It starts and closes immidiatley. the same goes for some of the other built in apps. like fonts wont open, i had som e problems with mail before. i have an imac mid 2010 and the latest ver
-
It will be two years in July that I've had this computer and I've not had the slightest bit of trouble with it; probably the best computer I've ever owned. Within the past week, though, it's been acting a little funky: sluggish, no video issues, no s
-
FB 4.5.1 How can I add assets/locale folder to a release build?
I have a locale folder in my src directory, but it does not appear in the package contents when creating a Release Build, only for Run/Debug.
-
How can i email a slideshow on my ipad mini?
How can I email a slideshow from my ipad?
-
Trying to create a login form using j_security_check
Ok, here's the deal. I have a login.jsp that uses the j_security_check. The page works great if I request a protected resource and the container forwards me to the login page. However, if I access the login page directly "http:/server/app/login.jsp"