SP2-0575: Use of Oracle SQL feature not in SQL92 Entry Level.
Hi,
When I tried to login I am able to login but getting the following message:SP2-0575: Use of Oracle SQL feature not in SQL92 Entry Level.
After loging, when I tried to "SELECT SYSDATE FROM DUAL;" I am getting the following error.
ORA-00942: table or view does not exist
Can somebody please help me ?
this error may be related to glogin.sql files content, what are the outputs for these -
SQL> describe dual ;
Name Null? Type
DUMMY VARCHAR2(1)
SQL> select * from dual ;
D
Xbest regards.
Similar Messages
-
Sp2-0575: Use of oracle SQL feature not in sql 92 entry level.
Hi,
While logging to sqlplus I'm getting the following message
"sp2-0575: Use of oracle SQL feature not in sql 92 entry level."
and login is successful, but I'm not able to generate next value from the sequence .
t says no rows selected when i request
for nextval a
EX: select mySeq.nextval from dual; (mySeq is sequence)
Thanx,
Ravi.What has happened is that someone has enabled the Oracle feature called as FIPS flagger.
This is a feature that Oracle provides to you if you plan to write SQL code that should be portable
to other RDBMS systems. IF you enable this flagger and use a feature which is not in the SQL standard,
Oracle will complain that use of this feature will make your application Oracle dependent, and you may not
be able to run this application against any other RDBMS.
To disable this for your SQL*Plus session do this:
SQL> set flagger off
SQL>
Once you do this it will allow you to use all SQL commands including Oracle specific extensions. -
How to use all oracle text features under ifs?
i'd like to know that is possible to use a oracle text features like a Theme Capabilities to do a classification when documents its incoming.....
You will probably need to use dynamic SQL.
See the discussion at:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:53140567326263
(while the question deals with SQLX, the answer is the same - Pro*C can't parse all SQL, but dynamic SQL is not parsed by Pro*C) -
How to hide system tables when using the Oracle SQL Developer?
Hi,
I would like to know how can I show only the tables that I created under the Tables tree? I didnt find a way to create a separate database using the Oracle Sql Developer. I see all the tables together, and would like to differentiate between different databases.
Can anyone explain to me how to do these things?
Thanks,Hi,
I would like to know how can I show only the tables that I created under the Tables tree? Your posting is not clear,again tell something more on tables tree,what u want to achieve with it.
How to hide system tables when using the Oracle SQL Developer? if u connected with sys, system or user with dba role then u have a privilege to see these tables,so revoke the privilege/role from ur user to view this tables if ur connected other then sys,system,
I didnt find a way to create a separate database using the Oracle Sql Developer. DBCA is a tool for creating the new database.
Kuljeet -
How to manage a "nice" url if APEX uses web pl/sql and not Apache?
Hi all,
How can I create a pretty url without using redirects or frames since APEX is using web pl/sql and not Apache? This is on version 4.0.1. We want the users to access the Apex App from a nice url without the traditional long url.
Thanks,
Veena.How can I create a pretty url without using redirects or frames since APEX is using web pl/sql and not Apache? This is on version 4.0.1. We want the users to access the Apex App from a nice url without the traditional long url.Hi,
check out the last part of this blog post:
http://ora-00001.blogspot.com/2009/07/creating-rest-web-service-with-plsql.html
- Morten
http://ora-00001.blogspot.com -
Class oracle.sql.OPAQUE not found in class oracle.xdb.XMLType
I have the following code written in java in a unix box and this is the error I get when compiling the code. I am not able to find which specific jar or class file I need, Kindly help.
XMLHelper.java:0: Class oracle.sql.OPAQUE not found in class oracle.xdb.XMLType.
^
1 error
OracleResultSet orst = .... some code to get data
orst.next();
//either of the following 2 lines give the same error
//XMLType dXml = XMLType.createXML(orst.getOPAQUE(1)) ;
XMLType dXml = (XMLType)orst.getObject(i);
xmlDoc = dXml.getDOM();
Please helpHello,
from the little information in your post i would say try to import oracle.sql.*, oracle.jdbc.* and oracle.xdb.*. Make sure your project can access the following libraries ojdbc14.jar and xdb.jar.
Regards, Marc -
HOW to use new Oracle 9i Features in Pro*C
Hi All,
I am an Pro*C developer. I tried using Oracle 9i Features like RIGHT OUTER JOIN, FULL OUTER JOIN, CASE ... etc inside proc program. But I am getting error while compiling it.
My sample code:
EXEC SQL DECLARE CARD_CUR CURSOR FOR
SELECT A.EMP_NBR,
FROM EMP A FULL OUTER JOIN DEPT B
ON A.DEPT_NO = B.DEPT_NO;
EXEC SQL OPEN CARD_CUR;
Pre Compilier Error:
Pro*C/C++: Release 9.2.0.5.0 - Production on Wed Dec 14 02:34:35 2005
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
System default option values taken from: /oracle/oracle/9.2.0.5//precomp/admin/pcscfg.cfg
Syntax error at line 476, column 50, file br_afs_cardxrf.pc:
Error at line 476, column 50 in file br_afs_cardxrf.pc
FROM EMP A FULL OUTER JOIN
......................................1
PCC-S-02201, Encountered the symbol "FULL" when expecting one of the following:
; , for, union, connect, group, having, intersect, minus,
order, start, where, with,
Even when I use CASE statement, i get some similar error.
Can anyone guide me on this.
Regards,
ghuYou will probably need to use dynamic SQL.
See the discussion at:
http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:53140567326263
(while the question deals with SQLX, the answer is the same - Pro*C can't parse all SQL, but dynamic SQL is not parsed by Pro*C) -
Oracle 9i feature not available in Oracle 10g
The following query does work in Oracle 9.2.0.4 (and 9.2.0.5), but does not work in Oracle 10.1.0.3 (Linux)
SELECT *
FROM MEDIA_CONTENT
WHERE EXISTSNODE
(MCON_XML,
'/rdf:RDF/rdf:Description[ora:contains(dc:title,"Whale")>0]',
'xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ora="http://xmlns.oracle.com/xdb"')
The error message
ORA-29913: error in executing contains callout
ORA-15198: operation [contains with non-leaf node] is not yet available
indicates, that this feature is not yet available in Oracle 10.1.0.3
Does anybody know, when this feature is available in Oracle 10, too ? Already in 10.1.0.4 ? Or in Oracle 10g Release 2 ?
Thanks,
UlfI assume you have Windows on the client. The "Drivers" page of the ODBC_DSA should list all installed drivers. You require:
name= Oracle ODBC Driver
version= 8.01.07.00 (or something similar)
company= Oracle Corporation DO NOT USE the Microsoft one.
If this does not show, then either it was not included in the Oracle Client installation or you have not rebooted after the Oracle Client installation; the ODBC driver is not visible until rebooted. -
Using Parameters in SQL-Query not only in where clauses
Hi,
I try to use Publisher parameters in the SQL Query from a Data Set.
All of them have default values.
So far, this is no problem, unless I try to use such a parameter value as an ordinary attribute value:
>
select
case when (:pv_Group = 'no') then "DM15D_BETRIEBSTEIL"."BETR_TEIL"
else :pv_some_Text end as Betr_Teil,
case when (:pv_Group = 'no') then "DM15D_BETRIEBSTEIL"."SUVA_NR_FORM"
else :pv_some_Text end as Suva_Nr,
case when (:pv_Group = 'no') then "DM15K_RIS_FAKTEN_PRO_BTT_JHR"."RIS_VOLLBESCH"
else sum("DM15K_RIS_FAKTEN_PRO_BTT_JHR"."RIS_VOLLBESCH") end as Vollbesch
from "GDWH05"
where
"DM15D_BETRIEBSTEIL"."SUVA_NR_FORM" in (:pv_nim100)
fetch first 65001 rows ONLY
>
The parameters 'pv_Group' and 'pv_nim100' are working fine. (when or where clauses)
The parameter 'pv_some_Text' unfortunately not. (simple literals)
When I try to validate the above SQL, I get the following Error:
<font color="red">
java.io.IOException: prepare query failed[nQSError: 43113] Message returned from OBIS. [nQSError: 46033] Datatype: 25 is not supported.
</font>
After use a cast function:
>
else CAST(:pv_some_Text AS CHARACTER)
>
I get this ERROR:
<font color="red">
java.io.IOException: prepare query failed[nQSError: 43113] Message returned from OBIS. [nQSError: 19002] Incorrect use of parameters. The parameters used in CAST cannot be resolved without ambiguity.
</font>
We use OBIEE 11.1.1.6.4 on a Win64-System.
Thank's for any help.Hi Alex,
let's leave away any unnecessary details.
This is the SQL, inserted in the window 'Edit Data Set' of BIP Data Model:
>
select
'--1' as Betr_Teil,
'--2' as Suva_Nr,
sum("GDWH05"."DM15K_RIS_FAKTEN_PRO_BTT_JHR"."RIS_VOLLBESCH") as Vollbesch
from "GDWH05"
where
"DM15D_BETRIEBSTEIL"."SUVA_NR_FORM" in ('122-4.4')
fetch first 65001 rows ONLY
>
Everything is fine when I click OK, the script goes back to the metadata.
Let's try this script with bind values in ORACLE SQL Developer.
This SQL is the physical part, found in the OBIEE-Log (Log level 5), except the bind values. Therefore we find, in the where clause, the join. In the logical sql, we don't have to join, because it's handled in the Common Enterprise Information Model (CEIM)
>
with
sawith0 as
select
sum(t39617.ris_vollbesch) as c1
from
dm15d_betriebsteil t39455,
dm15k_ris_fakten_pro_btt_jhr t39617
where
t39455.id_betriebsteil = t39617.id_betriebsteil
and t39455.suva_nr_form = '122-4.4'
select
d1.c1 as c1,
d1.c2 as c2,
d1.c3 as c3
from
select
:pv_some_text as c1,
:pv_some_text as c2,
sum(d1.c1) as c3
from
sawith0 d1
d1
where
rownum <= 65001
>
This SQL works fine, even with bind values for 'pv_some_text'.
But, when using the following SQL in the BIP Data Model:
>
select
:pv_Text as Betr_Teil,
:pv_Text as Suva_Nr,
sum("GDWH05"."DM15K_RIS_FAKTEN_PRO_BTT_JHR"."RIS_VOLLBESCH") as Vollbesch
from "GDWH05"
where
"DM15D_BETRIEBSTEIL"."SUVA_NR_FORM" in ('122-4.4')
fetch first 65001 rows ONLY
>
The following ERROR occurs:
<font color="red">java.io.IOException: prepare query failed[nQSError: 43113] Message returned from OBIS. [nQSError: 46008] Internal error: File server\Query\Optimizer\ServiceInterfaceMgr\Utility\Src\SQOIUTypeVisitor.cpp, line 643.</font>
In my opinion, either I use a wrong syntax, or BIP has a problem with parsing the script.
Thank you for your most welcome help. -
Oracle 9 feature not available in Oracle 10
The following query does work in Oracle 9.2.0.4 (and 9.2.0.5), but does not work in Oracle 10.1.0.2 (Linux)
SELECT *
FROM MEDIA_CONTENT
WHERE EXISTSNODE
(MCON_XML,
'/rdf:RDF/rdf:Description[ora:contains(dc:title,"Whale")>0]',
'xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:ora="http://xmlns.oracle.com/xdb"')
The error message
ORA-29913: error in executing contains callout
ORA-15198: operation [contains with non-leaf node] is not yet available
indicates, that this feature is not yet available in Oracle 10.1.0.2
Does anybody know, when this feature is available in Oracle 10, too ? Already in 10.1.0.3 ?
Thanks,
UlfI assume you have Windows on the client. The "Drivers" page of the ODBC_DSA should list all installed drivers. You require:
name= Oracle ODBC Driver
version= 8.01.07.00 (or something similar)
company= Oracle Corporation DO NOT USE the Microsoft one.
If this does not show, then either it was not included in the Oracle Client installation or you have not rebooted after the Oracle Client installation; the ODBC driver is not visible until rebooted. -
Oracle SQL Developer (Not seeing object names within the interface)
Hello,
I was finally able to perform an export/import from our production environment to our training environment. Anyway, this was done using the SYS account and for some reason, I have an issue where in Oracle SQL Developer, there are no object names being displayed, but the objects do exist within SQLPLUS if I should query the table.
The following error message displays when I refresh any of the objects folders within SQL Developer:
ORA-00942: table or view does not exist
Any ideas would be greatly appreciated.
Thank you.825084 wrote:
I'm pretty new to the Oracle DBA space but not to SQL Server Ah. The first thing you need to do is check everything you think you know about rdbms at the door. The similarity between SQL Server and Oracle ends right after SELECT * FROM EMP.
Even the term "database" has different meanings.
First thing I see, in your original post, is that you did the export/import as SYS. Was this "as sysdba"?
From Oracle® Database Utilities
10g Release 2 (10.2):
Invoking Export and Import As SYSDBA
SYSDBA is used internally and has specialized functions; its behavior is not the same as for generalized users. Therefore, you should not typically need to invoke Export or Import as SYSDBA, except in the following situations:
* At the request of Oracle technical support
* When importing a transportable tablespace set
so it's quite possible that I missed something during the import/export of the environments.
Are there any system tables that get invoked when you click on any of the objects within the connection? -
After WLS10.3 migration getBinaryStream in Oracle.sql.BLOB not reading data
Please some one help me. After the 10.3 migration, the values in CSV file(as BLOB in DATABASE) is not read by getBinaryStream method. It returns 0. It was working before. Please find below the code:
import oracle.jdbc.OracleResultSet;
import oracle.sql.BLOB;
public InputStream RetriveISfromBlob(int batchid)
BLOB blob;
InputStream instream=null;
try
Statement stmt = connection.createStatement ();
ResultSet resSet = stmt.executeQuery
("SELECT content FROM file_upload WHERE batch_id="+batchid);
resSet.next();
System.out.println("after query");
/*Get the BLOB locator.*/
blob = ((OracleResultSet)resSet).getBLOB(1);
/*get the blob's outputstream
any data read from this stream comes from the BLOB*/
instream = blob.getBinaryStream();
Below is code from Another class which call the above method RetriveISfromBlob:
InputStream inputstream = fileDataDAO.RetriveISfromBlob(batchId);
System.out.println("afterfileread");
CommaFileInputStream reader = new CommaFileInputStream(inputstream);
reader.setIgnoreFirstLine(true);
CommaRecord comma = reader.getCommaRecord();
System.out.println("Number of records -" + comma.size()); /This returns o but CSV file has lot of datas
NOTE: When I use Ojdbc14.jar only the above code returns 0. When i use Ojdbc_6g.jar it throws NULL POINTER EXCEPTION because the code was written like import oracle.jdbc.driver.OracleResultSet; But in all cases the data in BLOB was not read
Edited by: 833987 on Feb 4, 2011 9:07 AMHi,
The problems 1, 2 and 3 under the heading Issue 2 should be fixed in the Early Adopter release 3.1 EA3, which is now available.
David -
Using an Oracle SQL Function from JPA/TopLink
How do I get the return value from a simple (one string input parameter, returns a string) Oracle SQL Function?
Thanks!If you mean calling a stored function in Oracle, you might try something like:
ValueReadQuery vrq = new ValueReadQuery();
SQLCall call = new SQLCall("begin ###res := pkg.funcInp(#inp); end;");
vrq.setCall(call);
Query q = em.createNativeQuery(""); // we need a Query; any query would do; we replace its contents below
((EJBQuery)q).setDatabaseQuery(vrq);
q.setParameter("inp", "paramValue");
String result = (String)q.getSingleResult();
// #=input; ###=output; ####=input/output;
// if you want to explicitly specify the type of an output parameter, use #### instead of ###,
// because pure "output" parameters are always treated as java.lang.StringThis will only work in TopLink Essentials, though. I don't know how to do it in Hibernate. I have dealt mainly with TopLink, and just a little with Hibernate.
In my opinion, it's a HUGE omission not to have support for stored procedures in JPA. Virtually every project I have worked on (in two large companies) has consisted of a large portion of code in stored procedures (sometimes as much as 50% of the overall code). It's a pain to have to go through all that trouble to call the stored procedures.
Also, pay special attention to TopLink's shared L2 cache. If a stored procedure changes something in the database, TopLink won't know about it and chances are that you will end up with stale objects in the cache which you will either have to refresh, or you'd have to invalidate TopLink's cache for these objects.
Best regards,
Bisser -
Oracle Objects - Feature not enabled
Hi,
When I am trying to create a new object
I am getting the following error:
ORA-00439: feature not enabled: Objects
How to enable this object feature
in Oracle8 Release 8.0.5.2.1 - Production
version?
Should I re-install Oracle?
Thanks in advance,
Satheesh.
nullSatheesh,
In 8.0 release, Objects option was a separate purchase. However, since 8.1.5, Objects has been a bundled feature in Standard edition. If I were you, I would upgrade to 8.1.7 or 9i to take advantage of Objects features.
Regards,
Geoff -
Af:inputFile componet - want to use class oracle.sql.BLOB instead
Hi,
I want to use the class oracle.sql.BLOB to get a blob from an input field. Can I use another ADF component instead of the af:inputFile component?
According to this site: http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/apidocs/oracle/adf/view/faces/component/core/input/CoreInputFile.html - The "value" property of an inputFile component will be set to an instance of the oracle.adf.view.faces.model.UploadedFile class.
From the Oracle JDeveloper 10g (10.1.3) Documentationdocumentation:
UploadedFile file = (UploadedFile) event.getNewValue();
//Here's where we could call file.getInputStream()
I don't want to use getInputStream().
I am working with JDev, oracle ADF, and Toplink.
Any help is appreciated.
LinHi,
http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html
Example 85
http://otn.oracle.com/products/jdev/tips/muench/uploadedfiletoblob/UploadedFileToBlob.zip
Frank
Maybe you are looking for
-
Just wondering if turning of the camera roll iCloud backup on my phone will affect any photos on my iPhoto on my MacBook? Thanks in advance
-
Designer and Developer 6.0 on PO 8i
Hello everybody, Does anybody know if Designer and Developer 6.0 work correctly on Personal Oracle 8i? Thanks in advance, Renato
-
DBMS_XMLDOM... help needed
hi all, I have two domdocuments. I need to append the first document to the child of the second domdocuments domnode. while trying this i am getting the error saying that the nodes are from dfferent documents. How do I do this using dbms_xmldom. i tr
-
Hello Everyone, In dataware housing what needs to be higher the SGA or PGA? I have read it that it was suppose to be PGA? Can any1 clearify this for me. Thanks in advance
-
How can I change CO-PA characteristic's validation from no check to check ?
I created customer characteristic as no check in validation and applied it to operating concerns. Now I want to change it's validation from no check to check table. How can I change CO-PA characteristic's validation from no check to check table?