ORA-6502 - Help!
I keep receiving this error:
ORA-6502 - PL/SQL: numeric or value error: character string buffer is too small
Listed below is the code:
Error lines are Line 1 and 12.
create or replace function overpunch (ora_val in varchar2) return varchar2
is
result_hold varchar2(12);
rightmost_digit varchar2(1);
overpunch_char varchar2(1);
begin
Result_hold := to_char( to_number( abs( nvl(ora_val,0) ) ), '000000000009');
rightmost_digit := substr(result_hold, -1);
result_hold := substr(result_hold, 1, length(result_hold)-1);
if ora_val < 0 then
if rightmost_digit = 0 then
overpunch_char := '}';
else
overpunch_char := chr(ascii(rightmost_digit)+25);
end if;
else
if rightmost_digit = 0 then
overpunch_char := '{';
else
overpunch_char := chr(ascii(rightmost_digit)+16);
end if;
end if;
return result_hold||overpunch_char;
end;
This is how it is executed:
select overpunch(14), overpunch(-14) from dual;
Any help would be greatly appreciated.
SQL> create or replace function overpunch (ora_val in varchar2) return varchar2
2 is
3 result_hold varchar2(12);
4 rightmost_digit varchar2(1);
5 overpunch_char varchar2(1);
6 begin
7 Result_hold := to_char( to_number( abs( nvl(ora_val,0) ) ), 'FM000000000009');
8 rightmost_digit := substr(result_hold, -1);
9 result_hold := substr(result_hold, 1, length(result_hold)-1);
10
11 if ora_val < 0 then
12 if rightmost_digit = 0 then
13 overpunch_char := '}';
14 else
15 overpunch_char := chr(ascii(rightmost_digit)+25);
16 end if;
17 else
18 if rightmost_digit = 0 then
19 overpunch_char := '{';
20 else
21 overpunch_char := chr(ascii(rightmost_digit)+16);
22 end if;
23 end if;
24
25 return result_hold||overpunch_char;
26 end;
27 /
Function created.
SQL> select overpunch(14), overpunch(-14) from dual;
OVERPUNCH(14)
OVERPUNCH(-14)
00000000001D
00000000001M
Similar Messages
-
ORA-6502 Value or Numeric Error while connecting to Sql-Plus - URGENT
Hello,
I am getting ORA-6502 error, "Error accessing Package Dbms_application_info" everytime I connect to Sqlplus. I tried running catproc and catalog but still getting the same message. I dont get this message when I connect to SVRMGR. I am not able to perform export also due to this error. Can anybody help me please??
Thanks,
R. Magesh.Hello,
I am getting ORA-6502 error, "Error accessing Package Dbms_application_info" everytime I connect to Sqlplus. I tried running catproc and catalog but still getting the same message. I dont get this message when I connect to SVRMGR. I am not able to perform export also due to this error. Can anybody help me please??
Thanks,
R. Magesh. Did you run catproc and catalog as SYS while the database was opened in RESTRICT mode? If not, then do that. Also, do SELECT * FROM dba_objects WHERE status='INVALID'; to see if there are other invalid objects that need to be compiled. -
Copy page will fail with ORA:6502 if summ. length of authschemenames 250
Hi!
using APEX 2.2.1 or 3.0 :
In AppBuilder 4000:627 i get ORA 6502 when trying to copy a page into another app. with multiple existing authorization
schemes. The errorpoint is at the selection of old and new authorization schemes.
Our destination app uses 36 authorization-schemes.
The summarized length of all scheme-names (+CR) is about 560 characters.
-- Show all scheme-names
select AUTHORIZATION_SCHEME_NAME from APEX_APPLICATION_AUTHORIZATION
where APPLICATION_ID=:APP_ID
-- count the schemes to :ANZ
select count(*)from APEX_APPLICATION_AUTHORIZATION
where APPLICATION_ID=:APP_ID
-- show the summarized length
select sum(length(AUTHORIZATION_SCHEME_NAME)) + :ANZ from
APEX_APPLICATION_AUTHORIZATION
where APPLICATION_ID=:APP_ID
If the summarized length exceeds 250, the copyprocess will fail!
All objects on the copied page (often >50) have to be reviewed.
SR number 6320088.993.
The problem can be reproduced on htmldb.oracle.com. For details check SR.
Thanks for help,
MatthiasRight.
There are 3 ways to use CSS:
Inline: styles applied to the HTML code between the <body> tags. This is not usually recommended.
Embedded: inside <style> and </style> tags between the <head> tags in your HTML document. This code is applied to only one page.
External: a physical file that contains nothing but CSS code and applies to all site pages that are linked to it.
If you have a unique style you want to use on a single page, either use embedded CSS (in the HTML document itself) or set up a unique class in your external stylesheet.
CSS classes:
.center {text-align:center}
.right {text-align:right}
.left {text-align:left}
HTML:
<p class="center"> this is centered text</p>
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Occasional ora-6502 using forms 6i and 10g
Hi all.
We have been experiencing some weird and unexpected ora-6502 errors in some of our forms 6i modules running against 10g (rel 1 or 2).
Forms modules are correctly functioning and for some reason, one day an ora-6502 error suddenly pops up.
Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.
I know that this may sound hard to believe, but it has happened several times. All we do is put some message built in, recompile all, and the error is gone (for a while).
So my questions are:
- Is this a known issue beween forms 6i and 10g Db?.
- Is there a patch on Metalink ( we use Forms [32 bits] Versión 6.0.8.26.0 (Producción))
- A workaround?
and most important
- Have anyone been exposed to a similar situation?
Regards, Luis ...!Now the weirdest thing is that after you put some messages on the trigger, so you can track down where the error is coming from, it disappears.Sounds like the form has not been "clean compiled" against the server on which it is running. Try a "Compile All", which causes all previously compiled program units to be compiled fresh.
Or even better, clean out all the compiled code from your fmb before compiling the fmb on the server where it runs.
See this topic: Re: Why does this happen - find ';', replace with ';'? -
OAS 4.0.8 PL/SQL Catridge exception ORA-6502 (Numeric or value error)
Hello,
Out product is using OAS 4.0.8.2 on UNIX running SOlaris. We are using Oracles Web Toolkit for application development and
presentation. I am basically trying to fill up some HTML form fields and calling
an HTTP post procedure in response
to a user clicking a submit button.
For some reason the PL/SQL cartridge throws an ORA-6502 error(Numeric or value error). Is there any restrictions to the
string types that can be passed to an HTTP
post procedure ??
Any pointers would be greatly appreciated ?
Thanks,
Ricko
nullWe have fixed the problem !!! :-DDD
Thanks to all Oracle analysts who replied this issue.
aLeX
[email protected] -
ORA-6502: value or numeric error
Hi all,
First off all, I am not very good in PL/SQL so please bear with me:
I have a trigger on a table on after update event. Sample code of the trigger:
create or replace trigger t1
on table1
after update of col1
for each row
begin
for inx in varray1.first .. varray1.last
loop
do something;
end loop;
end;
This trigger throws an error saying "ORA-6502: value or numeric error" if I am trying to update anything into that table but the same trigger works fine when I remove "FOR EACH ROW" statement from the trigger. There is absolutely no change except removal of FOR EACH ROW clause.
I am unable to figure out why. Do anybody?
Thanks in adnvace.Thanks a lot to all of you for taking time to answer my question.
Again, let me rephrase my question in one single line:
bold Why does the trigger without FOR EACH ROW works and doesnt work with FOR EACH ROW?
What I am guessing is , it might be because of the array what we are using inside the trigger. But its just a guess. One more thing to note here, same code with and without FOR EACH ROW works when I am not using any arrays inside the trigger and thats what is the question. WHY cant same code works when used with FOR EACH ROW when arrays are used inside the trigger.
I am not requesting anybody to write code for me or rectify the problems in the code. All I am interested in is the reason of trigger not working with FOR EACH ROW when arrays are used inside the trigger.
Thanks -
Oracle Collaborate Suite ORA-6502 error during loging or form submitting
Hi!
I had Oracle Collaborate Suite ORA-6502 error during loging or form submitting:
Internal error (WWC-00006)
An unexpected error has occurred (WWS-32100)
ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417)
Error (WWS-20000)
An unexpected error has occurred (WWS-32100)
ORA-6502: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWC-36000)
Unexpected error encountered in wwsec_api.person_info (ORA-06502: PL/SQL: numeric or value error: character string buffer too small) (WWC-41417).
This happened when:
I was using Russian letters in OCS HTML forms (for example - in Administration provision console or in my own HTML forms)
and only I work in Linux (with UTF-8 encoding) (in Windows with win1251 encoding all is OK).
My Database NLS not-null Parameters are:
NLS_LANGUAGE - AMERICAN
NLS_LENGTH_SEMANTICS - BYTE
NLS_TERRITORY - AMERICA
NLS_CHARACTERSET - AL32UTF8
NLS_NCHAR_CHARACTERSET - AL16UTF16
WHAT MUST I DO TO AVOID THIS SITUATION?
Thank
ValeryAll,
It appears that the page Javascript maximum limit size was reached. The error stopped appearing after some of the page Javascript code was removed out to Application Static Files. I wonder if there exists any "direct" indicator by the system whenever the size limit has been reached?
Again, the run error only occurred when the page was loaded in "Debug" mode.
Bernard -
Kimyong : 한글 Reqest , Request Set 등에서만 ORA-6502 가 발생할경우
Purpose
10G DB에서 한글 Request , Request set이름으로 실행할때 ORA-6502 numeric or value error: character string buffer too small 발생합니다. 이에 대한 조치사항을 안내해 드립니다.
Explanations
일단 아래 Pls version이 115.36 이하인지 확인합니다.
strings -a AFNLMSGB.pls |grep '$Header'
strings -a AFNLMSGS.pls |grep '$Header'
115.36이하일 경우 아래 patch를 적용해 주셔야 합니다.
Patch 6825781
Reference
Note 579382.1 -
ORA-6502, "PL/SQL numeric or value error"
I am having the [ORA-6502, "PL/SQL numeric or value error"] error when I call this procedure in PRE-INSERT trigger.
CREATE OR REPLACE PROCEDURE L_CHECK_BAL_AMOUNT(P_TXN_CODE IN VARCHAR2,
P_ABAL_MAIN_ACNT_CODE IN VARCHAR2,
P_TD_DOC_DRCR_FLAG IN VARCHAR2,
P_TXN_AMOUNT IN NUMBER) IS
CURSOR C1 IS
SELECT TRAN_CASH_BANK_FLAG
FROM FM_TRANSACTION
WHERE TRAN_CODE = P_TXN_CODE;
CURSOR C2 IS
SELECT nvl(SUM(NVL(ABAL_LC_MTD_DR,0)) - SUM(NVL(ABAL_LC_MTD_CR,0)) + SUM(NVL(ABAL_LC_UNP_DR,0)) - SUM(NVL(ABAL_LC_UNP_CR,0)),0)
FROM FS_CUR_ACNT_BAL
WHERE ABAL_MAIN_ACNT_CODE = P_ABAL_MAIN_ACNT_CODE
AND EXISTS (SELECT 'X' FROM FM_MAIN_ACCOUNT
WHERE MAIN_ACNT_CATG IN ('CA','BA')
AND MAIN_ACNT_CODE = ABAL_MAIN_ACNT_CODE)
GROUP BY ABAL_MAIN_ACNT_CODE;
M_BAL_AMOUNT NUMBER(20);
M_CASH_BANK_FLAG OW_FS.FLAG%TYPE;
BEGIN
IF P_ABAL_MAIN_ACNT_CODE IS NOT NULL THEN
insert into temp values('01',P_TXN_CODE);
insert into temp values('02',P_ABAL_MAIN_ACNT_CODE);
insert into temp values('03',P_TD_DOC_DRCR_FLAG);
insert into temp values('04',P_TXN_AMOUNT);
commit;
IF NVL(P_TD_DOC_DRCR_FLAG,'X') = 'C' THEN
insert into temp values('3',P_TD_DOC_DRCR_FLAG);
commit;
IF C1%ISOPEN THEN
CLOSE C1;
END IF;
OPEN C1;
FETCH C1 INTO M_BAL_AMOUNT; --------ERROR HERE-----------
IF C1%FOUND THEN
insert into temp values('2','c1 found');
commit;
END IF;
CLOSE C1;
END IF;
END IF;
END;
can anybody tell me why the error is coming...?
The value for the CURSOR C2 is (-1335142)
Thanksyes correct. the procedure would have been written like this.(see cursor C1 and C2)
CREATE OR REPLACE PROCEDURE L_CHECK_BAL_AMOUNT(P_TXN_CODE IN VARCHAR2,
P_ABAL_MAIN_ACNT_CODE IN VARCHAR2,
P_TD_DOC_DRCR_FLAG IN VARCHAR2,
P_TXN_AMOUNT IN NUMBER) IS
CURSOR C2 IS
SELECT TRAN_CASH_BANK_FLAG
FROM FM_TRANSACTION
WHERE TRAN_CODE = P_TXN_CODE;
CURSOR C1 IS
SELECT nvl(SUM(NVL(ABAL_LC_MTD_DR,0)) - SUM(NVL(ABAL_LC_MTD_CR,0)) + SUM(NVL(ABAL_LC_UNP_DR,0)) - SUM(NVL(ABAL_LC_UNP_CR,0)),0)
FROM FS_CUR_ACNT_BAL
WHERE ABAL_MAIN_ACNT_CODE = P_ABAL_MAIN_ACNT_CODE
AND EXISTS (SELECT 'X' FROM FM_MAIN_ACCOUNT
WHERE MAIN_ACNT_CATG IN ('CA','BA')
AND MAIN_ACNT_CODE = ABAL_MAIN_ACNT_CODE)
GROUP BY ABAL_MAIN_ACNT_CODE;
M_BAL_AMOUNT NUMBER(20);
M_CASH_BANK_FLAG OW_FS.FLAG%TYPE;
BEGIN
IF P_ABAL_MAIN_ACNT_CODE IS NOT NULL THEN
insert into temp values('01',P_TXN_CODE);
insert into temp values('02',P_ABAL_MAIN_ACNT_CODE);
insert into temp values('03',P_TD_DOC_DRCR_FLAG);
insert into temp values('04',P_TXN_AMOUNT);
commit;
IF NVL(P_TD_DOC_DRCR_FLAG,'X') = 'C' THEN
insert into temp values('3',P_TD_DOC_DRCR_FLAG);
commit;
IF C1%ISOPEN THEN
CLOSE C1;
END IF;
OPEN C1;
FETCH C1 INTO M_BAL_AMOUNT; --------ERROR HERE-----------
IF C1%FOUND THEN
insert into temp values('2','c1 found');
commit;
END IF;
CLOSE C1;
END IF;
END IF;
END;
/ -
hi all,
in created a insert form ,where in i have over ridden the 'when-button pressed' trigger.
when the button is pressed all the data from the form is entered into the database.
I am succeding in transferring the data into the database but ...' get an error message
unhandled exception ora 6502'.....
I have provided the max size to the database column account and cust_no column.
below is my code in the 'when button-pressed trigger'
insert into customer
CUSTNO ,
ACCNO --,
--CUST_ADD1 ,
--CUST_ADD2 ,
--CUST_POSTCODE
values
:CUSTNO ,
:ACCNO -- ,
--:CUST_ADD1 ,
--:CUST_ADD2 ,
--:CUST_POSTCODE
commit_form;
exit_form('NO_VALIDATE');
also my customer table is like below
SQL> desc customer;
Name Null? Type
CUSTNO NUMBER(38)
ACCNO NUMBER(38)
CUST_ADD1 VARCHAR2(200)
CUST_ADD2 VARCHAR2(200)
CUST_POSTCODE VARCHAR2(50)
please let me know ...
rgds
sORA-6502: PL/SQL: numeric or value error
there are many problems, which raise this error
string vs date vs number - problem. Check your datatypes
strings which are too long - check the size of the inserted data and the length of the columns
what did you find ? -
Large Select List fails with ORA-6502
Creating a large select list with htmldb_item.select_list_from_query_xl causes an ORA-6502 when the resulting select list contents are larger than an arbitrary value.
For example, if the query for the select list returns a display value of up to 50 characters and a numeric id return value of up to 10 digits, we have to arbitrarily include "where rownum < x" (where x is some arbitrary value) in the query to get results; otherwise when the page is run we get the ORA-6502.
For regular select lists with long results we can get around the problem using htmldb_item.popup_list_from_query but to generate multiselect lists we have to use the htmldb_item.select_list_from_query_xl an include the attribute "multiple".Can we get that added to the API documentation? The spec simply states the function returns a CLOB, implying that it would support the max size of a CLOB supported by the database (4GB in 9iR2 as I recall).
Granted, one should not expect a 4GB web page to be returned using the function call, but a page larger than 32KB isn't entirely unreasonable, especially since this product is geared towards intranet and departmental apps (ie corporate LAN environment).
An alternative enhancement would be to implement multiselects via the popup list mechanism, allowing users to select multiple items as they "page" or search thru the values for that field. -
ora-6502,0ra-6512
report program ( PL/SQL) Throws following error.
PL/SQL Numeric or value error host behind array too small.
what is the possible solution.http://www.orafaq.com/wiki/ORA-06502
Nicolas. -
ORA-6502 Character String buffer too small
Stored procedure call from C#. Ref cursors are no problem but trying to return Varchar2 is a bit of a puzzle. Just the simple code fragment below blows with ORA-6502.
PROCEDURE getjdt2 (X OUT VARCHAR2) IS
BEGIN
X := 'TEST RETURN VARCHAR2';
END;
OracleCommand cmd = new OracleCommand ("GETJDT2", conn);
cmd.CommandType = CommandType.StoredProcedure;
cmd.Parameters.Add("param1",OracleDbType.Varchar2);
cmd.Parameters[0].Direction = ParameterDirection.Output;
OracleDataReader reader;
reader = cmd.ExecuteReader();
reader.Read();
Console.WriteLine ("Val: {0}", reader.GetString(0));Never mind. A bit more research and I figured it out.
-
Hi,
I'm trying to create an UI Template. I've generated the html using Frontpage and am successfully able to see in a browser.
I've copied the html to the UI form, but when I try to preview or execute the UI template, I get the following error:
Error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-11230)
nullI AM FACING SIMILAR PROBLEM, THE EXACT ERROR IS:
Error: Excepcisn de wwv_generate_component.build_procedure (WWV-01821)
No se ha podido generar la pantalla de interfaz de usuario: ORA-06502: PL/SQL: numeric or value error: character string buffer too small (WWV-16409)
(SORRY , PART OF THE ERROR IS IN SPANISH!)
I CREATED A FORM , WORKED WITH IT A LOT WITHOUT PROBLEMS. NOW I NEED TO DO SOME CHANGES ON CERTAIN FIELDS AND WHEN I TRY TO SAVE IT I GET THE ABOVE ERROR.
THEN I GO BACK TO AN OLDER VERSION, COPY AND TRY TO DO CHANGES AND AGAIN THE ERROR COMES UP.
THE CHANGES I AM TRYING TO DO ARE TO SOME OF THE EXISTING FIELDS IN THE FORM WHICH NEED TO BE PUT AS "INSERTABLE".
THE SCREEN LAYOUT IS DISPLAYED WITHOUT PROBLEM.
(THE FORM IS BASED ON A TABLE WITH APROX 80 FIELDS).
I NEED SOME URGENT HELP. PLS LET ME KNOW ANY OTHER INFO YOU MAY NEED TO HELP ME SOLVE THIS PROBLEM.
FYI I AM WORKING ON PORTAL VERSION 3.0.9 / ON Windows 2000 (DATABASE 8.1.7.0 AND iAS ARE ON DIFFERENT MACHINES).
TKS IN ADVANCE -
Hello,
I found my step-son playing around with keys on my laptop and later on in the day, as usual, opened SQL developer and SQL plus to practice what I am learning on CBT nuggets tutorial for fundamentals exam. All of a sudden when i type in Username (hr) and Password i get ORA-12560: TNS:protocol adapter error .
I am currently using Oracle 11g Express edition and when i try running the shortcut 'Get started with Oracle Database 11g Express Edition' it opens a browser window and say Could not connect to 127.0.0.1:8080
After searching on the Oracle forums and other websites, i still cannot find a solution. I was wondering if maybe my step son accidentally blocked something to do with Oracle 11g when prompted by my anti-virus (Kaspersky) but as I was not there I do not know exactly what he did.
SQL developer gives me the follow error "Listener refused the connection with the following error: ORA-12505, TNS: Listener does not currently know of SID (shows Document icon) given in connect descriptor"
Upon running lsnrctl status listener in Windows Command Prompt I get the following:
C:\Windows\system32>lsnrctl status listener
LSNRCTL for 32-bit Windows: Version 11.2.0.2.0 - Production on 17-JAN-2013 23:07
:04
Copyright © 1991, 2010, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date 17-JAN-2013 22:46:23
Uptime 0 days 0 hr. 20 min. 46 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\11.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\diag\tnslsnr\Rami-PC\listener\a
lert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=Rami-PC)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Any ideas on what it could be? Please i am going nuts here trying to sort it out but I am not sure how to solve this problem and not being able to access my DB means i cannot really study for my ORA Fundamentals exam in March.
Thanks in advanceHere are the results from entering what you asked in windows command prompt:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Rami>sqlplus / as sysdba shutdown abort startup
SQL*Plus: Release 11.2.0.2.0 Production
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Use SQL*Plus to execute SQL, PL/SQL and SQL*Plus statements.
Usage 1: sqlplus -H | -V
-H Displays the SQL*Plus version and the
usage help.
-V Displays the SQL*Plus version.
Usage 2: sqlplus [ [<option>] [{logon | /nolog}] [<start>] ]
<option> is: [-C <version>] [-L] [-M "<options>"] [-R <level>] [-S]
-C <version> Sets the compatibility of affected commands to the
version specified by <version>. The version has
the form "x.y[.z]". For example, -C 10.2.0
-L Attempts to log on just once, instead of
reprompting on error.
-M "<options>" Sets automatic HTML markup of output. The options
have the form:
HTML ON [HEAD text] [BODY text] [TABLE text]
[ENTMAP {ON|OFF}] [SPOOL {ON|OFF}] [PRE[FORMAT] ON]
-R <level> Sets restricted mode to disable SQL*Plus commands
that interact with the file system. The level can
be 1, 2 or 3. The most restrictive is -R 3 which
disables all user commands interacting with the
file system.
-S Sets silent mode which suppresses the display of
the SQL*Plus banner, prompts, and echoing of
commands.
<logon> is: {<username>[<password>][@<connect_identifier>] | / }
[AS {SYSDBA | SYSOPER | SYSASM}] [EDITION=value]
Specifies the database account username, password and connect
identifier for the database connection. Without a connect
identifier, SQL*Plus connects to the default database.
The AS SYSDBA, AS SYSOPER and AS SYSASM options are database
administration privileges.
<connect_identifier> can be in the form of Net Service Name
or Easy Connect.
@[<net_service_name> | [/]Host[:Port]/<service_name>]
<net_service_name> is a simple name for a service that resolves
to a connect descriptor.
Example: Connect to database using Net Service Name and the
database net service name is ORCL.
sqlplus myusername/mypassword@ORCL
Host specifies the host name or IP address of the database
server computer.
Port specifies the listening port on the database server.
<service_name> specifies the service name of the database you
want to access.
Example: Connect to database using Easy Connect and the
Service name is ORCL.
sqlplus myusername/mypassword@Host/ORCL
The /NOLOG option starts SQL*Plus without connecting to a
database.
The EDITION specifies the value for Session Edition.
<start> is: @<URL>|<filename>[.<ext>] [<parameter> ...]
Runs the specified SQL*Plus script from a web server (URL) or the
local file system (filename.ext) with specified parameters that
will be assigned to substitution variables in the script.
When SQL*Plus starts, and after CONNECT commands, the site profile
(e.g. $ORACLE_HOME/sqlplus/admin/glogin.sql) and the user profile
(e.g. login.sql in the working directory) are run. The files may
contain SQL*Plus commands.
Refer to the SQL*Plus User's Guide and Reference for more information.
C:\Users\Rami>
Maybe you are looking for
-
Hiding the port number from the url
Hi All, In our applications built using Weblogic Portal 10.3, the url to access the application doesnt have the port number. It is simply like http://<server-name>/<context> no port at all. Is this some configuration that is available inside weblogic
-
How to download Acrobat 6.0 Standard onto Windows 8? [was: Question]
I have a 6.0 Standard version which I am attempting to install on my new computer which has Windows 8. It will not download. Any known issues? It does not recognize it at all.
-
Components getting distorted when the JFrame application is minimized
Hello, I have developed a GUI application using Net Beans, the JFrame has a panel which has a JButton, JTextField, image icon (using label) and few other label's, when i click the button the text fields, image icon, button relocate using setBounds fu
-
i have three macs... Do I need to buy 3 separate upgrades for lion at $29.99?
-
How to solve numeric or value error?
Hi, Im getting "ORA-06502: PL/SQL: numeric or value error: character to number conversion error" while executing the procedure with executeSQL method.Please help me with solutions. Thanks in advance