oracle-xe

Creating Multiple table in Oracle

落花浮王杯 提交于 2019-12-02 04:20:27
I am using Oracle Express 10g and I'm enter the following text to create 2 tables in the sql command line, but it is not working. CREATE TABLE student ( matric_no VARCHAR2(8), first_name VARCHAR2(20), last_name VARCHAR2(20), date_of_birth DATE ); CREATE TABLE student1 ( matric_no VARCHAR2(8), first_name VARCHAR2(20), last_name VARCHAR2(20), date_of_birth DATE ); Can anyone see what I am doing wrong. Thanks Codo By "command line" you probably mean the web application that comes with Oracle Express 10g. This application has several browser incompatibilities and is basically unable to execute

ORA-27101: shared memory realm does not exist

谁说胖子不能爱 提交于 2019-11-30 19:14:20
i am facing this error when i start the oracle. I checked Oracle Home and SID. everything is set properly. ORA-27101: shared memory realm does not exist please help me to find out the solution. Thanks in advance That error generally means there's no Oracle instance (the processes) to connect to. Someone needs to log in and start the instance. I've just resolved this issue on Debian. If ORACLE_HOME has a trailing slash, this error appears. If you remove the trailing slash, connection works fine. 来源: https://stackoverflow.com/questions/3302941/ora-27101-shared-memory-realm-does-not-exist

Oracle XE Database Configuration failed

元气小坏坏 提交于 2019-11-30 09:03:02
I am trying to create an oracle xe database in my vps. VPS OS : Cent OS. When try to run /etc/init.d/oracle-xe configure it throws an error Database confiration failed and to check the logs but logs just shows ORA-01034: ORACLE not available Below is the history... [root@vmcx-43 Disk1]# rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm Preparing... ########################################### [100%] /var/tmp/rpm-tmp.51363: line 186: bc: command not found 1:oracle-xe /var/tmp/rpm-tmp.51363: line 186: bc: command not fo und########################################### [100%] Executing post-install steps...

How to correctly set the ORACLE_HOME variable on Ubuntu 9.x?

帅比萌擦擦* 提交于 2019-11-29 20:35:16
I have the same problem as listed here: How to recover or change Oracle sysdba password although I did not lose the password, I entered it twice in the configure script originally, and then when I went to login (localhost:8080/apex, password not accepted. I don't have anything in the database, I just want to install and use Oracle-XE. I have tried apt-get removing it twice and reinstalling, but if I try to run /etc/init.d/oracle-xe configure again and I get "Oracle Database 10g Express Edition is already configured" despite the second time removing any folders I could find for Oracle XE. I

Oracle XE Database Configuration failed

别等时光非礼了梦想. 提交于 2019-11-29 13:59:53
问题 I am trying to create an oracle xe database in my vps. VPS OS : Cent OS. When try to run /etc/init.d/oracle-xe configure it throws an error Database confiration failed and to check the logs but logs just shows ORA-01034: ORACLE not available Below is the history... [root@vmcx-43 Disk1]# rpm -ivh oracle-xe-11.2.0-1.0.x86_64.rpm Preparing... ########################################### [100%] /var/tmp/rpm-tmp.51363: line 186: bc: command not found 1:oracle-xe /var/tmp/rpm-tmp.51363: line 186: bc

Oracle 10g express home page is not coming up

不问归期 提交于 2019-11-29 04:13:38
I installed Oracle 10g express. Installation went well, But the home page is not coming up. I can connect using sqlplus but not with Sql Developer. I checked tnsnames.ora and listener.ora everything looks fine. Listener is also started. I can always reinstall and see. But I thought better inquire the cause. Regarding the home page. This is the address that comes up in browser. Localhost:8080 http://127.0.0.1:8080/apex I did a netstat to see whether there is any port conflict for 8080, but that port is not in use. Have anybody faced this issue? Yes. It is practically a FAQ on the XE Oracle

How to correctly set the ORACLE_HOME variable on Ubuntu 9.x?

十年热恋 提交于 2019-11-28 16:38:40
问题 I have the same problem as listed here: How to recover or change Oracle sysdba password although I did not lose the password, I entered it twice in the configure script originally, and then when I went to login (localhost:8080/apex, password not accepted. I don't have anything in the database, I just want to install and use Oracle-XE. I have tried apt-get removing it twice and reinstalling, but if I try to run /etc/init.d/oracle-xe configure again and I get "Oracle Database 10g Express

Is there a way to install java on Oracle 11g XE?

℡╲_俬逩灬. 提交于 2019-11-28 10:17:39
I am using the database Oracle 11g Express Edition (XE) and when I try to create a java source object it returns me an error: ORA-29538: Java not installed The source code is simple: create or replace and compile java source named hello AS public class Hello { public static String hello() { return "Hello!"; } }; I found at Oracle's documentation that Oracle XE does not include Java. Does anybody know if it is possible to "install" Java on it ? No, Java support is not available in Oracle Database 11g Express Edition , and since the database itself does not have Java support, there is no way to

Create user from string variables in a PL/SQL block

天涯浪子 提交于 2019-11-28 02:06:36
I use Oracle XE for the sole purpose of developing PHP applications and version 11g has apparently lost the GUI tool to manage users which 10g used to have so I'd like to prepare a code snippet to create users from command line. I'm trying to define variables so I don't need to type the same user name 16 times but I can't get the syntax right: DECLARE my_user VARCHAR2(30) := 'foo'; my_password VARCHAR2(9) := '1234'; BEGIN CREATE USER my_user IDENTIFIED BY my_password DEFAULT TABLESPACE users; GRANT CONNECT, RESOURCE TO my_user; GRANT CREATE DATABASE LINK TO my_user; GRANT CREATE MATERIALIZED

URL string format for connecting to Oracle database with JDBC

可紊 提交于 2019-11-27 11:21:07
I'm a newbie to Java-related web development, and I can't seem to get a simple program with JDBC working. I'm using off-the-shelf Oracle 10g XE and the Eclipse EE IDE. From the books and web pages I've checked so far, I've narrowed the problem down to either an incorrectly written database URL or a missing JAR file. I'm getting the following error: java.sql.SQLException: No suitable driver found for jdbc:oracle://127.0.0.1:8080 with the following code: import java.sql.*; public class DatabaseTestOne { public static void main(String[] args) { String url = "jdbc:oracle://127.0.0.1:8080"; String