Error in @apxxepwd.sql command to gave a admin password in Apex instalation
Hello, Everybody,
Greetings..
I am the new beginner to Oracle Apex installation, After some few steps i could not understand this error, when i run this command, Could you please help me to get the installation of Oracle Apex in my windows 7.
Thank you.
I get the follwing error after making the changes. Is it because no username and password were found in the DB for the particular inputs.
The stack trace of the error is:
java.lang.NullPointerException java.lang.NullPointerException at org.apache.jsp.validate_jsp._jspService(validate_jsp.java:88) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Unknown Source)
Similar Messages
-
SQL Error [ORA-00933: SQL command not properly ended
I have following installed:
7.9.6 BI Apps
10.1.3.4 DAC
8.6.0 Informatica
Container JDE Enterprise 9.0
Out of 211 tasks 69 tasks executed successfully.
Error in workflow [SDE_JDE_PartyOrganisationDimension_Full].
I have checked the session log file and understand that there is error with the SQL statement.
Since it is Pre-built, the workflow should have run properly with correct SQl statement. But in this case it is not working.
Is it because the SQL statement is too long?
Any help will be greatly appreciated.
Part of the log file
RR_4035 : SQL Error [
ORA-00933: SQL command not properly ended
Database driver error...
Function Name : Execute
SQL Stmt : SELECT
F0101.ABAN8,F0101.ABALKY,F0101.ABTAX,F0101.ABALPH,F0101.ABMCU,F0101.ABSIC,F0101.ABAT1, F0101.ABTAXC, F0101.ABATP, F0101.ABATR,F0101.ABEFTB,F0101.ABAC01,
F0101.ABAC02, F0101.ABAC03, F0101.ABAC04, F0101.ABAC05, F0101.ABAC06, F0101.ABAC07, F0101.ABAC08, F0101.ABAC09, F0101.ABAC10, F0101.ABAC11,
F0101.ABAC12, F0101.ABAC13, F0101.ABAC14, F0101.ABAC15, F0101.ABAC16, F0101.ABAC17, F0101.ABAC18, F0101.ABAC19, F0101.ABAC20, F0101.ABAC21, F0101.ABAC22, F0101.ABAC23,
F0101.ABAC24, F0101.ABAC25, F0101.ABAC26, F0101.ABAC27, F0101.ABAC28, F0101.ABAC29, F0101.ABAC30,F0101.ABUSER, F0101.ABUPMJ,F0101.ABUPMT,F0101.ABTICKER, F0101.ABEXCHG, F0101.ABDUNS,
F0101.ABNOE,F0101.ABGROWTHR,F0101.ABYEARSTAR,F0101.ABREVRNG, D.FaxPhoneArea, d.Phonearea, D.Fax AS Fax ,D.Phone As Phone,D.WPUPMJ AS WPUPMJ,R.Email AS Email,R.Internet As Internet,R.EAupmj As EAUPMJ,F0111.WWAN8,F0111.WWIDLN,
F0111.WWSLNM,F0111.WWGNNM,F0111.WWMDNM,F0111.WWSRNM,F0111.WWUSER,F0111.WWUPMJ,F0111.WWUPMT,F0111.WWNTYP,F0111.WWNICK,F0111.WWPCM,F0116.ALAN8,
F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4, F0116.ALADDZ, F0116.ALCTY1,F0116.ALADDS,F0116.ALCTR, F0116.ALUPMJ,F0116.ALUPMT,F03012.AIAN8, F03012.AICO,F03012.AIMCUR,F03012.AICRCD,F03012.AIACL,
F03012.AIARPY,F03012.AIDB,F03012.AICRCA,F03012.AIASTY,F03012.AISPYE,F03012.AIOPY,F03012.AIPOPN,F03012.AIDAOJ,F03012.AIAN8R,F03012.AICPGP,F03012.AIFRTH,
F03012.AIMAN8,F03012.AIUPMJ,F03012.AIUPMT, F03012.AICUSTS,F03012.AITERRID, F03012.AIDTEE, F0401.A6AN8, F0401.A6MCUP, F0401.A6CRRP,F0401.A6CRCA, F0401.A6AN8R,F0401.A6CPGP, F0401.A6FRTH, F0401.A6UPMJ,F0401.A6UPMT, CAST(F0101.ABAC03 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR,
CAST(F0101.ABAC23 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
CAST(F0101.ABAC05 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
CAST(F0101.ABAC15 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
CAST(F0101.ABAC09 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
CAST(F0101.ABAC11 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
CAST(F0101.ABAC19 AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
CAST(F0101.ABAC21 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
CAST(F0101.ABAC27 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
CAST(F0101.ABAC17 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
CAST(F0101.ABAC06 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
CAST(F0101.ABAC08 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
CAST(F0101.ABAC14 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
CAST(F0101.ABAC22 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
CAST(F0101.ABAC28 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
CAST(F0101.ABAC18 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
CAST(F0101.ABAC10 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
CAST(F0101.ABAC20 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
CAST(F0101.ABAC30 AS CHAR(10)) AS LINE_OF_BUSINESS,
CAST(F0101.ABAC14 AS CHAR(10)) AS REGION,
CAST(NULL AS CHAR(10)) AS ACCNT_AHA_NUM,
CAST(F0101.ABAC07 AS CHAR(10)) AS ACCNT_CLASS,
CAST(F0101.ABAC11 AS CHAR(10)) AS ACCNT_HIN_NUM,
CAST(F0101.ABAC02 AS CHAR(10)) AS ACCNT_REGION,
CASt(F0101.ABAC08 AS CHAR(10)) AS ACCNT_VALUE,
CAST(F0101.ABAC16 AS CHAR(10)) AS CUST_CAT_CODE, '0' AS X_CUSTOM
from F0101
INNER JOIN F03012 ON F0101.ABAN8 = F03012.AIAN8
LEFT OUTER JOIN F0401 ON F0101.ABAN8 = F0401.A6AN8
LEFT OUTER JOIN F0116 ON F0101.ABAN8 = F0116.ALAN8 AND F0101.ABEFTB = F0116.ALEFTB
LEFT OUTER JOIN F0111 ON F0101.ABAN8 = F0111.WWAN8 AND F0111.WWIDLN =
LEFT OUTER JOIN (select a.WPAN8 as an8,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) FaxPhoneArea,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Fax,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Phone,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) Phonearea,
max(wpupmj) as WPUPMJ
from F0115 a,
(select WPAN8,WPPHTP ,min(WPRCK7) MinWPRCK7 from F0115
group by WPAN8,WPPHTP
) b
where a.WPAN8=b.WPAN8 and a.wpidln =0
group by a.WPAN8)D on f0101.aban8 = D.an8
LEFT OUTER JOIN (SELECT P.EAAN8 as an8,
min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Email,
min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Internet,Max(eaupmj) as EAupmj
FROM F01151 P,
(SELECT EAAN8,EAETP,MIN(EARCK7) MinRck7E from f01151
group by eaan8,eaemal,eaetp)Q
where
P.EAAN8 = Q.EAAN8 and P.EAIDLN =
GROUP BY P.EAAN8)R on f0101.aban8 = R.an8
union
SELECT
F0101.ABAN8,F0101.ABALKY,F0101.ABTAX,F0101.ABALPH,F0101.ABMCU,F0101.ABSIC,F0101.ABAT1, F0101.ABTAXC, F0101.ABATP, F0101.ABATR,F0101.ABEFTB,F0101.ABAC01,
F0101.ABAC02, F0101.ABAC03, F0101.ABAC04, F0101.ABAC05, F0101.ABAC06, F0101.ABAC07, F0101.ABAC08, F0101.ABAC09, F0101.ABAC10, F0101.ABAC11,
F0101.ABAC12, F0101.ABAC13, F0101.ABAC14, F0101.ABAC15, F0101.ABAC16, F0101.ABAC17, F0101.ABAC18, F0101.ABAC19, F0101.ABAC20, F0101.ABAC21, F0101.ABAC22, F0101.ABAC23,
F0101.ABAC24, F0101.ABAC25, F0101.ABAC26, F0101.ABAC27, F0101.ABAC28, F0101.ABAC29, F0101.ABAC30,F0101.ABUSER, F0101.ABUPMJ,F0101.ABUPMT,F0101.ABTICKER, F0101.ABEXCHG, F0101.ABDUNS,
F0101.ABNOE,F0101.ABGROWTHR,F0101.ABYEARSTAR,F0101.ABREVRNG, D.FaxPhoneArea, d.Phonearea, D.Fax AS Fax ,D.Phone As Phone,D.WPUPMJ AS WPUPMJ,R.Email AS Email,R.Internet As Internet,R.EAupmj As EAUPMJ,F0111.WWAN8,F0111.WWIDLN,
F0111.WWSLNM,F0111.WWGNNM,F0111.WWMDNM,F0111.WWSRNM,F0111.WWUSER,F0111.WWUPMJ,F0111.WWUPMT,F0111.WWNTYP,F0111.WWNICK,F0111.WWPCM,F0116.ALAN8,
F0116.ALEFTB,F0116.ALADD1,F0116.ALADD2,F0116.ALADD3,F0116.ALADD4, F0116.ALADDZ, F0116.ALCTY1,F0116.ALADDS,F0116.ALCTR, F0116.ALUPMJ,F0116.ALUPMT,F03012.AIAN8, F03012.AICO,F03012.AIMCUR,F03012.AICRCD,F03012.AIACL,
F03012.AIARPY,F03012.AIDB,F03012.AICRCA,F03012.AIASTY,F03012.AISPYE,F03012.AIOPY,F03012.AIPOPN,F03012.AIDAOJ,F03012.AIAN8R,F03012.AICPGP,F03012.AIFRTH,
F03012.AIMAN8,F03012.AIUPMJ,F03012.AIUPMT, F03012.AICUSTS,F03012.AITERRID, F03012.AIDTEE, F0401.A6AN8, F0401.A6MCUP, F0401.A6CRRP,F0401.A6CRCA, F0401.A6AN8R,F0401.A6CPGP, F0401.A6FRTH, F0401.A6UPMJ,F0401.A6UPMT, CAST(F0101.ABAC03 AS CHAR(10)) AS FLEX_ATTRIB_1_CHAR,
CAST(F0101.ABAC23 AS CHAR(10)) AS FLEX_ATTRIB_2_CHAR,
CAST(F0101.ABAC05 AS CHAR(10)) AS FLEX_ATTRIB_3_CHAR,
CAST(F0101.ABAC15 AS CHAR(10)) AS FLEX_ATTRIB_4_CHAR,
CAST(F0101.ABAC09 AS CHAR(10)) AS FLEX_ATTRIB_5_CHAR,
CAST(F0101.ABAC11 AS CHAR(10)) AS FLEX_ATTRIB_6_CHAR,
CAST(F0101.ABAC19 AS CHAR(10)) AS FLEX_ATTRIB_7_CHAR,
CAST(F0101.ABAC21 AS CHAR(10)) AS FLEX_ATTRIB_8_CHAR,
CAST(F0101.ABAC27 AS CHAR(10)) AS FLEX_ATTRIB_9_CHAR,
CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_10_CHAR,
CAST(F0101.ABAC17 AS CHAR(10)) AS FLEX_ATTRIB_11_CHAR,
CAST(F0101.ABAC06 AS CHAR(10)) AS FLEX_ATTRIB_12_CHAR,
CAST(F0101.ABAC08 AS CHAR(10)) AS FLEX_ATTRIB_13_CHAR,
CAST(F0101.ABAC14 AS CHAR(10)) AS FLEX_ATTRIB_14_CHAR,
CAST(F0101.ABAC22 AS CHAR(10)) AS FLEX_ATTRIB_15_CHAR,
CAST(F0101.ABAC28 AS CHAR(10)) AS FLEX_ATTRIB_16_CHAR,
CAST(F0101.ABAC18 AS CHAR(10)) AS FLEX_ATTRIB_17_CHAR,
CAST(F0101.ABAC10 AS CHAR(10)) AS FLEX_ATTRIB_18_CHAR,
CAST(F0101.ABAC20 AS CHAR(10)) AS FLEX_ATTRIB_19_CHAR,
CAST(NULL AS CHAR(10)) AS FLEX_ATTRIB_20_CHAR,
CAST(F0101.ABAC30 AS CHAR(10)) AS LINE_OF_BUSINESS,
CAST(F0101.ABAC14 AS CHAR(10)) AS REGION,
CAST(NULL AS CHAR(10)) AS ACCNT_AHA_NUM,
CAST(F0101.ABAC07 AS CHAR(10)) AS ACCNT_CLASS,
CAST(F0101.ABAC11 AS CHAR(10)) AS ACCNT_HIN_NUM,
CAST(F0101.ABAC02 AS CHAR(10)) AS ACCNT_REGION,
CASt(F0101.ABAC08 AS CHAR(10)) AS ACCNT_VALUE,
CAST(F0101.ABAC16 AS CHAR(10)) AS CUST_CAT_CODE, '0' AS X_CUSTOM
from F0101
LEFT OUTER JOIN F03012 ON F0101.ABAN8 = F03012.AIAN8
INNER JOIN F0401 ON F0101.ABAN8 = F0401.A6AN8
LEFT OUTER JOIN F0116 ON F0101.ABAN8 = F0116.ALAN8 AND F0101.ABEFTB = F0116.ALEFTB
LEFT OUTER JOIN F0111 ON F0101.ABAN8 = F0111.WWAN8 AND F0111.WWIDLN =
LEFT OUTER JOIN (select a.WPAN8 as an8,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) FaxPhoneArea,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Fax,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPPH1 end) Phone,
min(case when a.WPPHTP= and a.WPRCK7=b.MinWPRCK7 then WPAR1 end) Phonearea,
max(wpupmj) as WPUPMJ
from F0115 a,
(select WPAN8,WPPHTP ,min(WPRCK7) MinWPRCK7 from F0115
group by WPAN8,WPPHTP
) b
where a.WPAN8=b.WPAN8 and a.wpidln =0
group by a.WPAN8)D on f0101.aban8 = D.an8
LEFT OUTER JOIN (SELECT P.EAAN8 as an8,
min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Email,
min(case when P.EAETP= and P.EARCK7=Q.MinRCK7E then EAEMAL end) Internet,Max(eaupmj) as EAupmj
FROM F01151 P,
(SELECT EAAN8,EAETP,MIN(EARCK7) MinRck7E from f01151
group by eaan8,eaemal,eaetp)Q
where
P.EAAN8 = Q.EAAN8 and P.EAIDLN =
GROUP BY P.EAAN8)R on f0101.aban8 = R.an8
Oracle Fatal Error
Database driver error...
Function Name : Execute
*****************************************************"ORA-00933: SQL command not properly ended"
this error may be seen due to reasons like the Informatica properties are not set correct.
Are all the informatica properties set correct? how many ETL jobs completed, what analytic apps are in the ETL process? -
SQL2005 cluster error MDB-05053 Errors when executing sql command: p nr="
Hi all,
We are migrating from 32 bit to x64 bit machines. SQL 2005 database on windows 2003.
I am trying to install E 4.7-200 SR1 on the clustered nodes. The installation manuals for 4.7 are very old and there is nothing for SQL2005 installation.
Now that some how we were able to have SQL up and running in clustered environment (It only took 10 days), After installing CI, I am not able to deploy the database and database creation phase is failing with the following error:
MDB-05053 Errors when executing sql command: <p nr="0"/>.
I am heavily relying on our server managment team on clustering and hoping they have done a good job, However I need some guidelines which can help me in verifying what they have done is correct and meets SAP and SQL requirments and issues we are facing is actually install problems not cluster.
SAP install manuals are not detailed in this regards. Also manuals are out dataed and they only show the sql 2000 clustering pre-requisit for 4.7 installls.
Can any one with clustering experience please help.
Calling out NPC, As his sql installation and upgrade manual has helped me with stand alone installs, Hoping he has some thing for clustering as well.
Regards,
KGHi,
What installation CD/DVD are you using?
Try look at SAP note [924288|https://service.sap.com/sap/support/notes/924288],
and note [969699|https://service.sap.com/sap/support/notes/969699],
and note [967124|https://service.sap.com/sap/support/notes/967124],
and note [106275|https://service.sap.com/sap/support/notes/106275].
In special the last note say at the end:
"3. You must use the 51031444 CD to install Enterprise 4.7 on an x64 platform with SQL Server 2005. This CD installs the central instances and database instances. To convert the A and B nodes in MSCS, use the SAP NetWeaver 04 SR1 installation master CD or DVD."
Hope this helps
Regards
Rolf -
Is there any errors in this SQL command sentense??
select top 20 * from test where id not in (select top 40 * from test order by id desc) order by id desc
I run this command sentense in MYSQL, some syntax errors happend, The purpose of runing this command is to query the No. 40 to No.60 records from the table 'test' ,someone said MYSQL doest support the word "Top",
Pls tell me how to amend this sentense to achieve my purpose,thanks a lot!!The MySQL query to do this is:
SELECT * FROM test ORDER BY id DESC LIMIT 39,20In future, try reading the MySQL documentation instead of asking questions like this:
http://dev.mysql.com/doc/mysql/en/SELECT.html -
JDBC adapter error : ora-00933 SQL command not properly ended
but I am quite sure to my configuration for jdbc was correct ,however it worked fine sometime, if is it the jdbc driver version problem? now the version is 9.2.0
below is the message what I wanna send through SOAP to JDBC:
- <ns1:MT_JDBC_KELVIN xmlns:ns1="urn:kelvin.com.xi.jdbc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
- <Statement>
- <ZXI_MATERIAL action="">
<table>1</table>
- <access>
<MATNR>119</MATNR>
<MTART>1</MTART>
<WERKS>1</WERKS>
<LGORT>1</LGORT>
<LGPBE>1</LGPBE>
<MAKTX>1</MAKTX>
<MEINS>1</MEINS>
<MATKL>1</MATKL>
<EXTWG>1</EXTWG>
<PRDHA>1</PRDHA>
<GROES>1</GROES>
<BISMT>1</BISMT>
<BKLAS>1</BKLAS>
<QKLAS>1</QKLAS>
<PRCTR>1</PRCTR>
<XCHPF>1</XCHPF>
<UPDATED>1</UPDATED>
</access>
- <key1>
<MATNR>119</MATNR>
</key1>
</ZXI_MATERIAL>
</Statement>
</ns1:MT_JDBC_KELVIN> -
Drop triggers in code causes SQL command not properly ended.
running the following command in SQL developer giving the following error
ORA-00933: SQL command not properly ended.
What am I doing wrong
Begin
For I In (Select Trigger_Name, Owner From Dba_Triggers Where Trigger_Name Like 'ABC%' And Owner = 'my_schema')
Loop
Execute Immediate 'DROP TRIGGER '||I.Owner||'.'||I.Trigger_Name;
End Loop;
End;Edited by: Mo2 on Apr 16, 2010 12:21 PM
Edited by: Mo2 on Apr 16, 2010 12:24 PMMo2 wrote:
yes it has.
an example of the names is BIN$+i6ls2WnR/Svz0wA5LSG8A==$0
As a matter of fact those triggers get created by the database after I drop the tables. is there a way to avoid creating them?
drop trigger BIN$+i6ls2WnR/Svz0wA5LSG8A==$0;
drop trigger BIN$+i6ls2WnR/Svz0wA5LSG8A==$0
ERROR at line 1:
ORA-00933: SQL command not properly endedYes oracle complains about this while dropping it.
These objects get created if you have recyclebin on.
You can either off your recyclebin or you can purge these objects from recyclebin after dropping it. Make sure that you would not require this feature or objects in future.
Regards
Anurag -
I have created a execut sql task -
In that, i have a created a 'empidvar' variable of string type and put sqlstatement = 'select distinct empid from emp'
Resultset=resultname=0 and variablename=empidvar
I have added data flow task of ole db type and I put this sql statement under sql command - exec emp_sp @empidvar=?
I am getting an error.
[OLE DB Source [1]] Error: A rowset based on the SQL command was not returned by the OLE DB provider.
[SSIS.Pipeline] Error: component "OLE DB Source" (1) failed the pre-execute phase and returned error code 0xC02092B4.shouldnt setting be Result
Set=Full Resultset as your query returns a resultset? also i think variable to be mapped should be of object type.
Then for data flow task also you need to put it inside a ForEachLoop based on ADO.NET recordset and map your earlier variable inside it so as to iterate for every value the sql task returns.
Also if using SP in oledb source make sure you read this
http://consultingblogs.emc.com/jamiethomson/archive/2006/12/20/SSIS_3A00_-Using-stored-procedures-inside-an-OLE-DB-Source-component.aspx
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Runtime Error in SQL command ..
Hi everybody
I have a report wich terminates with a dump message.
The error is in an SQL command, here the program aborts:
SELECT KUNNR KKBER KLIMK SAUFT SKFOR SSOBL
INTO TABLE I_KNKK
FROM KNKK
WHERE KUNNR IN R_KUNNR
AND KKBER IN R_KKBER
AND SBGRP IN S_SBGRP.
DATA: BEGIN OF I_KNKK OCCURS 0,
KUNNR LIKE KNKK-KUNNR,
KKBER LIKE KNKK-KKBER,
KLIMK LIKE KNKK-KLIMK,
SAUFT LIKE KNKK-SAUFT,
SKFOR LIKE KNKK-SKFOR,
SSOBL LIKE KNKK-SSOBL,
SBGRP LIKE KNKK-SBGRP,
END OF I_KNKK.
In first moment, i saw the table and SQL filter have the SBGRP field but the SQL fields selection has not this field. But, these same program works good with others selection parameters, in fact this SQL only terminates the program for the bigest company, wich causes the program make many BD access because all previous SQL.
The dump log says:
Runtime errors DBIF_RSQL_INVALID_RSQL
Exception CX_SY_OPEN_SQL_DB
Occurred on 23.05.2006 at 17:27:15
Error in the module RSQL accessing the database interface.
An exception occurred. The exception, which is assigned to the class 'CX_SY_OPEN_SQL_DB', neither caught nor passed along using a RAISING clause, in the procedure "(FORM)" . Since the caller of the procedure could not have expected this except to occur, the running program was terminated.
The reason for the exception is:
The SQL statement generated from the SAP Open SQL Statement violates restriction imposed by the database system used in R/3.
Possible errors:
o The maximum size of an SQL statement has been exceeded.
o The statement contains too many input variables.
o The space needed for the input data exceeds the
available memory.
o ...
How can i be sure the dump is for a lot of BD access for all the SQL commands ?
If these is the error, does somebody knows how can i eliminate this error ?
Please help ..
Regards
FrankI think the field discrepancy is a red herring here. Not guilty! I agree that using the 'CORRESPONDING FIELDS OF' is safer though.
The error could be happening because your range variables have lots of entries in them which makes the generated sql huge.
To break it up you could use the 'package size' option of the select. This will work it's way through the input in chunks (or packages) of the size you specify.
You could change it to:
SELECT KUNNR KKBER KLIMK SAUFT SKFOR SSOBL
INTO TABLE I_KNKK package size 2000 "or a variable value
FROM KNKK
WHERE KUNNR IN R_KUNNR
AND KKBER IN R_KKBER
AND SBGRP IN S_SBGRP.
process current contents of i_knkk here
endselect.
or ,
SELECT KUNNR KKBER KLIMK SAUFT SKFOR SSOBL
appending TABLE I_KNKK package size 2000
FROM KNKK
WHERE KUNNR IN R_KUNNR
AND KKBER IN R_KKBER
AND SBGRP IN S_SBGRP.
endselect. -
CallableStatement error: SQL command not properly ended
I am getting a strange error using CallableStatement and Oracle 7.3.4 with PL/SQL 2.3 using Classes12 JDBC driverset from Oracle. Here is the code we are using, which is almost verbatim from several Java/Oracle CallableStatement examples for Oracle 8. I am wondering what I am missing to make this work on Oracle 7 and am unable to find a reference online:
//String query = "begin PAC.PAC_WIP_WIPHEADER_PKG.GetWipNumPartList(?,?); end;";
String query = "{ call PAC.PAC_WIP_WIPHEADER_PKG.GETWIPNUMPARTLIST(?,?) } ";
CallableStatement csth = Connection.prepareCall(query);
csth.setString(1, wipNumber);
csth.setInt(2, PacCarousel.getCarouselNumber());
csth.execute();
using either the Begin or the call query (Begin commented in above code snip) is returning the following error from the JDBC driver:
java.sql.SQLException: ORA-00933: SQL command not properly ended
This identical 'begin' query works fine in TOAD or the PL/SQL console for Oracle, but just won't work using this set of JDBC drivers.
Has anyone run into this problem before or perhaps have some suggestions?
Thanks in advanceI am getting a strange error using CallableStatement and Oracle 7.3.4 with PL/SQL 2.3 using Classes12 JDBC driverset from Oracle. Here is the code we are using, which is almost verbatim from several Java/Oracle CallableStatement examples for Oracle 8. I am wondering what I am missing to make this work on Oracle 7 and am unable to find a reference online:
//String query = "begin PAC.PAC_WIP_WIPHEADER_PKG.GetWipNumPartList(?,?); end;";
String query = "{ call PAC.PAC_WIP_WIPHEADER_PKG.GETWIPNUMPARTLIST(?,?) } ";
CallableStatement csth = Connection.prepareCall(query);
csth.setString(1, wipNumber);
csth.setInt(2, PacCarousel.getCarouselNumber());
csth.execute();
using either the Begin or the call query (Begin commented in above code snip) is returning the following error from the JDBC driver:
java.sql.SQLException: ORA-00933: SQL command not properly ended
This identical 'begin' query works fine in TOAD or the PL/SQL console for Oracle, but just won't work using this set of JDBC drivers.
Has anyone run into this problem before or perhaps have some suggestions?
Thanks in advance -
Error in SQl Query - SQl Command not properly ended
Hi All
I have this SQL query that returns the following error when I run it in TOAD:
SELECT
VC.CAMPAIGN_NUMBER,VC.CAMPAIGN_TITLE,VC.CAMPAIGN_DESC,
VCV.START_DATE, VCV.END_DATE,VC.CAMPAIGN_TYPE,VC.APPLICABILITY,
VC.CAMPAIGN_PRIORITY
FROM
VM_CAMPAIGN_VIN VCV ,VM_CAMPAIGN VC
WHERE
VCV.VIN = 'US'
AND
VCV.CAMPAIGN_NUMBER = VC.CAMPAIGN_NUMBER AND VC.COUNTRY_CODE = 'E'
AND VC.LANGUAGE_CODE = 'L' AND VC.CAMPAIGN_TYPE = null
AND SYSDATE BETWEEN VCV.START_DATE AND VCV.END_DATE
AND SYSDATE BETWEEN VC.START_DATE AND VC.END_DATE)
A ORDER BY A.CAMPAIGN_PRIORITY DESC, A.END_DATE
The error is:
SQl Command not properly ended
Any help is highly appreciated. ThanksThanks a lot to everyone. It helped me run the query without any problem. Now I have another issue. This may not be the right place to post this question, I think.My apologies for that. The problem is, Weblogic posts an error as follows:
java.sql.SQLException: ORA-00923: FROM keyword not found where expected
I am wondering if this is an Java related error or an SQL related error.
Well, I am using the SQL Statement which you helped debug, and it is inside something called "XXSQLConstants.java consisting of the following SQL statement:
public static final String XX_ALL_CAMPS_SELECT = "SELECT * FROM" +
"(SELECT vc.campaign_number, vc.campaign_title, vc.campaign_desc, vc.start_date," +
"vc.end_date, vc.campaign_type, vc.applicability, vc.campaign_priority" +
"FROM vm_campaign vc" +
"WHERE vc.applicability = 'Y'" +
"AND vc.country_code = ? " +
"AND vc.language_code = ? " +
"AND vc.campaign_type = ? "+
"AND SYSDATE BETWEEN vc.start_date AND vc.end_date" +
"AND NOT EXISTS (" +
"SELECT 'X'" +
"FROM vm_campaign_vin vcv" +
"WHERE (vcv.vin = ? " +
"AND vcv.campaign_number = vc.campaign_number" +
"))" +
"UNION" +
"SELECT vc.campaign_number, vc.campaign_title, vc.campaign_desc," +
"vcv.start_date, vcv.end_date, vc.campaign_type, vc.applicability," +
"vc.campaign_priority" +
"FROM vm_campaign_vin vcv, vm_campaign vc" +
"WHERE vcv.vin = ? " +
"AND vcv.campaign_number = vc.campaign_number" +
"AND vc.country_code = ? " +
"AND vc.language_code = ? " +
"AND vc.campaign_type IS NULL" +
"AND SYSDATE BETWEEN vcv.start_date AND vcv.end_date" +
"AND SYSDATE BETWEEN vc.start_date AND vc.end_date)";
The SQl runs fine when tested (well, it does not return any data for the rows returned, but there are no errors), but in my application server I get the following error (pointing out the same SQL code pasted above:
java.sql.SQLException: ORA-00923: FROM keyword not found where expected
Any suggestions? Thanks in advance. I appreciate all replies -
Hi, omniscient all!
I have a code sample where I try to request some URL from an inactive server:
declare
l_text varchar2(32000);
begin
l_text := utl_http.request('http://inactive.url:7777');
exception
when others then
declare
l_errcode number := utl_http.get_detailed_sqlcode;
begin
dbms_output.put_line(l_errcode);
dbms_output.put_line(sqlerrm(l_errcode));
end;
end;
/When I run it in Oracle SQL Developer it shows:
anonymous block completed
-12541
ORA-12541: TNS:no listenerWhen I run it in the APEX 4.0 SQL Commands window it shows:
-29263
ORA-29263: HTTP protocol error
Statement processed.The question is: why?
In real world, I need to make a HTTP POST request (no problem) and catch some exceptions. But instead of the usual ORA-12541 error APEX throws an ORA-29261 one.Any thoughts?
-
SQL Command Error on Hosted environment
An error is occurring on the oracle hosted environment. I don't believe that it is a problem with my IE, but with my company's antivirus software. Is there some setting I should ask them to do? I am unable to run sql commands on the hosted environment.
Line: 241
Char: 7
Error: Automation server can't create object
Code:0
URL:http//htmldb.oracle.com/pls/otn/f?p=4500:1001Hi <please supply your name>,
SQL Developer Worksheet is not available from the command line.
The BRIDGE command is only supported in the Worksheet.
Its an interesting idea though. Are you trying to script data move from a non Oracle database to an Oracle database using the BRIDGE command?
The BRIDGE command was initially done to allow a simple data move from a non Oracle database to Oracle. We then build the "Copy to Oracle" feature out of it.
http://dermotoneill.blogspot.com/2010/11/cross-database-bridge-statement.html
http://dermotoneill.blogspot.com/2010/11/copy-to-oracle.html
Since the BRIDGE command references connection names, which have to be defined in UI of SQL Developer any solution to run this on the command line would have to work this out.
There are number of ways you can do this without using the BRIDGE command.
1) Perform a capture/convert of your non Oracle database and then generate the "offline" data move scripts.
Theses scripts use SQL*Loader and your non Oracle database tool (Ex: Sybase BCP).
These are run from the command line and can be modified ....
2) Use a database link from your Oracle database to your non Oracle database and reference /query the data that way.
I would interested to hear your thoughts.
Regards,
Dermot
SQL Developer Team. -
'SQL command not properly ended' error
Hi,
I wrote a test application.
I used an existing DB schema and the following:
============
Windows XP
KODO 3.0.2,
Oracle 8i,
Oracle JDBC driver - tried both 9.2.x and 9.0.1,
JDK 1.4.2,
KODO tools:
schemagen.bat,
reversemappingtool.bat,
jdoc.bat
custom.properties file where renamed all the ClassnameId filed to
ClassnamePK.
============
Tried to perform simple query without any parameters.
Got the following error message:
================================
kodo.util.DataStoreException: ORA-00933: SQL command not properly ended
What have I missed here? I did not have this problem when I left only one
table in the schema, having removed the others.
Does anybody has any ideas regarding this issue? Do you want me to post
any additional information?
Thanks in advance,
AntonPatrick Linskey wrote:
Anton,
Can you post the offensive SQL?
-Patrick
Anton Kommar wrote:
Hi,
I wrote a test application.
I used an existing DB schema and the following:
============
Windows XP
KODO 3.0.2,
Oracle 8i,
Oracle JDBC driver - tried both 9.2.x and 9.0.1,
JDK 1.4.2,
KODO tools:
schemagen.bat,
reversemappingtool.bat,
jdoc.bat
custom.properties file where renamed all the ClassnameId filed to
ClassnamePK.
============
Tried to perform simple query without any parameters.
Got the following error message:
================================
kodo.util.DataStoreException: ORA-00933: SQL command not properly ended
What have I missed here? I did not have this problem when I left only one
table in the schema, having removed the others.
Does anybody has any ideas regarding this issue? Do you want me to post
any additional information?
Thanks in advance,
Anton
Hello Patrick,
Thank you for your reply.
The problem I experienced magically dissappeared. I used actually
different database servers and they probably differ in something. I am not
able to repro it again.
Please, forgive me for bothering you. I'll update this issue if I succeed
to reproduce the problem again.
Thank you,
Anton -
Connection error when logining in from sql command line
I'm getting the following errors when I attempt to connect using the sql command line. I have installed 10g Express on XP home addition. The errors are as follows:
ORA-01034 Oracle not available
ORA-27101 Shared memory realm does not exist.
ThanksI am getting this error in the oradim log file:
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file 'D:\oraclexe\app\oracle\product\10.2.0\server\dbs/spfileXE.ora'
checked this directory and it is empty
should I uninstall and reinstall. Can I get this file somewhere? -
Adding multiple SQL Commands, Errors
When I add a second SQL Command to my report I get the following error messages right before it attempts to update the data. I have tried replacing the new SQL into the existing SQL command and it works, so I am fairly certain the SQL syntax is correct.
"Failed to retrieve data from the database" and "unknown database connection error".
Any idea as to why this is occurring?
Thanks!If you're using a command, you should use a single command to provide ALL of the data for your report. Please see my post here Best Practices When Using Commands with Crystal Reports for more information about how to use commands.
-Dell
Maybe you are looking for
-
How to add the entries and how to delete the entries from custom Z-table?
Hi Experts, My requirement is I need to add the entries from program to three custom z-tables . Assume as zabc1,zabc2,zabc3. Here how to add the entries from program to Z-table.??? And one more requirement is I want to provide a deletion checkbox in
-
HT1498 do you have to have your computer active, in order for apple tv to work?
Do you have to have your computer active, in order for apple tv to work?
-
Error in query with COUNT expression
Hi I have a query that returns an error as follows: "Column Ambiguously defined" the code is as follows: SELECT ce_family_member.student_id , ce_family_member.last_name , st_enrollment.grade_level , ce_family_m
-
Brbackup - using rsync in place of cp ?
I wonder if anyone has replaced cp with rsync withing the initSAPSID.sap ? And if so how did you go about it ? I've though of creating a script that replaces copy in the init.sap file but can not find where 'copy' is disk_copy_cmd = copy Is there a d
-
HEADING HIDING AND LOWEF FRAME SHOULD SHIFTED TO HEADDING'S PLACE AUTOMATIC
HOW TO PLACED THE FRAMES OF DATAMODEL IN REPORT IN PLACE OF HEADING AND TITLE AT TOP LEVEL.