SAVEPOINT errors in oracle database 10g express edition - oracle

Whenever I use SAVEPOINT in Oracle Database 10g Express Edition it gives me errors continuously either I use "SAVEPOINT A", "SAVEPOINT A;" AND "SAVEPOINT <A.>;"
Help me in this

It is kind of difficult to debug code you can't see. I don't have 10gXE, but - this is 10gEE; I don't expect it to behave differently in that matter:
SQL> select * From v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for Linux: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
SQL> begin
2 savepoint a;
3 end;
4 /
PL/SQL procedure successfully completed.
SQL>
Therefore, perhaps you'd want to share your code so that we'd see what you did and how Oracle responded.

Related

insert data from .csv file from windows C: drive into oracle11g database

I am very new at this, I need to insert .csv file placed on windows C: drive into oracle11g database.
thinking of using sql loader, but not sure where to start.
sorry I don't have any code.
Create a target table (if you don't have it):
M:\>sqlplus scott/tiger#orcl
SQL*Plus: Release 11.2.0.1.0 Production on Sri Tra 21 12:04:48 2021
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> create table my_table (id number, name varchar2(20));
Table created.
SQL>
Sample data file (as you didn't post yours), named my_data.csv, located in a root of my M disk (yours is C):
1,Little
2,Foot
Control file (named test37.ctl):
load data
infile 'm:\my_data.csv'
truncate into table my_table
fields terminated by ','
(id,
name
)
Run SQL*Loader from operating system command prompt:
M:\>sqlldr scott/tiger#orcl control=test37.ctl log=test37.log
SQL*Loader: Release 11.2.0.1.0 - Production on Sri Tra 21 12:08:40 2021
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Commit point reached - logical record count 1
Commit point reached - logical record count 2
M:\>
Check what we've done:
M:\>sqlplus scott/tiger#orcl
SQL*Plus: Release 11.2.0.1.0 Production on Sri Tra 21 12:09:15 2021
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> select * from my_table;
ID NAME
---------- --------------------
1 Little
2 Foot
SQL>

Web Console and SQL Plus not syncing in Oracle XE 10g

I have Oracle XE 10g installed in my Windows 10 OS. I am able to connect both Web Console and SQL Plus command line to the database. The issue is operations done in SQL Plus command line are not reflecting in Web UI. But whatever doing in Web UI is reflecting in SQL Plus command line. I am using the default SYSTEM user. Why this issue coming?
SQL Plus version - SQL*Plus: Release 10.2.0.1.0
Oracle version - Oracle Database 10g Express Edition Release 10.2.0.1.0
Thanks in Advance

Oracle 12c standard CDB count

I am using Oracle Database 12c Standard Edition Release 12.1.0.2.0 - 64bit. Can anyone please help me to know that how many numbers of CDB/SID/Instance I can create it with standard edition?

How can I find the edition of Oracle installed?

I have inherited an installation of Oracle 11G on CentOS. I know the version by running:
SELECT * FROM v$version;
Result: Oracle Database 11g Release 11.2.0.2.0 - 64bit Production
However, I am trying to find the edition of Oracle installed for licensing purposes. Everyone keeps telling me it is a 'Lite' version...
The Oracle documentation tells me there are 5 editions:
From everything I have read when googling this, people say that if the results from select * from v$version does not say Enterprise, then it is Standard. I do not believe that I can go by that as there are 5 editions and two of them are separate types of Standard Edition. I need to know the exact edition installed.
Does anyone have any idea who I can determine what exact edition is installed?
Thanks!
Running this on 11g Enterprise
select * from v$version where banner like 'Oracle%';
shows
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
If it doesn't say Enterprise or XE then it is Standard
Mine tells me it's Enterprise
SQL> select * from v$version;
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bi
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Productio
NLSRTL Version 10.2.0.1.0 - Production

Determine Oracle Warehouse Builder version

Is there a way to check whether a server is running the 11g release 2 or 11g release 1 version of Oracle Warehouse Builder?
Also is it safe to assume that Release 11.1.0.7.0 in terms of the Oracle instance itself (as opposed to OWB) is an instance of 11g release 1?
select * from v$version;
returns
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
PL/SQL Release 11.1.0.7.0 - Production
CORE 11.1.0.7.0 Production
TNS for Solaris: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - Production
"Also is it safe to assume that Release 11.1.0.7.0 in terms of the Oracle instance itself (as opposed to OWB) is an instance of 11g release 1?"
Yes.
To get the version of OWB, try...
select release
from all_iv_installations;
(I can't test it as I haven't got OWB installed.)
Ref: http://download.oracle.com/docs/cd/E10926_01/doc/owb.101/b12146/d_pub.htm
Given that the OWB schema is installed with the database, it seems likely that that's the version of OWB you'll have, unless you think it's been upgraded seperately.
It seems it is possible to install OWB 11.2 into an 11.1 database:
"It is generally not necessary to download this standalone software unless you have any of the following needs:
- To install OWB 11.2 and host an OWB repository on Oracle Database 10 g Release 2 or Oracle Database 11 g Release 1. "
http://www.oracle.com/technetwork/developer-tools/warehouse/downloads/index.html
Log onto the owb server and the following query should help you:
select runtime_version from owbsys.wb_rt_service_nodes;
You either need to log in as owbsys or as someone who has the privileges to access this table.

Resources