Click here to Skip to main content
15,912,665 members
Home / Discussions / Database
   

Database

 
Questionget from a number its real character value Pin
kKamel16-Jul-09 1:50
kKamel16-Jul-09 1:50 
AnswerRe: get from a number its real character value Pin
dan!sh 16-Jul-09 3:59
professional dan!sh 16-Jul-09 3:59 
QuestionProblem in joining 2 tables Pin
nainakarri15-Jul-09 23:30
nainakarri15-Jul-09 23:30 
AnswerRe: Problem in joining 2 tables Pin
Blue_Boy15-Jul-09 23:36
Blue_Boy15-Jul-09 23:36 
GeneralRe: Problem in joining 2 tables Pin
nainakarri16-Jul-09 0:30
nainakarri16-Jul-09 0:30 
AnswerRe: Problem in joining 2 tables Pin
Vimalsoft(Pty) Ltd15-Jul-09 23:40
professionalVimalsoft(Pty) Ltd15-Jul-09 23:40 
AnswerRe: Problem in joining 2 tables Pin
ScottM115-Jul-09 23:42
ScottM115-Jul-09 23:42 
QuestionConverted sql Query to Oracle Pin
sandhya1415-Jul-09 18:50
sandhya1415-Jul-09 18:50 
Hi all.....

This is my oracle statement...while executing its giving an error:

21/29 PL/SQL: ORA-00923: FROM keyword not found where expected

please help me to solve this issue.. its urgent...
create or replace PROCEDURE PEAP_SelectEmpAppraiser
(
AppraiserID IN VARCHAR2 DEFAULT NULL,
Cur_RCT1 OUT GLOBALPKG.RCT1
)
AS
BEGIN

EXECUTE IMMEDIATE 'TRUNCATE TABLE PEAP_SelectEmployeesByApr';

INSERT INTO PEAP_SelectEmployeesByApr
SELECT emp_code AS EmployeeID,
emp_code || ' ' || l_name || ' ' || f_name AS SurNameFirstName
FROM emp_master
WHERE (Appraiser = PEAP_SelectEmpAppraiser.AppraiserID);
Insert into PEAP_SelectEmployeesByApr
SELECT emp_code as EmployeeID ,emp_code || ' ' || l_Name || ' ' ||
f_Name AS SurNameFirstName FROM emp_master
WHERE ( Reporting_To = PEAP_SelectEmpAppraiser.AppraiserID) and
isnull ( Appraiser , '') = '' and emp_code not in
( select EmployeeID from PEAP_SelectEmployeesByApr);
OPEN Cur_RCT1 FOR
SELECT DISTINCT
EmployeeID,
SurNameFirstName
FROM PEAP_SelectEmployeesByApr;
END;
/

please help me to resolve..its very urgent...
AnswerRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 20:53
professionalVimalsoft(Pty) Ltd15-Jul-09 20:53 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:00
sandhya1415-Jul-09 21:00 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:01
professionalVimalsoft(Pty) Ltd15-Jul-09 21:01 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:07
sandhya1415-Jul-09 21:07 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:15
professionalVimalsoft(Pty) Ltd15-Jul-09 21:15 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:24
professionalVimalsoft(Pty) Ltd15-Jul-09 21:24 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:27
sandhya1415-Jul-09 21:27 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:28
professionalVimalsoft(Pty) Ltd15-Jul-09 21:28 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:32
sandhya1415-Jul-09 21:32 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:34
professionalVimalsoft(Pty) Ltd15-Jul-09 21:34 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:39
sandhya1415-Jul-09 21:39 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:47
professionalVimalsoft(Pty) Ltd15-Jul-09 21:47 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1415-Jul-09 21:54
sandhya1415-Jul-09 21:54 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd15-Jul-09 21:59
professionalVimalsoft(Pty) Ltd15-Jul-09 21:59 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1416-Jul-09 19:10
sandhya1416-Jul-09 19:10 
GeneralRe: Converted sql Query to Oracle Pin
Vimalsoft(Pty) Ltd16-Jul-09 20:35
professionalVimalsoft(Pty) Ltd16-Jul-09 20:35 
GeneralRe: Converted sql Query to Oracle Pin
sandhya1416-Jul-09 20:45
sandhya1416-Jul-09 20:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.