Using UTL file in 10g Express Edition
Hi,
I have the 10g express edition and am trying to use the utl_file package.
I have a sample script from the pl/sql oracle course that i am using to get to grips with it, however on running it i get the following error message
4/14 PL/SQL: Item ignored
4/14 PLS-00201: identifier 'UTL_FILE' must be declared
the script is copied to the letter so i know its correct.
I have added the line "UTL_FILE_DIR=*" to the init.ora file.
I have seen some other posts that suggest its not supported on the 10gXE edition.
Is this true?? If not, how can i get it work?
Thanks in advance.
Really?? cool. How do i grant privieges to it.
I have tried grant execute on utl_file and i get the no table error.
am assuming its a different syntax?
G
Similar Messages
-
Using JDeveloper with Oracle 10g Express Edition
Hi,
can JDeveloper 11g 11.1.1.4.0 Studio Edition be used to develop applications connection with Oracle 10g Express Edition?
If not, is there a version downloadable that can?
TIAYes, it can.
John -
No '.trc' file created using SQL_TRACE in 10g Express Edition
Hi All - am attempting to create a trace file on my PC using 10g Express Edition under the HR account.
After using alter session set SQL_TRACE = TRUE, I can check the database parameters:
select name,value from sys.v_$parameter where name in ('sql_trace','timed_statistics','max_dump_file_size','user_dump_dest','_rowsource_execution_statistics')
TRUE
C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP
UNLIMITED
TRUE
TRUE
However, if I attempt to run any database query, e.g.
select a.employee_id,a.first_name,a.last_name,a.job_id
from employees a, jobs b
where a.last_name like 'S%'
and a.job_id = b.job_id;
, the query runs fine but no .trc file is created within C:\ORACLEXE\APP\ORACLE\ADMIN\XE\UDUMP, whether I then disable SQL_TRACE or not.
The only trace files created here appear to be when my PC starts up.
I've granted full control to that directory via Windows to all accounts so write permissions should not be an issue, and I can save files to this directory via windows.
Extremely frustrating - any ideas why?
Much appreciate any assistance with this.
MikeWell, I don't appear to have a context menu, I just have 5 options after logging into Express Edition - Administration, Object Browser (a poor man's TOAD), SQL which leads to SQL Scripts, commands and query builder (I use commands), Utilities and Application Builder.
As an aside, I have created an explain plan table in the HR schema as well as running plustrce as SYS and granting the plustrace role to HR with the admin option (this was done in an attempt to use AUTOTRACE). Autotrace itself does not work - if I attempt to 'set autotrace on' within XE SQL Commands under the HR account I get ORA-00922: missing or invalid option.
Appreciate this is another issue other than the failure of TRC file creation but I suspect XE does not behave as a standard Oracle set up. Well, not for me at least anyway !!
Appreciate your time on this. -
How to connect to ORACLE 10g Express Edition using struts?
HI! There
I am using Oracle Jdeveloper as IDE, JBoss as application server, Oracle 10G Express edition as DBMS. As I am new to Struts & Jboss, so Can anybody tell me that How to connect to Database? Please also give Struts-config.xml datasource config too.
If someone can give a set of codes to enter and retrieve the data to/from database it will be really help full for me. Well connectivity with any version e.g. 9i, 10g, 10g XE will do......
ThanksWell I have already configure a datasource in struts-config.xml as Stated below:
<data-sources>
<data-source>
<set-property property="autoCommit" value="false"/>
<set-property property="description" value="Data Source Config. for SMS"/>
<set-property property="driverClass" value="oracle.jdbc.OracleDriver"/>
<set-property property="maxCount" value="4"/>
<set-property property="minCount" value="2"/>
<set-property property="password" value="password"/>
<set-property property="url" value="jdbc:oracle:thin:@127.0.0.1:1521:XE"/> <set-property property="user" value="sms"/>
</data-source>
</data-sources>
Now the Only problem That I am facing is how to look up this data source from a Java file of Model layer.
Please Guide me further -
Using Oracle Developer Suite 10g with the 10g Express Edition Database
I'm new to Oracle and I'm taking an SQL college level course using a text book entitled "Guide to Oracle 10g". Our text book came with Oracle Developer Suite 10g (9.0.4.0.1) but no database. We adopted the 10g Express Edition (XE) as the database. I have both the database and the Developer Suite loaded on Windows XP Pro. I've been using the database for months now and it runs fine and the Developer Suite installed OK.
However, I would like to use some of the Developer Suite apps (for learning purposes) with the database but I can't seem to log on to the database through the Developer apps when I open them and use my 10g XE database user-name and password. For starters, I would like to see if I could use the edition of SQLPlus (release 9.0.1.4.0) that comes with the Developer Suite because it has configuration options that are not available in the SQLPlus command line version that 10g XE contains (which otherwise works fine).
When I open SQLPlus (Developer Suite Version) and try to log on with my database user name and password (and no host string), I get the error:
ORA-12560: TNS:protocol adapter error
I did search the discussion forum first and also reviewed some Oracle pdf's including the concepts pdf but came up empty. I would greatly appreciate any suggestions on how to succeed or a determination of the compatibility of 10g XE with the Developer Suite. Thanks kindly.I think your last idea might be helpful at this point and in case it matters, they are both installed on a sinlge machine (laptop). Thanks in advance:
Here is the Developer Suite tnsnames.ora:
# TNSNAMES.ORA Network Configuration File: C:\DevSuiteHome\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = HOSTNAME)(PORT = 1521))
(CONNECT_DATA =
(SID = PLSExtProc)
Here is the 10G XE tnsnames.ora:
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = obw)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
) -
Oracle 10g express edition installation file corrupt?
Hi
I have now tried at least 5 times. I downloaded the beta Windows version of Oracle 10g express edition. The download is successful each time but every time I try to run the installer, it says "Error in installation file". Anybody else facing this problem?Hi,
Have you checked for any errors in log file....????
Can you connect via SQL*PLUS ... , for example...????
Regards,
Simon -
How to install Mini SAP using Oralce 10g Express Edition!
Hi Guys,
I am fresher in SAP and I want to install Mini SAP on my home desk-top for practicing ABAP, I will be grateful if anybody send`s me links for step-by-step installation guide and another question is, it is to install Mini SAP using Oracle 10g Express Edition?
Early response would be highly appreciated
Thanks in advance,
Reetesh
Edited by: Reetesh Tiwary on Jan 31, 2008 8:59 AMDear Andreas,
Thanks for your response!
SAPDB is in-built or I will have to install it seperately, If I will have to install it seperately from where I will get either of these maxdb or sapdb?
Thanks,
Reetesh -
How can I use firefox to access Oracle's 10g Express Edition Database script editor?
I have installed Oracle's 10g Express Edition (xe) Database in my computer, which is running Ubuntu 10.04 64-bit. I can access the database through the command line and by using the web interface on Firefox. However, the script editor doesn't work with Firefox. The scripts are not shown and I'm unable to edit them.
I have installed Oracle's 10g Express Edition (xe) Database in my computer, which is running Ubuntu 10.04 64-bit. I can access the database through the command line and by using the web interface on Firefox. However, the script editor doesn't work with Firefox. The scripts are not shown and I'm unable to edit them.
-
Not able to create partitions using Oracle 10g express edition
Hello Everyone,
I downloaded Oracle 10g express edition as the documentation for the same says that it supports partitioning of the table.
But when I try to run a command like
CREATE TABLE sales_range
(salesman_id NUMBER(5),
salesman_name VARCHAR2(30),
sales_amount NUMBER(10),
sales_date DATE)
PARTITION BY RANGE(sales_date)
PARTITION sales_jan2000 VALUES LESS THAN(TO_DATE('02/01/2000','DD/MM/YYYY')),
PARTITION sales_feb2000 VALUES LESS THAN(TO_DATE('03/01/2000','DD/MM/YYYY')),
PARTITION sales_mar2000 VALUES LESS THAN(TO_DATE('04/01/2000','DD/MM/YYYY')),
PARTITION sales_apr2000 VALUES LESS THAN(TO_DATE('05/01/2000','DD/MM/YYYY'))
I get the following error
"ORA-00439: feature not enabled: Partitioning"
Please let me know what is causing the issue/error and how to resolve it.
Thanks.Where did you read that the express edition supports partitioning? I would strongly suspect that there was an error in the documentation-- partitioning is an extra cost option on top of an enterprise edition database. Perhaps you are confusing the personal edition (which does support partitioning) with the express edition?
Justin -
Problem upgrading Apex 2.1 to 3.2.1 in Oracle Database 10g Express Edition
G'Day Apex gurus,
I installed Oracle Database 10g Express edition in my Windows XP PC which comes with Apex 2.1 with no problems. Then I wanted to upgrade Apex 2.1 to 3.2.1 (Currently Apex download in OTN) following the document below:
http://www.oracle.com/technology/products/database/application_express/html/3.1_and_xe.html
I went to the steps:
@apexins SYSAUX SYSAUX TEMP /i/
Then to change the password for the admin account run apxchpwd.sql and when prompted enter a password for the ADMIN account.
@apxchpwd
with not problems
Then I connected to SQL*Plus as SYS by:
sqlplus /nolog
CONNECT SYS as SYSDBA
Enter password: xxxxxxxxxxx
but when I tried to run:
@APEX_HOME/apex/apxldimg.sql APEX_HOME
where APEX_HOME is Apex3.2.1 in my case
SQL> @Apex3.2.1/apex/apxldimg.sql Apex3.2.1 (I get the messages below)
PL/SQL procedure successfully completed.
old 1: create directory APEX_IMAGES as '&1/apex/images'
new 1: create directory APEX_IMAGES as 'Apex3.2.1/apex/images'
Directory created.
declare
*+
ERROR at line 1:
ORA-22288: file or LOB operation FILEOPEN failed
The system cannot find the path specified.
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SYS.XMLTYPE", line 287
ORA-06512: at line 15
PL/SQL procedure successfully completed.
PL/SQL procedure successfully completed.
Commit complete.
timing for: Load Images
Elapsed: 00:00:00.17
Directory dropped.
Can anyone help me in how to trouble shout this?
I tried to continue by following the steps document
@APEX_HOME/apex/apxxepwd.sql password
(where password is the password of the Application Express internal ADMIN account)
but when I tried to login in:
http://localhost:8080/apex/f?p=4550:1
when I type the credentials
system
system
systempassword
nothing happens
or even If I try:
http://localhost:8080/apex/f?p=4550:10
admin
adminpassword
nothing happens here too.
I appreciate any help
Kind regards
CarlosMy database version is 10.2.0.1.0 Oracle express.
Operating system is Windows Vista.
I started installing using the following commands.
@ C:\temp\apex\apexins.sql
it prompts me for the values of sysaux sysaux temp and c:\temp\apex\images\
If I supply the value for images the sqlplus window closes after scrolling a lot of info.
Enroute it also prompts me for a value for 9:
I don't know what the input shall be.
Then it again stops at enter value for version:
I used 3.2.1.0
The window scrols a while and closes.
later I changed the password and ran the command.
@c:\temp\apex\apxldimg.sql c:\temp
but no success with installation.
the output is as following.
SQL*Plus: Release 10.2.0.1.0 - Production on Fri Nov 27 18:13:43 2009
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> connect system/sairam as sysdba;
Connected.
SQL> @ c:\temp\apex\apxchpwd
Enter a value below for the password for the Application Express ADMIN user.
Enter a password for the ADMIN user []
Session altered.
...changing password for ADMIN
wwv_flow_security.g_security_group_id := 10;
ERROR at line 3:
ORA-06550: line 3, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_SECURITY_GROUP_ID' must be declared
ORA-06550: line 3, column 5:
PL/SQL: Statement ignored
ORA-06550: line 4, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_USER' must be declared
ORA-06550: line 4, column 5:
PL/SQL: Statement ignored
ORA-06550: line 5, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
ORA-06550: line 5, column 5:
PL/SQL: Statement ignored
ORA-06550: line 8, column 23:
PL/SQL: ORA-00942: table or view does not exist
ORA-06550: line 7, column 15:
PL/SQL: SQL Statement ignored
ORA-06550: line 13, column 32:
PLS-00364: loop index variable 'C1' use is invalid
ORA-06550: line 12, column 9:
PL/SQL: Statement ignored
ORA-06550: line 19, column 5:
PLS-00201: identifier 'WWV_FLOW_SECURITY.G_IMPORT_IN_PROGRESS' must be declared
ORA-06550: line 19, column 5:
PL/SQL: Statement ignored
Commit complete.
SQL> @c:\temp\apex\apxldimg.sql c:\temp
PL/SQL procedure successfully completed.
Directory created.
if wwv_flow_utilities.db_version_is_at_least('11') then
ERROR at line 32:
ORA-06550: line 32, column 25:
PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
ORA-06550: line 32, column 3:
PL/SQL: Statement ignored
PL/SQL procedure successfully completed.
if wwv_flow_utilities.db_version_is_at_least('11') then --11g only
ERROR at line 16:
ORA-06550: line 16, column 25:
PLS-00302: component 'DB_VERSION_IS_AT_LEAST' must be declared
ORA-06550: line 16, column 3:
PL/SQL: Statement ignored
Commit complete.
timing for: Load Images
Elapsed: 00:00:00.32
Directory dropped.
SQL>
Does this require XE 11 or anything else.
This will happen even if I supply as following(closing of sqlplus in the begining).
@ C:\temp\apex\apexins.sql sysaux sysaux temp c:\temp\apex\images\
Any help. -
Oracle 10g Express edition,can't visit database homepage
I have installed Oracle 10g Express edition without error meggage, It seems goes well ,but when I want to visit my database_homepage on http://127.0.0.1:8080/apex, I see this:
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
Please try the following:
Click the Refresh button, or try again later.
Open the Web site home page, and then look for links to the information you want.
If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on the Web site home page.
10061 - Connection refused
Internet Security and Acceleration Server
Technical Information (for support personnel)
Background:
The server you are attempting to access has refused the connection with the gateway. This usually results from trying to connect to a service that is inactive on the server.
ISA Server: csscisaser
Via:
Oracle is installed on my own computer.I think ISA should do nothing with it.And I have removed proxy setting in Internet exploer,but the error still happed.
I used netstat-a,and can find this:
proto :tcp
local address: myxxxxxx:8080
foreign address myxxxxxx:0
state : listening
does it mean my oracle http listener is started?Open a command line and
- enter ping 127.0.0.1 ... should tell whether
connectivity is possible. If not, something is
blocking, and that something is usually a firewall.ping 127.0.0.1. I can connect to 127.0.0.1,very fast.but when I ping 127.0.0.1:8080 ,Can't get response.
enter ipconfig /all
enter and post output of lsnrctl status
There are so many output content.And you may see some #^$*#*&^$#@&* because I'm using Chinese version Oracle and OS.
IPconfig
Windows IP Configuration
Host Name . . . . . . . . . . . . : cjis-e89f34e63f
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : xxxx.wan
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . : xxxx.wan
Description . . . . . . . . . . . : Broadcom NetXtreme 57xx
roller
Physical Address. . . . . . . . . : xx-13-72-7D-67-8B
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 172.18.9.30
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.18.9.252
DHCP Server . . . . . . . . . . . : 172.18.18.9
DNS Servers . . . . . . . . . . . : 172.18.18.9
Primary WINS Server . . . . . . . : 172.18.18.9
Lease Obtained. . . . . . . . . . : 2007年7月16日 15:51:15
Lease Expires . . . . . . . . . . : 2007年7月24日 15:51:15
LSNRCTL status
正在连接到 (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
LISTENER 的 STATUS
别名 LISTENER
版本 TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Prod
ction
启动日期 20-7月 -2007 11:19:13
正常运行时间 0 天 2 小时 17 分 10 秒
跟踪级别 off
安全性 ON: Local OS Authentication
SNMP OFF
默认服务 XE
监听程序参数文件 C:\oraclexe\app\oracle\product\10.2.0\server\network\
dmin\listener.ora
监听程序日志文件 C:\oraclexe\app\oracle\product\10.2.0\server\network\
og\listener.log
监听端点概要...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cjis-e89f34e63f)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8080))(Presentation
HTTP)(Session=RAW))
服务摘要..
服务 "CLRExtProc" 包含 1 个例程。
例程 "CLRExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
服务 "PLSExtProc" 包含 1 个例程。
例程 "PLSExtProc", 状态 UNKNOWN, 包含此服务的 1 个处理程序...
服务 "XEXDB" 包含 1 个例程。
例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
服务 "XE_XPT" 包含 1 个例程。
例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
服务 "xe" 包含 1 个例程。
例程 "xe", 状态 READY, 包含此服务的 1 个处理程序...
['/pre']
Display contents of
C:\windows\system32\drivers\etc\hosts.['pre']
# Copyright (c) 1993-1999 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
127.0.0.1 localhostMessage was edited by:
sailfish83 -
Oracle 10g Express Edition, Installation Problem
After run
# /etc/init.d/oracle-xe configure
Oracle Database 10g Express Edition Configuration-------------------------------------------------This will configure on-boot properties of Oracle Database 10g ExpressEdition. The following questions will determine whether the database shouldbe starting upon system boot, the ports it will use, and the passwords thatwill be used for database accounts. Press <Enter> to accept the defaults.Ctrl-C will abort.
Specify the HTTP port that will be used for HTML DB [8080]:8080
Specify a port that will be used for the database listener [1521]:1521
Specify a password to be used for database accounts. Note that the samepassword will be used for SYS, SYSTEM and FLOWS_020100. Oracle recommendsthe use of different passwords for each database account. This can be doneafter initial configuration:Confirm the password:
Do you want Oracle Database 10g Express Edition to be started on boot (y/n) [y]:y
Configuring Database...Starting Oracle Net Listener.Starting Oracle Net Listener.Starting Oracle Database 10g Express Edition Instance.
//error msg gos here
Failed to start Oracle
Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
in the orcale-xe service, some message shows:
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/lsnrctl: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
OS: Linux RH9
is that glibc version's problem? mine is glibc_2.3.2
how to make it?
thank u .Hello,
I have the same problem on RH9.
[root@phpsrv init.d]# ./oracle-xe start
Starting Oracle Net Listener.
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/lsnrctl: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
Starting Oracle Database 10g Express Edition Instance.
/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus: relocation error: /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/../lib/libclntsh.so.10.1: symbol semtimedop, version GLIBC_2.3.3 not defined in file libc.so.6 with link time reference
Failed to start Oracle Net Listener using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/tnslsnr and Oracle Express Database using /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/bin/sqlplus.
Regards,
Pavel Kucera -
Oracle 11g client / oracle 10g express edition in one computer
Hi All,
I already have Oracle 11g Client installed in my computer. I wanted to Install Oracle 10g Express Edition in the same computer. So that I shall work with that even when I am not in the network. My Question is : Will installing both of 11g Client and 10g XE will cause conflict in my computer or is it ok to install both. Any suggestion/information is appreciated.
Regards,
RRRHi,
i have installed oracle oraclient11g_home1, want to know the changes in tnsnames.ora.
below tnsnames.ora file got created after installation. I dont know
CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
<alias>= [ (DESCRIPTION_LIST = # Optional depending on whether u have
# one or more descriptions
# If there is just one description, unnecessary ]
(DESCRIPTION=
[ (SDU=2048) ] # Optional, defaults to 2048
# Can take values between 512 and 32K
[ (ADDRESS_LIST= # Optional depending on whether u have
# one or more addresses
# If there is just one address, unnecessary ]
(ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=tcp)
(HOST=<hostname>)
(PORT=<portnumber (1521 is a standard port used)>)
[ (ADDRESS=
(PROTOCOL=ipc)
(KEY=<ipckey (PNPKEY is a standard key used)>)
[ (ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=decnet)
(NODE=<nodename>)
(OBJECT=<objectname>)
... # More addresses
[ ) ] # Optional depending on whether ADDRESS_LIST is used or not
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
[ (SOURCE_ROUTE=yes) ]
(DESCRIPTION=
[ (SDU=2048) ] # Optional, defaults to 2048
# Can take values between 512 and 32K
[ (ADDRESS_LIST= ] # Optional depending on whether u have more
# than one address or not
# If there is just one address, unnecessary
(ADDRESS
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=tcp)
(HOST=<>)
(PORT=<1521>)
[ (ADDRESS=
(PROTOCOL=ipc)
(KEY=<ipckey (PNPKEY is a standard key used)>)
... # More addresses
[ ) ] # Optional depending on whether ADDRESS_LIST
# is being used
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
[ (SOURCE_ROUTE=yes) ]
[ (CONNECT_DATA=
(SID=<oracle_sid>)
[ (GLOBAL_NAME=<global_database_name>) ]
... # More descriptions
[ ) ] # Optional depending on whether DESCRIPTION_LIST is used or not -
Oracle 10g Express Edition installation problem in windowsXP
while installing the Oracle 10g Express Edition in windows XP ,
it is showing an error like this ,
the cabinet file 'Data1.cab' required for this installation is corrupt and cannot be used. This could indicate a network error.
If anybody knows solution to this problem plz mail me to this email id
[email protected]I think you should probably download the file again, it might be corrupt.
~Jer -
How get scott user database schema in oracle 10g express edition
hi
plz any on can tell me how to get the scott user database table details into the oracle 10g express edition
Iam created the user as scott but but i didn't get the table details
...plz give me the details correctly.You will go into this path C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. You can get scott.sql script yhen you need to run the script like @C:\oraclexe\app\oracle\product\11.2.0\server\rdbms\admin\scott.sql. Otherwise you just copy the below script and save it into one file then run that file using @
Rem Copyright (c) 1990 by Oracle Corporation
Rem NAME
REM UTLSAMPL.SQL
Rem FUNCTION
Rem NOTES
Rem MODIFIED
Rem gdudey 06/28/95 - Modified for desktop seed database
Rem glumpkin 10/21/92 - Renamed from SQLBLD.SQL
Rem blinden 07/27/92 - Added primary and foreign keys to EMP and DEPT
Rem rlim 04/29/91 - change char to varchar2
Rem mmoore 04/08/91 - use unlimited tablespace priv
Rem pritto 04/04/91 - change SYSDATE to 13-JUL-87
Rem Mendels 12/07/90 - bug 30123;add to_date calls so language independent
Rem
rem
rem $Header: utlsampl.sql 7020100.1 94/09/23 22:14:24 cli Generic<base> $ sqlbld.sql
rem
SET TERMOUT OFF
SET ECHO OFF
rem CONGDON Invoked in RDBMS at build time. 29-DEC-1988
rem OATES: Created: 16-Feb-83
GRANT CONNECT,RESOURCE,UNLIMITED TABLESPACE TO SCOTT IDENTIFIED BY TIGER;
ALTER USER SCOTT DEFAULT TABLESPACE USERS;
ALTER USER SCOTT TEMPORARY TABLESPACE TEMP;
CONNECT SCOTT/TIGER
DROP TABLE DEPT;
CREATE TABLE DEPT
(DEPTNO NUMBER(2) CONSTRAINT PK_DEPT PRIMARY KEY,
DNAME VARCHAR2(14) ,
LOC VARCHAR2(13) ) ;
DROP TABLE EMP;
CREATE TABLE EMP
(EMPNO NUMBER(4) CONSTRAINT PK_EMP PRIMARY KEY,
ENAME VARCHAR2(10),
JOB VARCHAR2(9),
MGR NUMBER(4),
HIREDATE DATE,
SAL NUMBER(7,2),
COMM NUMBER(7,2),
DEPTNO NUMBER(2) CONSTRAINT FK_DEPTNO REFERENCES DEPT);
INSERT INTO DEPT VALUES
(10,'ACCOUNTING','NEW YORK');
INSERT INTO DEPT VALUES (20,'RESEARCH','DALLAS');
INSERT INTO DEPT VALUES
(30,'SALES','CHICAGO');
INSERT INTO DEPT VALUES
(40,'OPERATIONS','BOSTON');
INSERT INTO EMP VALUES
(7369,'SMITH','CLERK',7902,to_date('17-12-1980','dd-mm-yyyy'),800,NULL,20);
INSERT INTO EMP VALUES
(7499,'ALLEN','SALESMAN',7698,to_date('20-2-1981','dd-mm-yyyy'),1600,300,30);
INSERT INTO EMP VALUES
(7521,'WARD','SALESMAN',7698,to_date('22-2-1981','dd-mm-yyyy'),1250,500,30);
INSERT INTO EMP VALUES
(7566,'JONES','MANAGER',7839,to_date('2-4-1981','dd-mm-yyyy'),2975,NULL,20);
INSERT INTO EMP VALUES
(7654,'MARTIN','SALESMAN',7698,to_date('28-9-1981','dd-mm-yyyy'),1250,1400,30);
INSERT INTO EMP VALUES
(7698,'BLAKE','MANAGER',7839,to_date('1-5-1981','dd-mm-yyyy'),2850,NULL,30);
INSERT INTO EMP VALUES
(7782,'CLARK','MANAGER',7839,to_date('9-6-1981','dd-mm-yyyy'),2450,NULL,10);
INSERT INTO EMP VALUES
(7788,'SCOTT','ANALYST',7566,to_date('13-JUL-87')-85,3000,NULL,20);
INSERT INTO EMP VALUES
(7839,'KING','PRESIDENT',NULL,to_date('17-11-1981','dd-mm-yyyy'),5000,NULL,10);
INSERT INTO EMP VALUES
(7844,'TURNER','SALESMAN',7698,to_date('8-9-1981','dd-mm-yyyy'),1500,0,30);
INSERT INTO EMP VALUES
(7876,'ADAMS','CLERK',7788,to_date('13-JUL-87')-51,1100,NULL,20);
INSERT INTO EMP VALUES
(7900,'JAMES','CLERK',7698,to_date('3-12-1981','dd-mm-yyyy'),950,NULL,30);
INSERT INTO EMP VALUES
(7902,'FORD','ANALYST',7566,to_date('3-12-1981','dd-mm-yyyy'),3000,NULL,20);
INSERT INTO EMP VALUES
(7934,'MILLER','CLERK',7782,to_date('23-1-1982','dd-mm-yyyy'),1300,NULL,10);
DROP TABLE BONUS;
CREATE TABLE BONUS
ENAME VARCHAR2(10) ,
JOB VARCHAR2(9) ,
SAL NUMBER,
COMM NUMBER
DROP TABLE SALGRADE;
CREATE TABLE SALGRADE
( GRADE NUMBER,
LOSAL NUMBER,
HISAL NUMBER );
INSERT INTO SALGRADE VALUES (1,700,1200);
INSERT INTO SALGRADE VALUES (2,1201,1400);
INSERT INTO SALGRADE VALUES (3,1401,2000);
INSERT INTO SALGRADE VALUES (4,2001,3000);
INSERT INTO SALGRADE VALUES (5,3001,9999);
COMMIT;
SET TERMOUT ON
SET ECHO ON
Maybe you are looking for
-
I play a game on facebook. It freezes then it says its crashed.
-
WS-C6509-E, SUP2T, Microflow Policing drops not visible
Hello all, We had problems with voice quality recently. The issue was with local calls between analog and IP phone or between analog phones (each connected to different voice GW) while crackling was heard only on IP phone. It all pointed to QoS since
-
Hi All, How can we budget for a cost center. We want the system to stop on 95% of budget(cost center). At 95 % system should give an warning message that "budget is almost exhusted" and at 99% an error message. How can we do this in the system. Do r
-
[svn:osmf:] 13602: Update build-config files for sample apps.
Revision: 13602 Revision: 13602 Author: [email protected] Date: 2010-01-18 17:08:30 -0800 (Mon, 18 Jan 2010) Log Message: Update build-config files for sample apps. Modified Paths: osmf/trunk/apps/samples/framework/DynamicStreamingSample/Dy
-
Hi all, uing this code i will get all the billed contracts , now i want first bill of billing how i will get,plz help me DATA: BEGIN OF t_vbrkp OCCURS 0, vbeln LIKE vbrk-vbeln, erdat LIKE vbrk-erdat, vkorg LIKE vbrk-vkorg,