SQL Plus not working in Oracle 8i personal edition
I just installed Oracle 8i personal edition, went through all the steps. When I start SQL* Plus, I give it the SCOTT/TIGER combo, but when it tries to start up the database, it asks for another password, which I can't figurew out.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by John Meyer ([email protected]):
I just installed Oracle 8i personal edition, went through all the steps. When I start SQL* Plus, I give it the SCOTT/TIGER combo, but when it tries to start up the database, it asks for another password, which I can't figurew out.<HR></BLOCKQUOTE>
Fixed the problem yesterday.
null
Similar Messages
-
PL/SQL does not work in Oracle 8i Personal Edition
I just installed Oracle 8i Personal Edition for Win 98. Everything works perfectly, except the PL/SQL.
Then I tried to install Oracle 8i EM, but I always get the listener or adapter error. Even when I tried to start the listener from lsnrctl prompt, it gives me those errors. Anyone can help?You need use correct type when you create object.
Don't forget object in reality is a memory pointer,
so what if you don't allocate correct memory in creation,
you can't treat object as subtype.
And meanwhile, it doesn't depend on Oracle version -
your example doesn't work in 9.2.0.1 for example.
SQL> declare
2 super one_t;
3 sub two_t := two_t(1, sysdate);
4 begin
5 super := two_t(1, sysdate);
6 sub := treat(super as two_t);
7 dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
8 select treat(super as two_t) into sub from dual;
9 dbms_output.put_line('super ' || super.x || ' ' || super.y );
10 if sub is null then
11 dbms_output.put_line('stupid');
12 end if;
13 if sub is of (two_t) then
14 dbms_output.put_line('stupid');
15 end if;
16 end;
17 /
sub 1 08.06.05
super 1 08.06.05
stupid
 
PL/SQL procedure successfully completed.Rgds. -
Downcasting in Object PL/SQL Does not Work in Oracle 10g Enterprise Edition
create type one_t as object (
x number, y date ) not final
create type two_t under one_t()
set serverout on
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := new two_t(1, sysdate);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
The Other Piece Does not Even Compile
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := treat(super as two_t);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
subtype
ORA-06512: at line 6You need use correct type when you create object.
Don't forget object in reality is a memory pointer,
so what if you don't allocate correct memory in creation,
you can't treat object as subtype.
And meanwhile, it doesn't depend on Oracle version -
your example doesn't work in 9.2.0.1 for example.
SQL> declare
2 super one_t;
3 sub two_t := two_t(1, sysdate);
4 begin
5 super := two_t(1, sysdate);
6 sub := treat(super as two_t);
7 dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
8 select treat(super as two_t) into sub from dual;
9 dbms_output.put_line('super ' || super.x || ' ' || super.y );
10 if sub is null then
11 dbms_output.put_line('stupid');
12 end if;
13 if sub is of (two_t) then
14 dbms_output.put_line('stupid');
15 end if;
16 end;
17 /
sub 1 08.06.05
super 1 08.06.05
stupid
 
PL/SQL procedure successfully completed.Rgds. -
What will you do if any SQL is not working. in oracle 10g....apps 11.5.10.2
928714 wrote:
yes sir.If you help me in answering my questions i wll be very thankful to you sir.
tnx,I haven't a clue.
As you have been advised in many of your posts, go study the documentation for whichever specific topic you are interested in.
For me to answer your questions, I would need to go get that documentation.
Then I would need to read that documentation.
Then I would need to write a forum post that interprets what I think I learned from that documentation.
It is so very much faster if YOU go do that instead of posting to a forum and expecting others to do it. You will remember what you study for a lot longer time if you teach yourself. -
SQL*PLUS not work in JDeveloper 10.1.3
The Log message is :
Invoking SQL*Plus...
F:\oracle\ora92\bin\sqlplus.exe SCOTT@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SID=W2G)))
java.io.IOException: CreateProcess: START.EXE F:\oracle\ora92\bin\sqlplus.exe SCOTT@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))(CONNECT_DATA=(SID=W2G))) error=2
I need a help ! thanks .Hi,
This is a known issue (bug 4774715) on Windows 2003 and is due to the fact that START does not exist on that OS. It is currently fixed in the next release but I will open a bug and see if we can get the fix backported to a 10.1.3 patchset for you.
Regards,
Lisa
JDev QA -
SQL Plus not work with domain user
Hey guys,
have a problem with sql plus in our network. when i started it with the admin it works. but when i started it with a user account, fill in the username, the password and the host and click on the ok button, the window closes and nothing happen. no error no new window, the window simply closes.
what to do?
regardsHi,
There might be different reasons behind this.
Check whether user is created in database or not.
There might be possibility that, user is in different database.
SELECT * FROM V$DATABASE; --This will help you to findout database name.
SELECT * FROM DBA_USERS WHERE USERNAME = 'HR'; --HR is user present on database. If your user is present in database then user might not have connect privilege.
GRANT CONNECT , RESOURCE TO HR; --HR is user. To execute this command, login as sys You can also try to login with command prompt.
sqlplus user/password@host -
SQL file not working in Oracle
I cannot get all my tables to work in Oracle, can anyone see where i'm going wrong?
CREATE TABLE Property
(Property_Num CHAR (4) PRIMARY KEY,
Property_Address CHAR (25),
Property_City CHAR (15),
Property_State CHAR (2),
Property_Zip CHAR (5),
Property_Price DECIMAL (15,2),
Property_Type CHAR (15));
CREATE TABLE Owner
(Owner_Num CHAR (3) PRIMARY KEY,
Property_Num CHAR (4),
Owner_Name CHAR (15),
Owner_Telephone CHAR (15));
CREATE TABLE Inspection
(Inspection_Code CHAR (4) PRIMARY KEY,
Inspection_Type CHAR (20),
Inspection_Description CHAR (30),
Owner_Num CHAR (3),
Inspection_Date DATE (15));
CREATE TABLE Realtor
(Realtor_Num CHAR (2) PRIMARY KEY,
Inspection_Code CHAR (4),
Realtor_Name CHAR (30),
Realtor_Telephone CHAR (15));
INSERT INTO Property
VALUES ('0001', '245 Benner St', 'Philadelphia', 'PA', '19111', '152.000.00', 'Townhome');
INSERT INTO Property
VALUES ('0002', '327 Silver Ave', 'Willow Grove', 'PA', '19090', '260.000.00', 'Duplex');
INSERT INTO Property
VALUES ('0003', '9243 Treaty Rd', 'Philadelphia', 'PA', '19114', '190.000.00', 'Single Family');
INSERT INTO Property
VALUES ('0004', '225 Chestnut St', 'Philadelphia', 'PA', '19103', '245.000.00', 'Condo');
INSERT INTO Property
VALUES ('0005', '511 Franklin Ave', 'Cherry Hill', 'NJ', '08002', '225.000.00'', 'Single Family');
INSERT INTO Owner
VALUES ('101', '0001', 'John Smith', '267-333-4667');
INSERT INTO Owner
VALUES ('102', '0002', 'Joe Taylor', '215-657-2200');
INSERT INTO Owner
VALUES ('103', '0003', 'Debra Jones', '215-745-9087');
INSERT INTO Owner
VALUES ('104', '0004', 'Frank Martin', '267-457-9300');
INSERT INTO Owner
VALUES ('105', '0005', 'Drew Hunt', '856-908-3200');
INSERT INTO Inspection
VALUES ('1001', 'Pre-Listing Check', 'Passed all eight tests', '101', '2/16/10');
INSERT INTO Inspection
VALUES ('1002', 'Walk-In', 'Property up to date on requirements', '102', '3/11/10');
INSERT INTO Inspection
VALUES ('1003', 'Appointment', 'All checks upo to date', '103', '1/15/10');
INSERT INTO Inspection
VALUES ('1004', 'General Check', 'Property is in good shape to sell', '104', '3/14/10');
INSERT INTO Inspection
VALUES ('1005', 'Request', 'Everything requested is up to date', '105', '2/22/10');
INSERT INTO Realtor
VALUES ('01', '1001', 'Tim Simpson', '267-543-2267');
INSERT INTO Realtor
VALUES ('02', '1002', 'Bill Bradley', '215-754-2330');
INSERT INTO Realtor
VALUES ('03', '1003', 'Phil Harris', '215-742-6687');
INSERT INTO Realtor
VALUES ('04', '1004', 'Sam Brown', '267-277-5500');
INSERT INTO Realtor
VALUES ('05', '1005', 'April Young', '856-228-3550');I changed everything, can someone please check these tables in Oracle. I am in school with no access to Oracle.
CREATE TABLE Property
(Property_Num CHAR (4) PRIMARY KEY,
Property_Address CHAR (25),
Property_City CHAR (15),
Property_State CHAR (2),
Property_Zip CHAR (5),
Property_Price DECIMAL (15,2),
Property_Type CHAR (15));
CREATE TABLE Owner
(Owner_Num CHAR (3) PRIMARY KEY,
Property_Num CHAR (4),
Owner_Name CHAR (15),
Owner_Telephone CHAR (15));
CREATE TABLE Inspection
(Inspection_Code CHAR (4) PRIMARY KEY,
Inspection_Type CHAR (20),
Inspection_Description CHAR (40),
Owner_Num CHAR (3),
Inspection_Date DATE );
CREATE TABLE Realtor
(Realtor_Num CHAR (2) PRIMARY KEY,
Inspection_Code CHAR (4),
Realtor_Name CHAR (30),
Realtor_Telephone CHAR (15));
INSERT INTO Property
VALUES ('0001', '245 Benner St', 'Philadelphia', 'PA', '19111', 152.00, 'Townhome');
INSERT INTO Property
VALUES ('0002', '327 Silver Ave', 'Willow Grove', 'PA', '19090', 260.00, 'Duplex');
INSERT INTO Property
VALUES ('0003', '9243 Treaty Rd', 'Philadelphia', 'PA', '19114', 190.00, 'Single Family');
INSERT INTO Property
VALUES ('0004', '225 Chestnut St', 'Philadelphia', 'PA', '19103', 245.00, 'Condo');
INSERT INTO Property
VALUES ('0005', '511 Franklin Ave', 'Cherry Hill', 'NJ', '08002', 225.00, 'Single Family');
INSERT INTO Owner
VALUES ('101', '0001', 'John Smith', '267-333-4667');
INSERT INTO Owner
VALUES ('102', '0002', 'Joe Taylor', '215-657-2200');
INSERT INTO Owner
VALUES ('103', '0003', 'Debra Jones', '215-745-9087');
INSERT INTO Owner
VALUES ('104', '0004', 'Frank Martin', '267-457-9300');
INSERT INTO Owner
VALUES ('105', '0005', 'Drew Hunt', '856-908-3200');
INSERT INTO Inspection
VALUES ('1001', 'Pre-Listing Check', 'Passed all eight tests', '101', to_Date('2/16/10','mm/dd/yyyy'));
INSERT INTO Inspection
VALUES ('1002', 'Walk-In', 'Property up to date on requirements', '102', to_Date('3/11/10','mm/dd/yyyy'));
INSERT INTO Inspection
VALUES ('1003', 'Appointment', 'All checks upo to date', '103', to_Date('1/15/10','mm/dd/yyyy'));
INSERT INTO Inspection
VALUES ('1004', 'General Check', 'Property is in good shape to sell', '104', to_date('3/14/10','mm/dd/yyyy'));
INSERT INTO Inspection
VALUES ('1005', 'Request', 'Everything requested is up to date', '105', to_date('2/22/10','mm/dd/yyyy'));
INSERT INTO Realtor
VALUES ('01', '1001', 'Tim Simpson', '267-543-2267');
INSERT INTO Realtor
VALUES ('02', '1002', 'Bill Bradley', '215-754-2330');
INSERT INTO Realtor
VALUES ('03', '1003', 'Phil Harris', '215-742-6687');
INSERT INTO Realtor
VALUES ('04', '1004', 'Sam Brown', '267-277-5500');
INSERT INTO Realtor
VALUES ('05', '1005', 'April Young', '856-228-3550'); -
Downcasting In Object PL/SQL Does not Work in Oracle 10g 10.1.0.2
create type one_t as object (
x number, y date ) not final
create type two_t under one_t()
set serverout on
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := new two_t(1, sysdate);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
The Other Piece Does not Even Compile
declare
super one_t;
sub two_t := two_t(1, sysdate);
begin
super := one_t(1, sysdate);
sub := treat(super as two_t);
dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
select treat(super as two_t) into sub from dual;
dbms_output.put_line('super ' || super.x || ' ' || super.y );
if sub is null then
dbms_output.put_line('stupid');
end if;
if sub is of (two_t) then
dbms_output.put_line('stupid');
end if;
end;
ORA-06502: PL/SQL: numeric or value error: cannot assign supertype instance to
subtype
ORA-06512: at line 6You need use correct type when you create object.
Don't forget object in reality is a memory pointer,
so what if you don't allocate correct memory in creation,
you can't treat object as subtype.
And meanwhile, it doesn't depend on Oracle version -
your example doesn't work in 9.2.0.1 for example.
SQL> declare
2 super one_t;
3 sub two_t := two_t(1, sysdate);
4 begin
5 super := two_t(1, sysdate);
6 sub := treat(super as two_t);
7 dbms_output.put_line('sub ' || sub.x || ' ' || sub.y );
8 select treat(super as two_t) into sub from dual;
9 dbms_output.put_line('super ' || super.x || ' ' || super.y );
10 if sub is null then
11 dbms_output.put_line('stupid');
12 end if;
13 if sub is of (two_t) then
14 dbms_output.put_line('stupid');
15 end if;
16 end;
17 /
sub 1 08.06.05
super 1 08.06.05
stupid
 
PL/SQL procedure successfully completed.Rgds. -
How to find GUI SQL*Plus command tool in Oracle 8i (version 8.1.7)
I had installed Oracel 8i Enterprise Edition (version 8.1.7) on my server machine (Windows NT 4.0), I'd like to use Oracle Navigator (GUI SQL*PLUS command tool), but I can not find it from the menu. I know Oracle Navigator is available in Oracle 7. Can anyone tell me where and how to use GUI SQL*PLUS command tool in Oracle 8i Enterprise Edition (version 8.1.7) ?
thanks a lot.
David ZhuHi
Oracle Navigator is part of Personal Oracle7 and Oracle Lite. I don't know is it available in 8i Personal Edition but I am sure that it is not part of Standard and Enterprise Edition.
Regards
null -
How to use log in to Oracle 8i personal edition SQL Plus?
Hi, this is my first time using Oracle 8i personal edition. But after installation, I was told to enter
User Name, password and host string in order to use SQL Plus
But I have no idea what to enter for the above three
By the way, I was prompted with the following message after installation,
Global Database Name: Oracle
SID : Oracle
Password : ******
database name : People
system identifier : People
system account : managerhi to connect to SQL plus write the following:
user name: scott
password : tiger
host string : leave it empty if it requires again then write orcl
bye -
Select * from tab is not working in oracle 10g
select * from tab is not working in oracle 10g. But at the same time,
select * from <<table>> is working.
Please advise me.This works for me in 10.2.0.2
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
SQL> select * from tab;
TNAME TABTYPE CLUSTERID
LOAN_DETAIL TABLE
PLAN_TABLE TABLE
... -
Runtime.exec() in Java not working in Oracle 10 Application Server
Hi ,
I am trying to call a .exe file which is in the Web Application folder .
I am Using Process p = Runtime.exec("path to .exe file ")
This code is working fine when used with JBOSS , but not working with Oracle Application server .
Please tell me whether i need to do any chnages to make it work
Thanks in advance .I ran a quick test with your code, I just had to make some small changes, and things work for me...
I'm testing with JDeveloper 10g 10.1.3.2.0 ...
The only thing I wonder is DBUser DBPass DBHost, those are not the actual values, correct?, neither they are environment variables?...
In the server hosting your OAS, you should try running the whole CMD line from the start/run dialog ... make sure it works in that server ...
Here is the code used in my test:
In JSP:
<%@ page import="runexepkg.*" %>
<%
String msg = "";
try
RunEXE p = new RunEXE();
msg = p.main1();
catch(Throwable t)
System.out.println("Exception Raised");
t.printStackTrace();
%>
<%= msg %>In Java Class:
package runexepkg;
import java.sql.*;
public class RunEXE
String ss="";
public String main1()
try
Runtime rt=Runtime.getRuntime();
Process p = rt.exec("CMD /C start C:\\oraappserver\\j2ee\\WebGis\\applications\\PowerGis\\web\\WEB-INF\\classes\\GisProject\\cust_data_1.exe DBUser DBPass DBHost");
System.out.println("Command has been executed");
Class.forName("oracle.jdbc.driver.OracleDriver");
Connection con = DriverManager.getConnection("jdbc:oracle:thin:@DBHost:DBPort:orcl","DBUser","DBPass");
System.out.println("Test Connection ========== "+con);
Statement st = con.createStatement();
ResultSet rs = st.executeQuery("SELECT SYSDATE FROM DUAL");
if(rs.next())
ss="Command has been executed - Database has been accessed";
else
ss="Command has been executed - Database was not accessed";
catch(Throwable t)
System.out.println("Exception raised, command has NOT been executed");
ss="Exception raised, command has NOT been executed";
t.printStackTrace();
return ss;
}Edited by: Rodolfo Ferrari on Jul 23, 2009 10:40 PM -
Triggers not working in Oracle 9iAS
The form triggers are not working in oracle 9i AS.
My Application server has Linux operating system with oracle form/report server installed. I am able to upload the form
in the client machine (using Internet Explorer Win98 OS). Also i can feed in the data but none of my triggers are working (WHEN BUTTON PRESSED and other validation triggers).
Can anyone suggest what to do pls.
Tnks in advance
Rgds
Manoj Philip
[email protected]Well we've tested on Linux and the trigger do work - I remember two other postings on this forumn from prople with the same problem:
Re: SQL Developer Necessities
Re: About EXPLAIN PLAN table
In one case the problem was not re-compiling using f90genm.sh, in the other it was something to do with the Machine setup but I don't know what the final resolution was.
The only other thing is to make sure that you are on a certified linux release for using with iAS e.g. Redhat Server 2.1 and Suse Enterprise server 7 and Untited Linux
You can check the current certifications on Metalink.oracle.com -
I have a query in 8i that sums the pages entered into a database by month as follows:
SELECT DISTINCT c.study
, DECODE(r.pass_one_by, NULL, SUBSTR(s.entered_by, 5), SUBSTR(r.pass_one_by, 5)) p1_by
,SUM(DECODE(TO_CHAR(TRUNC(r.pass_one_ts),'MON'),'JAN',1,NULL,DECODE(TO_CHAR(TRUNC(s.received_dci_entry_ts),'MON'),'JAN',1),0)) JAN
,SUM(DECODE(TO_CHAR(TRUNC(r.pass_one_ts),'MON'),'FEB',1,NULL,DECODE(TO_CHAR(TRUNC(s.received_dci_entry_ts),'MON'),'FEB',1),0)) FEB
--- etc
FROM received_dcms r, received_dcis s, clinical_studies c
WHERE r.clinical_study_id = s.clinical_study_id
AND s.clinical_study_id = c.clinical_study_id
AND r.document_number = s.document_number
---other obvious joins
I need the received_dcis table to capture information for blank pages, but this table is heavily used (updated) and the report hangs when it's included. In fact, the Windows Task Manager say that SQL*Plus is "Not Responding". Is there any way around this?
Thanks,
DaneHi!
Quite possible SQL*Plus is working fine, but the problem is with the query itself. When running the report check v$session, v$sql & v$sess_io views. If v$sess_io reports changing consistent_gets & physical_reads, then your query is reading data. Check explain plan, run tkprof, etc. and make sure that query is properly tuned and used best execution plan possible.
Regards,
Andrew Velitchko
BrainBench MVP for Developer/2000
http://www.brainbench.com -
Which version of SQL*Plus can connect to Oracle 8i Database?
Which version of SQL*Plus can connect to Oracle 8i Database?
I would like to know which version of SQL*Plus can connect to Oracle 8i Database?
Where can I download it?
(I have tried SQL*Plus version 11 and the program said it does not support the connection to Oracle 8i Database)
Thank you very much!By the way, what's your 8i database release version
SQL> select * from v$version;
Any SQL*Plus of 8i can connect to 8i Database.
Only SQL*Plus of 9.0.1 can connect to 8.1.7 and 8.1.6 Database
Only SQL*Plus of 10.1.0/10.2.0 can connect to 8.1.7 Database
Absolutely NO SQL*Plus of 11g can connect 8i databases
Regards,
Sabdar Syed,
Maybe you are looking for
-
Issue Receipt for Down Payment
I have a requirement to issue a receipt after receiving cash for a downpayment. The current process is to issue a down payment request F-37 - when cash is received it is posted using F-29 the system automatically books the output tax payable. I need
-
JATO 2.0 Licensing for Sun ONE Studio 4 Update 1 EE
I have a serial number for Sun ONE Studio 4 EE which I'm also able to use for Sun ONE Studio 4 Update 1 EE. I downloaded JATO 2.0 as offered in the Studio Update Center. It asked for a serial number so I tried my Studio serial number but it didn't wo
-
Logging Problems on CSS11503 - please help
Hi, 1 of our CSS11503 is not functioning properly. Our ITO system is receiving "server down" messages for services but the "server up" message is not coming through. We have 2 load balancers with identical config, the only difference I can see in the
-
Calling CTX_DDL.SYNC_INDEX Package but reflected
Hi All, I have a table Customer_Tif_Detail which is having 9383428 rows: select count(*) from Customer_Tif_Detail; COUNT(*) 9383428 And I have a query which taking too much time to execute, below is teh query: Select ZIP_STATUS From Customer_Tif_D
-
EWM with QM -Inspection label not getting printed after usage decision
Hi Experts, We checked configuration settings related to this but we could not find missing configuration. Right now we are not able to print label after we take usage decision. Please let us know your inputs on this. We are using /SCWM/QINSP for usa