[Show all top banners]

dongdong
Replies to this thread:

More by dongdong
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 ORACLE HELP
[VIEWED 3824 TIMES]
SAVE! for ease of future access.
Posted on 08-23-07 2:27 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

DECLARE
INCUID VARCHAR2(200);
ININSERTFLAG NUMBER;
RETVAL NUMBER;
INFINCL_TITL VARCHAR2(200);
INFINCL_TYPE_CD VARCHAR2(200);
INFINCL_TYPE_ID NUMBER;
INFINCL_CD VARCHAR2(200);
INFINCL_DESC VARCHAR2(200);
INFINCL_EFF_DT DATE;
INFINCL_END_DT DATE;
INFINCL_PAR_ID NUMBER;
INFINCL_RLTD_EFF_DT DATE;
INFINCL_RLTD_END_DT DATE;
INFINCL_ID NUMBER;
CFLAG NUMBER;

BEGIN
INCUID := 'ai7630';
ININSERTFLAG := 1;
RETVAL := NULL;
INFINCL_TITL := 'asdfasdfasd';
INFINCL_TYPE_CD := 'asdfasdfasd';
INFINCL_TYPE_ID := 14;
INFINCL_CD := 'adfasdfasd';
INFINCL_DESC := 'adfasdfasddfas';
INFINCL_EFF_DT := 1/Jan/00;
INFINCL_END_DT := 12/Dec/99;
INFINCL_PAR_ID := NULL;
INFINCL_RLTD_EFF_DT := NULL;
INFINCL_RLTD_END_DT := NULL;
INFINCL_ID := 1026;
CFLAG := 0;

DED.ADDCOST ( INCUID, ININSERTFLAG, RETVAL, INFINCL_TITL, INFINCL_TYPE_CD, INFINCL_TYPE_ID, INFINCL_CD, INFINCL_DESC, INFINCL_EFF_DT, INFINCL_END_DT, INFINCL_PAR_ID, INFINCL_RLTD_EFF_DT, INFINCL_RLTD_END_DT, INFINCL_ID, CFLAG );
COMMIT;
END;


ORA-06550: line 27, column 21:
PLS-00382: expression is of wrong type
ORA-06550: line 27, column 3:
PL/SQL: Statement ignored
ORA-06550: line 28, column 21:
PLS-00382: expression is of wrong type
ORA-06550: line 28, column 3:
PL/SQL: Statement ignored
 
Posted on 08-23-07 3:41 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Please put ' ' (quote) in assigned date.

1 DECLARE
2 INCUID VARCHAR2(200);
3 ININSERTFLAG NUMBER;
4 RETVAL NUMBER;
5 INFINCL_TITL VARCHAR2(200);
6 INFINCL_TYPE_CD VARCHAR2(200);
7 INFINCL_TYPE_ID NUMBER;
8 INFINCL_CD VARCHAR2(200);
9 INFINCL_DESC VARCHAR2(200);
10 INFINCL_EFF_DT DATE;
11 INFINCL_END_DT DATE;
12 INFINCL_PAR_ID NUMBER;
13 INFINCL_RLTD_EFF_DT DATE;
14 INFINCL_RLTD_END_DT DATE;
15 INFINCL_ID NUMBER;
16 CFLAG NUMBER;
17 BEGIN
18 INCUID := 'ai7630';
19 ININSERTFLAG := 1;
20 RETVAL := NULL;
21 INFINCL_TITL := 'asdfasdfasd';
22 INFINCL_TYPE_CD := 'asdfasdfasd';
23 INFINCL_TYPE_ID :=14;
24 INFINCL_CD := 'adfasdfasd';
25 INFINCL_DESC := 'adfasdfasddfas';
26 INFINCL_EFF_DT := '1/Jan/00';
27 INFINCL_END_DT := '12/Dec/99';
28 INFINCL_PAR_ID := NULL;
29 INFINCL_RLTD_EFF_DT := NULL;
30 INFINCL_RLTD_END_DT := NULL;
31 INFINCL_ID := 1026;
32 CFLAG := 0;
33 --DED.ADDCOST ( INCUID, ININSERTFLAG, RETVAL, INFINCL_TITL, INFINCL_TYPE_CD, INFINCL_TYPE_ID, INFINCL_CD, INFINCL_DESC, INFINCL_EFF_DT, INFINCL_END_DT, INFINCL_PAR_ID, INFINCL_RLTD_EFF_DT, INFINCL_RLTD_END_DT, INFINCL_ID, CFLAG );
34 COMMIT;
35* END;
SQL> /

PL/SQL procedure successfully completed.

SQL>
 
Posted on 08-23-07 4:54 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

thankxs aryan
it did help me a lot
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 365 days
Recommended Popular Threads Controvertial Threads
शीर्षक जे पनि हुन सक्छ।
डीभी परेन भने खुसि हुनु होस् ! अमेरिकामाधेरै का श्रीमती अर्कैसँग पोइला गएका छन् !
What are your first memories of when Nepal Television Began?
Sajha Poll: नेपालका सबैभन्दा आकर्षक महिला को हुन्?
ChatSansar.com Naya Nepal Chat
NRN card pros and cons?
TPS Re-registration case still pending ..
Basnet or Basnyat ??
TPS Re-registration
निगुरो थाहा छ ??
Nas and The Bokas: Coming to a Night Club near you
Toilet paper or water?
Anybody gotten the TPS EAD extension alert notice (i797) thing? online or via post?
अमेरिकामा छोरा हराएको सूचना
ढ्याउ गर्दा दसैँको खसी गनाउच
Sajha Poll: Who is your favorite Nepali actress?
Problems of Nepalese students in US
nrn citizenship
TPS EAD auto extended to June 2025 or just TPS?
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
Nas and The Bokas: Coming to a Night Club near you
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters