How can i get procedule name in a package if knowing the line num?
There is package and serveral procedules in it. How can i get a procedule name if i know the line num? Thx a lot
# Works in most of cases where the procedure is the first word [optionally starting with blanks or spaces ]
# However there may be cases like /* My PROCEDURE */ PROCEDURE <proc_name> IS where below wont work
WITH GET_PROCEDURE_NAME AS
SELECT owner,NAME, line, text
FROM dba_source
WHERE NAME = '&pkg_name'
AND TYPE = 'PACKAGE BODY'
AND upper(ltrim(text)) LIKE 'PROCEDURE %'
AND line <= &line_no
ORDER BY line DESC
SELECT *
FROM GET_PROCEDURE_NAME
WHERE ROWNUM = 1
Similar Messages
-
How can I get interface name ?
Hi there.....
I wonder that how can I get interface names?
We can get interface name using by "netstat" or "ifconfig".
But I don't want to use system() or execl() function.
Is there any function similar to netstat or ifconfig ?See the inet(7P) or inet6(7P) man pages for the
programatic interface to the interface, to get its
IP settings, and then look at the
gethostbyname(3SOCKET) call for IPaddr to hostname
resolution. -
How can I get parameter name?
ODatabase odb("test", "scott", "tiger");
OParameterCollection params = odb.GetParameters();
-------> and next how can I get parameter name?
I hope get stored procedure parameter names and settiing parameter Add just like below.
Plz tell me how can I get parameter name?
I'm Korean, and my english is poor. sorry : )
// add a parameter named 'DEPTNO'
params.Add("DEPTNO", 20, OPARAMETER_INVAR, OTYPE_NUMBER);
// add a parameter named 'EMPCURSOR'
params.Add("EMPCURSOR", "", OPARAMETER_OUTVAR, OTYPE_CURSOR);
//Execute the SQL statement
odb.ExecuteSQL("BEGIN Employee.GetEmpData (:DEPTNO, :EMPCURSOR); END;");ok, alright. I'm trying to write a program to easily test EJBs with a user giving input and directly seeing the results of function calls to the Bean. The user gives the JNDI name of the EJB, I instantiate the bean, give the user a list of function calls from the bean, and then he/she chooses the function they want to execute and give input of the parameters values they want. Everything is done remotely and at runtime, and the only real problem is that the user only sees "myFunc ( String )" and it would be confusing if there are several parameters of the same type.
Yes, I do realize there are other ways to test, I was developing this to try a new method that I thought could be beneficial to me. -
How can i get rulefiles name in appllication with using custom java code.
Hi.
I want to get rulefiles names from analytic service with using java api.
How can i get rulefiles name. Which api can i use for this issue?Hi,
Use IEssCube.getOlapFileObjects() api to retrieve rule files.
Insert this code snipid in your code, it will list all the rule files.
IEssCube cube = olapSvr.getApplication("Sample").getCube("Basic");
IEssIterator itr = cube.getOlapFileObjects(IEssOlapFileObject.TYPE_RULES);
IEssBaseObject[] rfs = itr.getAll();
System.out.println("Rule file count: "+rfs.length);
for (int i = 0; i < rfs.length; i++) {
System.out.println("RuleFile"+i+": "+((EssOlapFileObject)rfs).getName());
you can also list data files and other file objects by changing IEssOlapFileObject.TYPE in getOlapFileObjects()
Regards
Rajeev Singh -
How can I get my name on my e-mail address. I share the computer. My partner is the "owner" and i have a separate log-in. His name shows on my e-mail.
Log into your account, launch Mail, and select Preferences from the Mail menubar option->Accounts and delete his and add yours.
27" i7 iMac (Mid 2011) refurb, OS X Mavericks (10.9.4), ML & SL, G4 450 MP w/Leopard, 9.2.2 -
My macbook pro and ipad does not recognize my printer on my wireless network, but my pc does. How can I get my apple products to see it on the network so I can print wirelessly? My printer is a Brother MFC-J270W
try disabling email scanning for incoming mail.
One of the last things that occurs is the mail server and Thunderbird sign off on "where we are up to" and Thunderbird stores this state information in the popstate.dat file in your profile (there is one in each POP mail account folder). If the anti virus, or you for that matter, end the conversation a few seconds early that hand off does not occur and the popstate is not stored. -
How can I get netflix on Apple TV to auto play the next episode?
How can I get netflix on Apple TV to auto play the next episode?
I don't have the answer to this question, and yes, I checked the "I have the same question, too" box.. But so did 30 some other people.. So, I've scoured the web and looked high and low into the Apple TV device.. HOW CAN I DO IT? My playstation 3 did it[.. My WDTV box top I've had for 2 years can do it! My Smart Vizio TV [netflix app built in to the tv] can do it! My Apple ipad can do it. My iPhone can do it.. So, can my Apple TV do this? Or Not?
-
We have a corporate iPad in our auto showroom to show guests how to use features on their vehicles. Someone locked it with their account. It was not an employee. How can I get in? I did a restore of the software already?
Gather up the proof that the dealership is the original purchaser of the iPad,
and take the iPad & that proof to a physical Apple store for possible assistance.
It is highly suggested that you make a genius bar appointment to avoid delay
at the store:
Make a Genius Bar Reservation
http://www.apple.com/retail/geniusbar/
If no Apple store close by, get the information mentioned above and contact
Apple Contact Us for assistance.
Once the problem is resolved, you may wish it use Guided Access to limit
what customers can do with the iPad.
iOS: About Guided Access - Apple Support -
How can I get a downloaded ringtone/song to appear in the settings/sounds/Ringtones menu area on Iphone 4? Thanks
You must create the ringtones. google will find several free ways to do this.
It will then appear in the "Ringtones" section of your itunes "Library".
Then you select it to sync under the ringtones tab. -
I deleted all my photos, how can I get them back? They aren't in the trash.
I deleted all my photos, how can I get them back? They aren't in the trash.
Restore from your back up seems an obvious solution.
-
How can you get your iPod touch open when you forgot the password and its disabled and not connected to the Internet Connection and you don't want to reset it.
Disabled
Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
iOS: Forgot passcode or device disabled
If recovery mode does not work try DFU mode.
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
For how to restore:
iTunes: Restoring iOS software
To restore from backup see:
iOS: Back up and restore your iOS device with iCloud or iTunes
If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
You can redownload most iTunes purchases by:
Downloading past purchases from the App Store, iBookstore, and iTunes Store
If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode. -
How can i get my contacts back if i dont have the back up
How can i get my contacts back if i dont have the back up
if you didn't back them up then you cant get them back without physically puting them back in.
-
How can i get a copy of my ipone messages with the number, date and time stamp?
How can I get a copy of my iphone messages with the number it was sent from and the date and time stamp? Needed for court purposes.
Try the computer apps PhoneView (Mac) or TouchCopy (Mac & PC):
http://www.ecamm.com/mac/phoneview/
http://www.wideanglesoftware.com/touchcopy/index.php
You should probably consult your attorney to see if either of these will be acceptable. -
So just downloaded 5.0 and it deleted all my contacts, how can I get it all back? I already tryed the "Back Up" or "Restore" and it's still blank on my iphone??
You should have been syncing your contacts to your computer regularly. Just sync them back ot the iphone from your computer.
-
How can I get iTunes to open to Library instead of the iTunes Store. It does it on one of my computers, but I don't know how I did it.
For me, iTunes always opens to whatever I had selected previously when it was closed.
In other words, if I had Apps selected when I closed iTunes, the next time I opened iTunes it would be on Apps.
Maybe you are looking for
-
HT1911 how to you change your security question(s)
how do you change your security question(s) in the itunes store.
-
ORA-27101: shared memory realm does not exist and ORA-01139: RESETLOGS
HI ALL, After the oracle has installed on a solaries server successfully, i am unable to login into oracle database. Below are the errors messages : 1) ORA-01034: ORACLE not available ORA-27101: shared memory realm does not exist SVR4 Error: 2: No su
-
Hi, Can anyone send me the flow or steps for EDI 824 transaction document.... Thanks, Priya
-
Task Flow Call - after-listener
Hello, What is the method signature required to use before and after-listener on task flow calls? Thanks, ~ Simon
-
Add Import of Adobe Album tags to Bridge
I have tagged all my photos (12000 +) with Adobe Album 2.0. I have now installed CS2 and Bridge to find that I cannot migrate these tags to Bridge. Is there a feature I have missed?