Crash in "Export" from SQL Developer Version 2.1.1.64
Hi,
Did a quick search and didn't find anything on this forum about this problem: any help
appreciated and thus Thanks in advance.
I was using a slightly older version of Developer to dump out a file (via Tools->Database Export)
when the blooming thing crashed in the middle of the export.
I hadn't upgraded the version for a while, so a quick "Check for Updates" revealed a more modern
version. I downloaded that and went through the procedure again, but the crash is as copied below:
java.io.IOException: ORA-06502: PL/SQL: numeric or value error
ORA-06512: at line 1
at oracle.dbtools.raptor.format.InsertFormatter.printColumn(InsertFormatter.java:187)
at oracle.dbtools.raptor.format.ResultSetFormatterWrapper.print(ResultSetFormatterWrapper.java:164)
at oracle.dbtools.raptor.format.ResultsFormatter.print(ResultsFormatter.java:200)
at oracle.dbtools.raptor.format.ResultsFormatter.print(ResultsFormatter.java:139)
at oracle.dbtools.raptor.ddl.oracle.OracleDataDDL.doGetDDL(OracleDataDDL.java:55)
at oracle.dbtools.raptor.ddl.oracle.OracleDataDDL.doGetDDLScript(OracleDataDDL.java:71)
at oracle.dbtools.raptor.ddl.oracle.OracleObjectDDL.getScriptDDL(OracleObjectDDL.java:278)
at oracle.dbtools.raptor.ddl.DDLGenerator.getScriptDDL(DDLGenerator.java:210)
at oracle.dbtools.raptor.export.ExportAPI.writeExportImpl(ExportAPI.java:866)
at oracle.dbtools.raptor.export.ExportAPI.writeExport(ExportAPI.java:416)
at oracle.dbtools.raptor.export.ExportAPI$1.doWork(ExportAPI.java:928)
at oracle.dbtools.raptor.export.ExportAPI$1.doWork(ExportAPI.java:922)
at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:492)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
The only thing I can think of as being a problem is that the table in question (one of three small tables
I am exporting) has a CLOB column in it and some data in there is HTML format.
If anyone has a workaround, or I can elaborate further, please don't hesitate to drop me a reply.
Thanks
Mungo Henning
Many thanks for the "heads up".
I did take a look at the export file and inside it any CLOB's data
that has an apostrophe in it is not escaped.
Some of my CLOBs have HTML in them: if I had to answer the question
"Enter value for nbsp" once, I had to do this several times (the HTML had the
element for non-breaking-space whose sequence is ampersand-nbsp so
with the Defines on it asked me for a value for this substitution variable... sigh).
Looks like my problem has gone away for other reasons (the hosting company have
volunteered to migrate the data), but I wonder whether the SQL Developer
team know about this issue or not.
Thanks again.
Mungo
Similar Messages
-
Create trigger not audited when run from sql developer Version 3.2.20.09
Creating or editing a trigger is not being stored in the audit table when run from sql developer.
Here is a sample script to show the issue:
Grant Connect,create table,create trigger To testuser Identified By testuser;
create table testuser.testtab(t1 number);
Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';
CREATE OR REPLACE TRIGGER testuser.testtab_bi_trg BEFORE
Insert
ON testuser.testtab FOR EACH ROW
begin
null;
end;
Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';
drop user testuser cascade;
If I run the script from sql developer the CREATE TRIGGER statement does not get audited.
If I run the script from sql plus or All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.
If I edit the trigger from sql developer the CREATE TRIGGER statement does not get audited.
If I edit the trigger from All Arround Automations PL/SQL Developer the CREATE TRIGGER statement does get audited.DoyleFreeman wrote:
Not sure what you mean by "perform the audit".
Have you tested my script? Does the "Select Count(*) From Dba_Audit_Trail Where Owner='TESTUSER';" increment by 1 after each of the ddl statements or only after the Create table statement.
Your question doesn't have ANYTHING to do with sql developer and should be posted in the Database General forum
https://forums.oracle.com/community/developer/english/oracle_database/general_questions
Yes - and it works just fine once you ENABLE AUDITING. Your scripIt does NOT include the statements or code used to ENABLE auditing and, specifically, enable auditing for triggers.
Auditing doesn't just 'happen'; you have to enable it and you have to specify any non-default auditing that you want to perform.
Have you read any of the extensive documentation about auditing to learn how to use it?
See the Database Security Guide
http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm
Also see 'Auditing Functions, Procedures, Packages, and Triggers
http://docs.oracle.com/cd/E11882_01/network.112/e16543/auditing.htm#BCGBEAGC
And see the AUDIT statement in the SQL language doc for how to specify auditing of specific operations.
http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_4007.htm
Select count(*) From Dba_Audit_Trail Where (Owner='SCOTT' or username = 'SCOTT')
and action_name = 'CREATE TRIGGER';
COUNT(*)
0
audit create trigger by scott
CREATE OR REPLACE TRIGGER emp_copy_bi_trg BEFORE
Insert
ON emp_copy FOR EACH ROW
begin
null;
end;
Select count(*) From Dba_Audit_Trail Where (Owner='SCOTT' or username = 'SCOTT')
and action_name = 'CREATE TRIGGER';
COUNT(*)
1 -
Unit Test exports between different SQL Developer versions
Hi,
I am having problems with trying to export and import unit test suites between SQL Developer versions. I can't find any documentation in this area. We have a number of unit test suites exported as XML files from version 2.1.1.64, and below are combinations of things I have tried:
- I have tried to import a unit test suite into version 3.0.0.4 that was exported from version 2.1.1.64 and get the error "Import failed. unexpected null value". I expect that this is probably an unsupported action due to repository changes between the two versions - should I be able to do this?
- I have upgraded the repository with unit tests in it. The unit tests run perfectly well in the upgraded repository. However, if I try to export any suites or individual tests, I get an error "Export failed.". A XML file is created but with what looks like only the header part of it.
- I have created a new unit test suite in version 3.0.0.4 and this exports successfully.
- I have gone into each test of a suite in the upgraded repository and made a change so that I can perform a commit. When I do an export, this does then work successfully.
Therefore it appears that something is not carried out by default when the repository is upgraded, but this fixes itself if the test is amended and committed in the upgraded repository. Although this may be a workaround, we have 100's of tests and is not something I really want to do. Has anyone else experienced this and got any recommendations for this?
Thanks, Pierre.Hi,
I am having problems with trying to export and import unit test suites between SQL Developer versions. I can't find any documentation in this area. We have a number of unit test suites exported as XML files from version 2.1.1.64, and below are combinations of things I have tried:
- I have tried to import a unit test suite into version 3.0.0.4 that was exported from version 2.1.1.64 and get the error "Import failed. unexpected null value". I expect that this is probably an unsupported action due to repository changes between the two versions - should I be able to do this?
- I have upgraded the repository with unit tests in it. The unit tests run perfectly well in the upgraded repository. However, if I try to export any suites or individual tests, I get an error "Export failed.". A XML file is created but with what looks like only the header part of it.
- I have created a new unit test suite in version 3.0.0.4 and this exports successfully.
- I have gone into each test of a suite in the upgraded repository and made a change so that I can perform a commit. When I do an export, this does then work successfully.
Therefore it appears that something is not carried out by default when the repository is upgraded, but this fixes itself if the test is amended and committed in the upgraded repository. Although this may be a workaround, we have 100's of tests and is not something I really want to do. Has anyone else experienced this and got any recommendations for this?
Thanks, Pierre. -
How export datas with special characters from SQL Developer?
Hi.
I'm doing an import of datas of a table, but this table have special characteres in specific accents (á,é,í,ó,ú), my source table have for example "QRCN Querétaro, Candiles" but when I done an export from opcion Tool --> Export DLL (and Datas) from SQL Developer generate the next script
Insert into tablexxx(CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Quer?ro, Candiles');
How can I do for export my datas and generate the script correct?
Insert into tablexxx(CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Querétaro, Candiles');
thanks.Hi sybrand_b,
1. In my SQL Developer I select Tool-->Export DDL (and Data).
2. I Select name file, connection (this is a remote DB), objects to export in this case I select 'Tables and data' and table name to export
3. Run the procedure and generate the script following:
-- File created - jueves-julio-01-2010
-- DDL for Table TABLEXXX
CREATE TABLE "BOLINF"."TABLEXXX"
( "CADENA" VARCHAR2(50 BYTE),
"NUMERO_FARMACIA" VARCHAR2(50 BYTE),
"SUCURSAL_REFERENCIA" VARCHAR2(200 BYTE)
-- DATA FOR TABLE TABLEXXX
-- FILTER = none used
REM INSERTING into TABLEXXX
Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20280','QRCN Quer?ro, Candiles');
Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20281','QRCG Quer?ro, Corregidora');
Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20282','QRFU');
Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20283','QRFU');
Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20284','SAUN San Lu?P, Universidad');
Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20285','SAEV San Lu?P, Eje Vial');
Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20286','SALB San Lu?P, Los Bravo');
Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20287','SAAL San Lu?P, Alvaro Obreg?');
Insert into TABLEXXX (CADENA,NUMERO_FARMACIA,SUCURSAL_REFERENCIA) values ('C002','20288','SACA San Lu? Callej?n de Cod');
4. But my source table have the next datas.
Select * from TABLEXXX.
CADENA NUMERO_FARMACIA SUCURSAL_REFERENCIA
C002 20280 QRCN Querétaro, Candiles
C002 20281 QRCG Querétaro, Corregidora
C002 20282 QRFU
C002 20283 QRFU
C002 20284 SAUN San Luís P, Universidad
C002 20285 SAEV San Luís P, Eje Vial
C002 20286 SALB San Luís P, Los Bravo
C002 20287 SAAL San Luís P, Alvaro Obregó
C002 20288 SACA San Luís, Callejón de Cod
5. I have done a query to table nls_database_parameters.
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET UTF8
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZH:TZM
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZH:TZM
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_RDBMS_VERSION 10.2.0.4.0
6. I have revised in Regedit-->HKEY_LOCAL_MACHINE-->SOFTWARE-->ORACLE-->ORACLE HOME and value for NLS_LANG=AMERICAN_AMERICA.UTF8
where should I change for export my datas correct?
or exist any form for export my datas?
thanks a lot.
regards -
Hi Oracle Cloud Gurus,
I have signed up for Oracle Database Cloud Service Trial and activated the same. I am able to login to Apex applications, SQL Workshop etc but not able to connect from SQL*Developer on my local m/c.
I configured the "Cloud Connection" by giving the provided username, password and URL. When I try to connect, I get the error - "HTTP/1.1 302 Found". Any ideas how to resolve this ?
Here is the complete error stack:
oracle.dbtools.raptor.cloud.auth.AuthenticationFailedException: HTTP/1.1 302 Found
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:162)
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.authenticate(BasicAuthenticationEngine.java:63)
at oracle.dbtools.raptor.cloud.auth.basic.GUIBasicAuthenticationEngine.authenticate(GUIBasicAuthenticationEngine.java:26)
at oracle.dbtools.raptor.cloud.connection.ConnectionCreator.createConnection(ConnectionCreator.java:24)
at oracle.dbtools.raptor.cloud.connection.CConnections$C.getConnection(CConnections.java:39)
at oracle.dbtools.raptor.cloud.connection.CConnections.getConnection(CConnections.java:176)
at oracle.dbtools.raptor.cloud.navigator.CloudConnection.openConnectionImpl(CloudConnection.java:127)
at oracle.dbtools.raptor.cloud.navigator.CloudConnection.getConnection(CloudConnection.java:89)
at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:74)
at oracle.dbtools.raptor.cloud.navigator.ConnectionTreeNode$LoadTask.doWork(ConnectionTreeNode.java:38)
at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:554)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: HTTP/1.1 302 Found
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationHandler.handleError(BasicAuthenticationHandler.java:250)
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationHandler.handleError(BasicAuthenticationHandler.java:24)
at oracle.dbtools.raptor.cloud.connection.CloudHander.handleResponse(CloudHander.java:38)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:945)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:919)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:910)
at oracle.dbtools.raptor.cloud.connection.DefaultClient.executeRequest(DefaultClient.java:96)
at oracle.dbtools.raptor.cloud.auth.basic.BasicAuthenticationEngine.doPost(BasicAuthenticationEngine.java:153)
... 17 moreCan you please post some of the values you are using to connect to your Schema Service? (please redact the hostname URL for security purposes)
You can also follow this tutorial:
Data Loading and the Oracle Database Cloud Service
Format is usually:
username used to sign up
password giving at sign up
Service Instance URL -
Default path for scripts within SQL Developer version 3.2.20.09.87
I have SQL Developer version 3.2.20.09.87 and needed to know if the 'Set default path to look for scripts' be a UNC path?
ThanksI hadn't tried it but now I did and it worked.
I also tried setting the Utilities Export default file location to a UNC path and I was able to set it but when I try to go to it via the 'browse' button, it doesnt go to it. It does, however, use it when I export.
Also when I do File > Open, I'm not able to navigate to UNC paths via the 'Home' or 'Desktop' buttons on the left hand side of the window and am not able to navigate to a network location from the 'Locations' box.
Any ideas? I am on Windows 7.
Thanks -
Desc not working in SQL Developer Version 1.1.3 Build 27.69
Hi All,
I am using Oracle SQL Developer Version 1.1.3 Build 27.69
select count(*) from abccount(*)
100
using desc / describe table name gives error
desc abcERROR:
ERROR: object abc does not exist
1 rows selected
I am able to perform select on the table but not desc/describe. I tried suffixing with schema name , still the same error persists.
Kindly provide a workaround
TnxWell 1.1.3 is quite old.
The best thing to do IMHO is to update to the latest version, it will also enable a load of new features and fixes.
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html -
Failure to connect to 11G XE from Sql Developer
Hi Gurus,
I have been trying for more than a week to make this work. Basically I am trying to install XE database 11.2.0 on my windows 7 64 bit computer.
I have had problems with the getting the listener up , finally managed to get it up by deleting the Oracle_home and reinstalling 11g XE.
Changed the listener.ora file to include the sid XE - restarted th listener so now its working.
-- I am able to start the instance from command prompt as
SQL> conn / as sysdba
Connected.
SQL> startup
ORACLE instance started.
Total System Global Area 1071333376 bytes
Fixed Size 1388352 bytes
Variable Size 620757184 bytes
Database Buffers 444596224 bytes
Redo Buffers 4591616 bytes
ORA-00205: error in identifying control file, check alert log for more info**
When I checked the log files here are the details
from C:\Oracle11XE\app\oracle\diag\rdbms\xe\xe\alert
<txt>ORA-00210: cannot open the specified control file
ORA-00202: control file: 'C:\ORACLE11XE\APP\ORACLE\ORADATA\XE\CONTROL.DBF'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
</txt>
Please let me know how I can resolved this issue. The eventual goal is to get the database up and running and be able to conenct from Sql Developer installed on the same machine.
any help will be greatly appreciated.
Here are some details
tnsnames.ora
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = <Cumputername>)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SID = 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)
listener.ora
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
(SID_DESC =
(SID_NAME = XE)
(ORACLE_HOME = C:\Oracle11XE\app\oracle\product\11.2.0\server)
(PROGRAM = extproc)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
(ADDRESS = (PROTOCOL = TCP)(HOST = <ComputerName>)(PORT = 1521))
DEFAULT_SERVICE_LISTENER = (XE)
lsnrctl status result
LSNRCTL> status
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 11.2.0.2.0 - Produ
ction
Start Date 30-JAN-2013 11:35:47
Uptime 0 days 0 hr. 0 min. 13 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\Oracle11XE\app\oracle\product\11.2.0\server\network
\admin\listener.ora
Listener Log File C:\Oracle11XE\app\oracle\diag\tnslsnr\ZaidHP\listener\
alert\log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1ipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ZaidHP)(PORT=1521)))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 1 instance(s).
Instance "XE", status UNKNOWN, has 1 handler(s) for this service...
The command completed successfully
Thanks
Edited by: user12026382 on Jan 30, 2013 10:57 AMHi clcarter
Thanks for your input. I actually did a complete de-install and re-install.
The two things I did differently this time was
1. Delete any ORACLE_HOME or ORACLE_SID variables that were existing and just to make sure check from cmd> set ORACLE_HOME - should return not defined.
(This I found at a different forum)
2. Run the setup (as administrator) this time.
And you guessed it.. It worked. I was able to login to the database. Also could go to the database home page.
Thanks for your inputs.
On a side note.. since I am new to forums, I wanted to know how you quote things in the grey area as you did when you replied 'ORA-00205: error in identifying control file, check alert log for more info'. -
Which sql developer version will support oracle 8.1.7
hi
which sql developer version will support oracle 8.1.7 or is it necessary to use plsql developer to connect to database (oracle 8.1.7)Hi,
SQL Developer version 1.2.1 is able to connect to 8.1.7 with limited functionality (prepared reports and browser for objects could not work)..
Next version (tested with 3.2 64-bit) of SQL developer could be "hacked" to connect to 8.1.7 by simply copy file C:\oracle\product\10.2.0\client_1\jdbc\lib\classes12.zip from Oracle client prior 11
into appropriate jdk\jre\lib\ext folder. -
Cannot establish connection with SQL server from SQL developer
Hi, I recently downloaded SQL Developer version 3.0.04 and am trying to establish a connection to a remote SQL server. The database was created on this server by someone who is no longer working on the project. I have been given the username, password and server name. Is there another piece of information I am missing? I keep receiving the error:
Status: Failure-Test failed: IO Error: The Network Adapter could not establish the connection.Check out the SQL Server network configuration. When instances are used the port on which the SQL Server is listening on might be different. Use the networking utility from the SQL Server and check out the SQL Server network details.
-
SQL Worksheet fails to appear in Oracle SQL Developer Version 2.1
I cannot open the SQL Worksheet in Oracle SQL Developer Version 2.1. When I select SQL Worksheet from the Tools menu, a box appears saying that the SQL Worksheet is opening, but nothing happens. After the first attempt, the box does not appear, but again nothing happens.
Thats odd.
Do you see any exceptions in console ? (to see the console launch sqldeveloper.exe in ../sqldeveloper/sqldeveloper/bin dir.)
-Raghu -
Japanese characters in SQL Developer Version 1.5.4
I am using SQL Developer ver 1.5.4 with Oracle 11g. There are Japanese characters stored in VARCHAR2 field.
When I execute a SELECT SQL query, SQL Developer does not display Japanese characters in the Result window -- it displays row of small square characters instead.
(When I execute the same query as a script -- it displays the Japanese characters in Script Output window,
What should I do to have SQL Developer to display Japanese characters in Result window?
Thank you!
Mark.
Edited by: MarcoPolo on Jul 7, 2009 11:16 AMHi there, Have you fixed this issue?
I'm having the same issue albeit with SQL Developer VERSION 1.5.5
The Select stmt displays the the empty square boxes in the result window, I've set the encoding preferences to UTF8 in the menu and font to Arial Unicode (there is no option to set script to Japanese). How can i display japanese characters in the results window??
When i export these empty square boxes in the result window to notepad (where encoding set to Unicode and Font set to Arial Unicode and Script to Japanese), the japanese value is displayed correctly in the notepad.
Kindly provide some input
Many Thanks -
Performance problem with slow VIEW from JDBC (fast from SQL Developer)
Hi all,
I'm experiencing following problem and would like to know if someone else also hit this one before and has a suggestion how to solve it:
I have a pretty complicated SELECT statement that per definition returns only a few rows (~30). With no further optimization it takes ~20 seconds to return the full dataset in Oracle SQL Developer. If you add the */+ PUSH_PRED(name_of_some_inner_view) /* hint (hint is correct, stars got eaten by the OTN-forum syntax), the statement takes less than 0.5s to execute (still in SQL Developer). I saved the statement with the hint as VIEW. Selecting from the VIEW in SQL Developer is also fast.
Now if I call the statement from JDBC (Tomcat webapp), I can see from the server console that the statement is 1:1 100% the same as the one I execute in SQL Developer. Nevertheless it takes about 20 seconds to complete.
Here my details:
SELECT banner FROM v$version;
BANNER
Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for 32-bit Windows: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
JDBC Driver used: some old odbc14.jar as well as current odbc6.jar for 11.2.0.2.0 from http://www.oracle.com/technetwork/da...10-090769.html
SQL Developer: current version 3.2.20.09From my reading this could go wrong:
- JDBC doesn't know the VIEW's column data types and Oracle behaves mysterious because of this (=there must be more to the SELECT than just the string, some meta-information)
- For some reason the hint inside the VIEW is not used (unlikely)
I also tried a Table Function/Pipelined table and selected from it as a workaround, but the result is the same: Selecting from Function is fast from SQL Developer, but slow from JDBC. All other statements that come from JDBC are as fast as they should be. I really don't know what to think of this and where the error might be.
Is there some setting that tells Oracle not to use hints when called from JDBC?
Thank you & Best regards,
BlamaHi Bawer,
that's what I'm thinking. Unfortunately I can't post it, as it is library code (not my lib). But in the debug-output I can see the SQL-String sent to the DB (which does include the hint).
But I find the 2nd option you mention more likely anyway: Even if I put the hint into a VIEW and select from the view, the time-difference is there (it's even there if I use Table Functions/Pipelined table and select from the function).
So I'd think it is more likely that something else is happening (e.g. Oracle is configured in a way that it does not use hints when called from JDBC or similar. Or the library sets some session options in order to prevent the usage of hints). But I don't know if there is even the possibility of doing so.
Does the Oracle JDBC driver have the option to set these options?
Does the Oracle DB have the option to set sth. like "ALTER SESSION SET dontUseHints = 'Y';" -
Package Body from SQL Developer ?
Team I am using SQL Developer Version 2.1.1.64 But I can not able to see the package body.
Right click on the package provides an option to 'Save Package Spec and Body', but when I save it .. it only store the package spec ..
Is it not possible to view the package body from SQL Developer ?
Can anyone confirm ... how to get code of package body ... ?Hi Bipul,
Although there might be people here using that specific tool, there is still the dedicated SQL Developer forum to ask in:
SQL Developer
Regards
Peter -
am currently using Oracle sql developer version 1.5.5.59, in some time my O.S. is going to migrate from WinXP to Windows 7 [64 bit] can anyone suggest me how to check/find whether Oracle version 1.5.5.59 need to be upgrade or not?
Yes.
Adobe - Photoshop CS5 Extended System Requirements
Maybe you are looking for
-
Audigy 2 ZS Platinum Pro/Sound card quest
Hi all, Since the I/O box on the Platinum Pro series has no rca out connection, does anybody know if I can use the lines out on the card at the same time the I/O is plugged into it's Thanks, Dale
-
????i have an old and a new adobe ID and a new one. need to link them . i have over 100 books from old id that will not open now on my ereader. please help
-
Sap script convert to pdf and then send to email
Hi, good day sap guys ive dev the sap scipt for customer statemnet one which is used the t.code is f.27. i need to convert the sap script to pdf and then send to email. plz let me know.. how to do it. regards chandu
-
ViewSonic VX2235wm widescreen LCD
I'm a new Mac user - received my mini last night. I bought a 22 inch Viewsonic widescreen LCD (VX2235wm) and am happy to say that the Mac Mini supports the monitor's native resolution of 1680x1050 (DVI connection). mac mini
-
Validation for 2 attributes in a single expression
Hi All, I have a scenario such that I need to make 2 attributes as mandatory when I chose a particular Category node. Now I am able to write, execute validation for one attribute but when I write for 2 attributes, only the first attribute is being co