To identify the package
Hi people,Can I know how to identify the package or procedure and its setting was called the special form
Thanks in advance
It is not a design or execution time. Instead it s the time before implementation
What do you mean by that?
My scenario is that I have to read a package or a procedure that was called by a button in a particular form.
Well, if you do not run your form (through the duration of forms or via Web), you can simply open your definition file (.fmb) forms with the form Builder Module and look at the when button pressed trigger assigned to the button.
Craig...
Tags: Oracle Development
Similar Questions
-
How to identify the time required to run a package
Hi all
Is the method without TKPROFF to find the time to run a package that calls a procedure.
for the examples
Lets say I run a packaage to SQLplus window
SQL > Execute my_pack.bal_proc;
(It took some time may be 4 hrs according to my watch).
At this point if I want to find the time by a sql command that after running the package, which was the time.
can someone help me find a query which tell what was the time required to run a package.
Thanks n rgds
SaazBefore execution:
SET TIMING ONThen run your procedure. For example:
SQL> SET TIMING ON SQL> Execute my_pack.bal_proc; PL/SQL procedure successfully completed. Elapsed: 00:00:00.00
Miguel
-
Identify the name of the schema in a procedure/package
My google-fu is totally miss you on this one and I have a method for doing this already, but there is an insidious sense that there is a better way to do it there.
Basically I have two schemas that have the same procedures, packages, etc. in them (separate for reasons of risk; leaves do not enter the problem of duplication of code to maintain...!) and in a few, there are references to the schema to which belongs the package/proc/function (for example for analysis of tables). In order to avoid the schema name and the nightmare of maintaining different publication for different schemas, hard coding scripts I want to code in order to determine which schema it runs under.
I can't use 'USER' as which shows the user connected, and I want the name of the owner of the code being run.
I came with:
but as I said, I can't help but feel that there is a better way.select username from user_users;
Is there, and if there is, what is it please?This?
sys_context (' USERENV', 'CURRENT_SCHEMA' ")
-
T430s - BSOD (of driver power state failure). Please help identify the driver
I meet regularly with BSOD on my T430s / Win7 when switching mode standby (Fn + F4). The error message is driver_power_state_failure. This happens almost every day. Driving me crazy!
I know it's a common problem (I also had with a former T500, but not on T420). After Googling around, I discovered WinDBG and how to identify the faulty driver that is causing the problem.
However, I could not install the tool - or debuggers package (referenced on windbg.org), nor the tool set + a .NET framework from the Microsoft Web site. The old guard quit the installer with no message (although the Remove Programs dialog shows the thing installed, it seems to be no program to run), the latter does install without no diagnosis (installation only, tried the debugging tools tried to install the complete package - same result).
So, can someone please help to analyze the memory dump and to identify the faulty driver? What file is needed for this - the memory full image (from folder/Windows /, ~ 500 MB in size) or the minidump file (from/Windows Minidump file / / /, ~ 700 KB in size)? Or both?
Help a fellow fan of ThinkPad enjoy his work tool
Several days after, I don't get BSOD more, even though I kept pushing the laptop "standby mode" on a regular basis, with or without food. Since already BSOD passed almost every day (to, like, try every 3rd or 4th go to sleep) and now there is none, I would try and call this problem is "solved".
Let's see if just once he returns
I'm not really sure what has helped exactly - I've only updated (a little) drivers manually (after Lenovo update system running with only a few boxes checked). These pilots were audio, video and network ones. USB 3.0 driver has been updated before, but that alone did not effect.
I've also updated the BIOS via the Lenovo system update (strange, but it worked, unlike my manual attempt via downdloading non-bootable-CD version of the Lenovo Web site).
Hope this helps other people are having the same problem.
-
How can I get rid of this update? I find only information for the installation of updates failed, nothing on the automatic reception of an update through Windows Update that is not valid for my system.
Windows Vista Home Pemium Service Pack 2
HP Pavilion DV6700
Microsoft Office is NOT installed, only the viewers"Windows Servicing identified that package KB972036 (Update) is not applicable to this system"
"Windows Servicing has not finished the process of change update 972036-11_neutral_LDR of State of Staged (Staged) packaging KB972036 (Update)"
Log name: System
Source: Microsoft-Windows-maintenance
Date: 2009-09-02 10:52:50
Event ID: 4375
Task category: no
Level: error
Keywords: Classic
User: T24622056-PC\Alan
Computer: T24622056-PC
Description:
Windows Servicing failed to complete the process of the package configuration KB972036 (Update) in install Requested(Install Requested) State
The event XML:
4375
0
2
0
0
0 x 80000000000000
103100
System
T24622056-PC
KB972036
Update
Install requested
Package_for_KB972036 ~ 31bf3856ad364e35 ~ x 86 ~ ~ 6.0.2.0
Installed
True
0 x 80070643
Fake
Hi BrechbieIAD,
Welcome to Microsoft Vista answers Forum!
I have a few here that might solve the problem.
Step 1:
You may need to start the computer in safe mode and uninstall the update, follow these steps to start the computer in safe mode:
1 restart your computer if it is running.
2. tap on the F8 key after your initially on powers computer.
3. Once you see the menu Advanced Boot Options, you can stop tapping.
4. use the up/down arrow keys to highlight your selection.
5. Select Mode safe mode with networking and press ENTER.
6. you should see loading drivers and wait please.
7. you should then be at the Welcome screen.
8. connect to your computer using an account with administrator privileges.
See the link: http://windowshelp.microsoft.com/Windows/en-US/help/323ef48f-7b93-4079-a48a-5c58eec904a11033.mspx
Step 2:
Now, you may need to delete the contents of the download on your system folder, follow these steps:
Click Start > type download in the start search > delete the folder KB972036.
Step 3:
Now, run Windows Update and allow to install KB972036.
After Windows Update has finished reboot normally and everything should be fixed.
Hope this information is useful.
Let me know if it worked.
All the best!Thank you, and in what concerns:
Swathi B - Microsoft technical support.
Visit our Microsoft answers feedback Forum and let us know what you think. -
trying to figure out the names of the packages...
I'm following: A10_Writing_Your_First_Application_V5.pdf and writing within Eclipse Ganymede 3.4.2 projects
When creating this sample package, the name is:
com RIM. Samples.HelloWorld
It works and creates the coresponding files in my workspace.
Then, I tried:
com RIM. HelloWorld
and the program does NOT work on my Storm
So there must be a reason why this package name is required, i.e. my Storm is looking for files in a specific folder, not just any folder. I have tried to identify the folder corresponding to the Eclipse plugin directory, and I see:
C:\Program Files\eclipseGanymede342\plugins\net.rim.eide.componentpack4.7.0_4.7.0.46\components\samples\com\rim\samples\device\helloworlddemo
I see some similarities...
Could someone help me understand the requirements for the names of 'package', i.e. the folder tree in my project?, or direct me to a document where it is explained?
Thank you.
If you have placed the source file in the particular package names that you have set, it should work.
-
How to find the part creator problem of the code in the package?
Hi gurus
This question is just for my goal of learning, my question is that if I create a package that have 10 000 lines, includes several functions and procedures, but when I then run my stuck bundle / freeze on some specific code so how is it, I identify the specific part of the code. Thanks in advance
Concerning
Shu
Hi Shu,
What do you mean by the method of logging? is there a utility to do this?
even if it's not 'connect' mechanism but the simplest solution is to instrument your code to package with the DBMS_APPLICATION_INFO package programs. For example SET_ACTION at the beginning of each subprogramme in the package. See http://docs.oracle.com/cd/E11882_01/appdev.112/e40758/d_appinf.htm
"Application developers can use the
DBMS_APPLICATION_INFO
package with Trace of Oracle and the SQL trace facility to the record names of execution modules or transactions in the database for use later when monitoring the performance of the different modules and debugging."Then, you can monitor for sid, serial # when running from v$ session http://docs.oracle.com/cd/E11882_01/server.112/e40402/dynviews_3016.htm#REFRN30223
MODULE
VARCHAR2(48)
Name of the module running in the game by calling the DBMS_APPLICATION_INFO.SET_MODULE
procedureACTION
VARCHAR2(32)
Name of the action being performed as defined by calling the DBMS_APPLICATION_INFO.SET_ACTION
procedureCLIENT_INFO
VARCHAR2(64)
Information defined by the DBMS_APPLICATION_INFO.SET_CLIENT_INFO
procedureand for sid and serial No.
v$ session_wait https://docs.oracle.com/cd/B28359_01/server.111/b28320/dynviews_3023.htm
and
v$ session_longops http://docs.oracle.com/cd/E11882_01/server.112/e40402/dynviews_3022.htm#REFRN30227
and other license pack tuning requiring views
Finally the answer to your question. If you do not have your own recorder there is for example LOG4PLSQL: logging of Oracle database tools (I've never used).
-
The time actually ran up to remaining 27hours before I force quit it (he was installing for at least an hour already) I tried this on iMac running different versions of Mac OS x including Maverick and Yosemite, and they have this problem. It comes to CC for the company. The package includes Bridge, Photoshop, Illustrator, InDesign, After Effects, and Muse. Here's the Setup log:
24 Nov 15:24:09 Henrys-iMac installer [384]: @(#) PROGRAM: PROJECT: install-690
24 Nov 15:24:09 Henrys-iMac installer [384]: @(#) PROGRAM: install PROJECT: Installer-538
24 Nov 15:24:09 Henrys-iMac installer [384]: material: iMac12, 2 to 2.70 GHz (x 4), 8192 MB RAM
24 Nov 15:24:09 Henrys-iMac installer [384]: running Build OS: Mac OS X 10.7.5 (11 G 63)
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: PATH = / usr/bin: / bin: / usr/sbin: / sbin
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: TMPDIR = / var/folders/_d/c6_827z92njfbx5jpb7hzsyh0000gn/T /.
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: SHELL = / bin/bash
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: HOME = / users/henryfrick
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: USER = henryfrick
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: LOGNAME = henryfrick
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: DISPLAY=/tmp/launch-AhtzCs/org.x:0
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: SSH_AUTH_SOCK = / tmp/launch-qGnbkA/Auditors
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: Apple_Ubiquity_Message = / tmp/launch-XxdyXy/Apple_Ubiquity_Message
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: Apple_PubSub_Socket_Render = / tmp/launch-dEGRJ6/rendering
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: COMMAND_MODE = unix2003
24 Nov 15:24:09 Henrys-iMac installer [384]: Env: __CF_USER_TEXT_ENCODING = 0x1F5:0:0
24 Nov 15:24:09 Henrys-iMac installer [384]: journal of Installation CCPLuciano
24 Nov 15:24:09 Henrys-iMac installer [384]: open from: /Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg
24 Nov 15:24:09 Henrys-iMac installer [384]: journal of Installation of Luciano
24 Nov 15:24:09 Henrys-iMac installer [384]: open from: /Volumes/GHOSTDRIVE2/Luciano/Build/Luciano_Install.pkg
24 Nov 15:24:09 Henrys-iMac installer [384]: fileURLForURL = x-disc://GHOSTDRIVE2/Luciano/Build/Luciano_Install.pkg
24 Nov 15:24:09 Henrys-iMac installer [384]: fileURLForURL = file://localhost/Volumes/GHOSTDRIVE2/Luciano/Build/Luciano_Install.pkg
24 Nov 15:24:14 Henrys-iMac installer [384]: plugin InstallerStatusNotifications loaded
24 Nov 15:24:21 Henrys-iMac runner [403]: the administrator authorization.
24 Nov 15:24:21 Henrys-iMac installer [384]: =.
24 Nov 15:24:21 Henrys-iMac installer [384]: selected user install Standard
24 Nov 15:24:21 Henrys-iMac installer [384]: choice selected for installation:
24 Nov 15:24:21 Henrys-iMac installer [384]: Update: "CCPLuciano".
24 Nov 15:24:21 Henrys-iMac installer [384]: CCPLuciano_Install.pkg: com.adobe.Enterprise.install.F71180A0-A393-42DF-9B13-156B44D066BA: 1.0.0.1.0
24 Nov 15:24:21 Henrys-iMac installer [384]: =.
24 Nov 15:24:21 Henrys-iMac installer [384]: it took 0.00 seconds to sum up the package selections.
24 Nov 15:24:21 Henrys-iMac installer [384]:-[IFPKGDerivedDocument sortedPackageLocations]: result =)
'file://localhost '.
)
[24 Nov 15:24:21 Henrys-iMac installer [384]:-[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
[24 Nov 15:24:21 Henrys-iMac installer [384]:-[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg
24 Nov 15:24:21 Henrys-iMac installer [384]: set the level of permissions to root for the session
24 Nov 15:24:21 Henrys-iMac installer [384]: use session PK
24 Nov 15:24:21 Henrys-iMac installer [384]: start the installation:
24 Nov 15:24:21 Henrys-iMac installer [384]: configuration of volume "Macintosh HD."
24 Nov 15:24:21 Henrys-iMac installer [384]: preparation of disc for the local installation of punt.
24 Nov 15:24:21 Henrys-iMac installer [384]: free space on "Macintosh HD": 729,28 GB (729277222912 bytes).
24 Nov 15:24:21 Henrys-iMac installer [384]: create the temporary directory "/ var/folders/_d/c6_827z92njfbx5jpb7hzsyh0000gn/T//Install.384aB0g1m".
24 Nov 15:24:21 Henrys-iMac [384] Installer: IFPKInstallElement (1 package)
24 Nov 15:24:21 Henrys-iMac installer [384]: using the root to IFPKInstallElement permission level
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit:-----Begin installation -
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit: application = < 1 packages, destination = PKInstallRequest / >
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit: packages =)
"PKJaguarPackage < file://localhost/Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg >.
)
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit: will be based on the obsolete reception for package identifier com.adobe.Enterprise.install.F71180A0-A393-42DF-9B13-156B44D066BA (path prefix =)
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit: extraction file://localhost/Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg (destination = / var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/cleaning the start-up/PKInstallSandbox-tmp/Root, uid = 0)
Nov 24 15:24:22 Henrys-iMac installed [406]: PackageKit: executing script ".» "/ preupgrade" in /Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg/Contents/Resources
Nov 24 15:24:22 Henrys-iMac installed [406]:. / preupgrade: AAMEE Installer: preupgrade launched...
Nov 24 15:24:22 Henrys-iMac installed [406]:. / preupgrade: AAMEE Installer: working directory is /Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg/Contents/Resources
Nov 24 15:24:22 Henrys-iMac installed [406]:. / preupgrade: AAMEE Installer: launch of AdobeDeploymentManager...
Set the permissions for everyone in the folder where CCPackager was created to "Read/write" active. It's strange because there is only one administrator account on Mac (and that the account already has read-write), but it seems to fix the problem.
-
identify the areas where the check box is selected
Hi all
I have a page that contains 3 report areas, each with a checkbox column. The user has the option to select lines in each region and I need store the selected lines in a database table.
I created the sub process to insert data into the table.
BECAUSE me in 1.APEX_APPLICATION. G_F01. Count
LOOP
insert into tbl_name (c1, c2, c3) values (v1, APEX_APPLICATION. G_F01 (i), v3);
END LOOP;
The process is executing well and insert the data into the table. But the problem is when the user select lines in different regions, I get all the lines inserted in the tables, but I'm not able to identify which line is selected in which region. Is it possible to identify the area where the line is checked.
Thanks in advance for the help.
Kind regards
PrasanthHi Prasanth,
Your probably using the apex_item package to generate checkboxes. So, try to change the p_idx parameter.
In your case, it is probably p_idx-online 1. In other 2 reports put at 2 and 3 and then to the process you can extract only with in APEX_APPLICATION. G_F02 and APEX_APPLICATION. G_F03 berries.BR,
Marko Goricki
-------------------------
http://apexbyg.blogspot.com/ -
Function within the package error
Hi friends,
I have a package called xxhw_ams_utils with a function inside get_salary
When I tried to run this function in the package as below average way, im getting error as
ORA-00904: "XXHW_AMS_UTILS." "" GET_SALARY ": invalid identifier
where there are 1072 is the assignment IM id to the objective test.select apps.xxhw_ams_utils.get_salary(1072) from dual
This is the actually the get_salary function located in the package xxhw_ams_utils of coding
Suppose that if I performed as the way to way below, I get the correct resultFUNCTION get_salary (p_asg_id IN NUMBER) RETURN VARCHAR2 IS l_gross VARCHAR2(20); l_basic VARCHAR2(20); BEGIN select eev.screen_entry_value into l_basic from pay_element_entry_values_f eev, per_pay_bases ppb, pay_element_entries_f pe where ppb.pay_basis_id +0 = 61 and pe.assignment_id = 1072 and eev.input_value_id = ppb.input_value_id and eev.element_entry_id = pe.element_entry_id and sysdate between eev.effective_start_date and eev.effective_end_date and sysdate between pe.effective_start_date and pe.effective_end_date; EXCEPTION WHEN OTHERS THEN RAISE; END;
Suppose if I run as the means below it is back as invalid character error.select eev.screen_entry_value --into l_basic from pay_element_entry_values_f eev, per_pay_bases ppb, pay_element_entries_f pe where ppb.pay_basis_id +0 = 61 and pe.assignment_id = 1072------------------------------------>assignment id (that im passing) and eev.input_value_id = ppb.input_value_id and eev.element_entry_id = pe.element_entry_id and sysdate between eev.effective_start_date and eev.effective_end_date and sysdate between pe.effective_start_date and pe.effective_end_date;
Why might the problem friends.select apps.xxhw_ams_utils.get_salary(1072) from dual
Brgds,
MiniYour function must RETURN a VARCHAR2
-
Error creating features in the packages - unknown command FUNCTION
Hello
I usually identify with the diagram of the system via the SQL command line and run my sql files. I have the database below and the test package. But I get the error:
Order unknown start "FUNCTION p...» ' - the rest of the ignored line
This is the database I load previously:
DROP TABLE Judete CASCADE CONSTRAINTS;
CREATE TABLE Judete
(
JD CHAR (2) PRIMARY KEY.
NumeJud char(10) NOT NULL UNIQUE,
Regiune CHAR (15) by default "Moldova" CHECK (Regiune IN ('Moldova', 'Transilvania', 'Banat'))
);
DROP TABLE Localitati CASCADE CONSTRAINTS;
CREATE TABLE Localitati
(CodPostal NUMBER (8) PRIMARY KEY,)
NumeLoc NON NULL, char (15)
Judet (2) tank,
FOREIGN KEY (Judet) made REFERENCE Judete (JD)
);
DROP TABLE Persoane CASCADE CONSTRAINTS;
CREATE TABLE Persoane
(NOC NUMBER PRIMARY KEY (15),)
NumePers NON NULL char (20)
PrenPers NON NULL char (20)
CodPostal NUMBER (10),
Such NUMBER (12) NOT NULL,
FOREIGN KEY (CodPostal) made REFERENCE to Localitati (CodPostal)
);
DROP TABLE Produse CASCADE CONSTRAINTS;
CREATE TABLE Produse
(CodProdus NUMBER (10) PRIMARY KEY,)
NumeProdus NON NULL, char (15)
Loan NUMBER (8) NOT NULL
);
DROP TABLE Vanzari CASCADE CONSTRAINTS;
CREATE THE Vanzari TABLE
(CodV NUMBER (8) PRIMARY KEY,
CodProdus NUMBER (10),
PersCNP Number (15),
DataV DATE NOT NULL,
NrProduse NUMBER (8) NOT NULL,
FOREIGN KEY (PersCNP) made REFERENCE Persoane (NOC),
FOREIGN KEY (CodProdus) makes REFERENCE Produse (CodProdus)
);
INSERT INTO Judete VALUES ('IS', 'Iasi', 'Moldova');
INSERT INTO Judete VALUES ("CJ", "Cluj", "Transilvania");
INSERT INTO Judete VALUES ("TM", "Timis', 'Banat');
INSERT INTO Localitati VALUES (200, "Vaslui", "IS");
INSERT INTO Localitati VALUES (201, 'Targu Frumos', 'IS');
INSERT INTO Localitati VALUES (202, 'Criseni', 'CJ');
INSERT INTO Localitati VALUES (203, "Dealu Botii", "CJ");
INSERT INTO Localitati VALUES (204, "Beba Veche", "TM");
INSERT INTO Localitati VALUES (205, "Blajova", "TM");
INSERT INTO Persoane VALUES (0001, "Ionescu", "Ion", 201, 0332504312);
INSERT INTO Persoane VALUES (0002, "Vasilescu", "Vasile", 203, 0332304612);
INSERT INTO Persoane VALUES (0003, "Ionescu", "Ion", 204, 0322564322);
INSERT INTO Produse VALUES (1, "Limp", 50);
INSERT INTO Produse VALUES (2, 'First', 80);
INSERT INTO Produse VALUES (3, 'Corn', 35);
INSERT INTO Vanzari VALUES (100, 1, 0001, to_date('2011-03-07','yyyy-mm-dd'), 5);
INSERT INTO Vanzari VALUES (101, 3, 0001, to_date('2011-02-07','yyyy-mm-dd'), 2);
INSERT INTO Vanzari VALUES (2, 102, 0002, to_date('2011-01-08','yyyy-mm-dd'), 7);
INSERT INTO Vanzari VALUES (1, 103, 0002, to_date('2011-03-08','yyyy-mm-dd'), 15);
INSERT INTO Vanzari VALUES (3, 104, 0003, to_date('2011-02-19','yyyy-mm-dd'), 9);
INSERT INTO Vanzari VALUES (105, 1, 0003, to_date('2011-03-29','yyyy-mm-dd'), 1);
the package is:
CREATE or REPLACE PACKAGE pachet_lab2
IS
FUNCTION prod_bine_vandut RETURN NUMBER;
END pachet_lab2;
/
CREATE OR REPLACE pachet_lab2 BODIES
FUNCTION prod_bine_vandut RETURNS the NUMBER IS
DECLARE
v_sale NUMBER (6);
V_nume char (15);
v_cod NUMBER (10);
BEGIN
SELECT max(p.pret * v.NrProduse) IN the v_sale DE Produse p, Vanzari v
WHERE the p.CodProdus = v.CodProdus;
SELECT p.numeProdus INTO v_nume Produse p, Vanzari v
WHERE p.CodProdus = v.CodProdus AND v_sale = p.pret * v.NrProduse;
SELECT p.codProdus INTO v_cod Produse p, Vanzari v
WHERE p.CodProdus = v.CodProdus AND v_sale = p.pret * v.NrProduse;
Return v_cod;
END prod_bine_vandut;
END pachet_lab2;
/
I need to change the schema that I use? How can I do?
Thank you
PaulCREATE OR REPLACE PACKAGE BODY pachet_lab2 IS --you misse keyword PACKAGE FUNCTION prod_bine_vandut RETURN NUMBER IS -- DECLARE is not allowed here v_sale NUMBER(6); -- ...
Good bye
DPT -
extract the package and the procedure name in the code
In my treatment of exceptions, I need to register the name of package and procedure I have the exception. How can I get these two names without manually coding the names?
Thanks to anticipiationA better option is to get the package name and the line number
An even better option is to use the pl/scope (when you are in 11g (not sure about 10g)):
SQL> alter session set plscope_settings='identifiers:all' / Session altered. SQL> set serverout on SQL> create or replace package pkg as procedure p1; procedure p2; end pkg; / Package created. SQL> create or replace package body pkg as procedure get_scope (obj varchar2, line int) as begin for c in (select rpad (lpad (' ', 2 * (level - 1)) || name, 20, '.') || ' ' || rpad (type, 20) || rpad (usage, 20) identifier_usage_contexts from user_identifiers t where level != 1 start with line = get_scope.line and object_name = obj connect by usage_id = prior usage_context_id) loop dbms_output.put_line (c.identifier_usage_contexts); end loop; end get_scope; procedure p1 as begin null; end p1; procedure p2 as begin get_scope ($$plsql_unit, $$plsql_line); end p2; end pkg; / Package body created. SQL> exec pkg.p2 P2................ PROCEDURE DEFINITION PKG............. PACKAGE DEFINITION PKG............. PACKAGE DECLARATION PL/SQL procedure successfully completed.
-
Errors when compiling the package
Dear members,
IAM after the standard user manual and try to create a few pacakages. When Iam compile the package Iam getting some errors which are as follows:
My Pacakage:_
PACKAGE 'XXARUN_EMP_FETCHER' AS
FUNCTION XXARUN_GET_EMP(EMP_NO IN NUMBER) RETURN SHEIKYERBOUTI.
END;
Errors when compiling the above package_
Error (2.1): PL/SQL: statement ignored
Error (2.50): PLS-00201: identifier 'SheikYerbouti' must be declared
_ My Package body
PACKAGE BODY 'XXARUN_EMP_FETCHER' AS
FUNCTION XXARUN_GET_EMP (EMP_NO IN NUMBER) OF RETURN IS
EMP_FOUND EMPLOYEES % ROWTYPE;
EMP_RTN SHEIKYERBOUTI.
BEGIN
SELECT *.
IN EMP_FOUND
EMPLOYEES
WHERE EMPLOYED. EMPLOYEE_ID = EMP_NO;
EMP_RTN: = SHEIKYERBOUTI
*(*
EMP_FOUND. EMPLOYE_ID,
EMP_FOUND. LAST_NAME,
EMP_FOUND. JOB_ID,
EMP_FOUND. MANAGER_ID,
EMP_FOUND. HIRE_DATE,
EMP_FOUND. SALARY,
EMP_FOUND.COMMISSION_PCT,
EMP_FOUND. DEPARTMENT_ID
*);*
RETURN EMP_RTN;
END;
END;
Compilation of erros when the Package body above_
Error: PL/SQL: analysis of completed Compilation unit
Error (1.26): PLS-00905: object HTEST. XXARUN_EMP_FETCHER is not valid
Error (1.26): PLS-00304: impossible to compile 'XXARUN_EMP_FETCHER' body without its specification
Please help me to solve the above problems.
Thanks in advance.
Best regards
Arun Reddy.
Published by: A4S on July 20, 2009 10:10Hello
in
PACKAGE 'XXARUN_EMP_FETCHER' AS
FUNCTION XXARUN_GET_EMP(EMP_NO IN NUMBER) RETURN SHEIKYERBOUTI.
END;SheikYerbouti must be declared as a type
Kind regards
Branislav
-
Library ITunes-how to identify the original track
I've searched the forums looking for an answer to this and it seems to be the same issue that dates back to 2007, so I guess the first question would be why Apple has not done something, rather than causing me problems whenever they release an update iOS
OK - rant over! Now, I know there's the possibility of using the "remove duplicates" in the menu, but I had this problem for a while, and when I tried to remove the titles before, I got a warning message telling me that I was going to delete the original - so, how do I find which of the indicated path is the original?
Now, I have six or seven copies of each track and suspect that this happened since a previous update changed my settings and deleted something that stopped the tracks are copied back to the devices in iTunes.
Has anyone found a way to identify the original track so that I can remove all duplicates?
Thank you very much.
You can find this thread (and the links in the responses) interesting:
-
Install the package for Firefox 30.0 on Sun Solaris 10 SPARC?
Looking for the latest Firefox 30 Sun Solaris 10 SPARC package. It appears he either not yet displayed or development of Firefox on Sun Solaris has ceased.
http://FTP.Mozilla.org/pub/mozilla.org/Firefox/releases/latest/contrib/
http://FTP.Mozilla.org/pub/mozilla.org/Firefox/releases/latest/contrib-localized/http://FTP.Mozilla.org/pub/mozilla.org/Firefox/releases/30.0/contrib/
http://FTP.Mozilla.org/pub/mozilla.org/Firefox/releases/30.0/contrib-localized/The package name should be similar to "firefox-30.0.en-US.solaris-10-fcs-sparc-pkg.bz2".
Thank you!
30.0 Firefox for Solaris was posted to http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/30.0/contrib/ July 4, 2014. Took them a while but better late than never.
Maybe you are looking for
-
There are currently a work for our applications NPAPI plugin that works well in Firefox and Chrome. However, because plugins are getting blocked in the near future, we are looking for alternatives. Is it possible to transfer our web application so th
-
Display empty satellite 5005-S504
My LCD screen turns white, with nothing else. Any suggestions about where to look for problems?Billco518
-
I do not know what am stuck. .. help me please.
-
Someone has drivers for the Microsoft WBR0168 multimedia wireless keyboard? I'm trying to get the drivers to support the multimedia functions on the keyboard.
-
Windows Vista the screen flicker
flashing screen I have win vista my screen fickers and blacks out but you can see light emage in the back on the ground. Who has collapsed but the screen is not very bright and sparkling is worse can you help me please Dave Thank you