Oracle SQL Developper
How to view data edited in Arabic langage by using Oracle SQL Developer
Since you have not mentioned OS version i would assume it is windows.
In order to view chinese characters I did :-
Start -> Control Panel -> Regional Settings / Regional & Language options ->
Go To -> Key Board & Language options (installed language that I wanted to use).
ALTER SESSION SET NLS_LANGUAGE='SIMPLIFIED CHINESE';
ALTER SESSION SET NLS_TERRITORY='CHINA';
And it worked fine in SQL Developer.
- Kartik
Similar Messages
-
Oracle SQL Developper and SQL Server Connection
Hello
I try to connect to a SQL Server 2005 Database under Oracle SQl Developper but I always obtain this error :
oracle.jdeveloper.cm.CMException: Unable to find driver: net.sourceforge.jtds.jdbc.Driver
at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.createConnection(RaptorConnectionWrapper.java:164)
at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getJdbcConnection(RaptorConnectionWrapper.java:191)
at oracle.dbtools.raptor.conntypes.RaptorConnectionWrapper.getPresentation(RaptorConnectionWrapper.java:66)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo.createConnection(Connections.java:781)
at oracle.dbtools.raptor.utils.Connections$ConnectionInfo$ConnectRunnable.doWork(Connections.java:654)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
at java.lang.Thread.run(Thread.java:595)
I download the jtds driver. Where should I extract it on SQL Developper Folder.
Thanks a lot
Best regards
StéphaneHello!
Download jTDS - SQL Server and Sybase JDBC driver from http://sourceforge.net/project/showfiles.php?group_id=33291
In Oracle SQL Developer open Tools -> Preferences
Database -> Third Party JDBC Drivers
Add Entry
Browse the unzipped driver and add the jtds-1.2.jar file
emeriqus -
Queries in SQL developper do not return anything?
Hello there,
First of I am completely new to Oracle and IT in general. Apart from having used computers since the heyday my knowledge of programming is very little. I have been reading Oracle documentation and bought the CBT nuggets tutorials to prepare for examination.
I have followed the instructions to install the HR schema which worked in SQL*Plus but whenever i go into SQL developper and create a connection using the same username/password as I did in SQL*plus, then type in the select table_name from user_tables; query, nothing happens.
What am I doing wrong? Am i simply not connecting to the same DB?
Thanks in advanceSo when i set up the HR schema using SQL plus and was prompted to give a password for HR, i did that. Now when i open up the SQL plus (as administrator) and log in using username HR and the password i set for it, I can access the Schema's default tables such as employees.
However on SQL developper, I open up a new connection called HR and put the same password that HR uses on SQL plus but whenever I attempt a select statement there are no returns. It just seems like SQL developper is not connected to the database.
I am currently using the CBT nuggers tutorial for the fundamentals exam 1z0-051 and the tutorial uses both SQL developer and SQL plus.
I appreciate all the responses but unfortunately I am stuck :(
I get this message when i go to Query builder:
Text is not a valid, single SELECT statement.
Syntax Error at line 4, column 9
select * employees;
^^^
Expected: ',','BULK','FROM','INTO',BULK_COLLECT_opt,from_clause,into_list,
Query Builder disabled.
Edited by: Vlakarmis on Jan 2, 2013 7:04 AM -
SQL Developper 1.2 : BFILE save BUGs
My environment :
SQL developper 1.2.1 buid 32.13
Windows XP SP2
Java JRE ( downloaded with SQL Developper )
Oracle 9.2
When it occurs :
Edit a BFILE data in a table ( with the file or the location that does not exists anymore )
Try to save the data in a file whith button save.
Then press button OK.
2 problems :
- The file is empty
- A java.lang.NullPointerException occurs :
java.lang.NullPointerException
at oracle.dbtools.raptor.extendedtype.BFILEType.saveToDisk(BFILEType.java:103)
at oracle.dbtools.raptor.controls.celleditor.ExtendedTypeEditPanel.saveToDisk(ExtendedTypeEditPanel.java:393)
at oracle.dbtools.raptor.controls.celleditor.BFileEditPanel.processExtendedType(BFileEditPanel.java:189)
at oracle.dbtools.raptor.controls.celleditor.ResultSetCellEditor.showExtendedTypeEdit(ResultSetCellEditor.java:286)
at oracle.dbtools.raptor.controls.celleditor.ResultSetCellEditor.access$200(ResultSetCellEditor.java:49)
at oracle.dbtools.raptor.controls.celleditor.ResultSetCellEditor$1.actionPerformed(ResultSetCellEditor.java:137)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Hops it will help you to find & solv the problem
Thanks for you work ( I like this software )
PS : Sorry for my poor english ...
Message was edited by:
user604094My environment :
SQL developper 1.2.1 buid 32.13
Windows XP SP2
Java JRE ( downloaded with SQL Developper )
Oracle 9.2
When it occurs :
Edit a BFILE data in a table ( with the file or the location that does not exists anymore )
Try to save the data in a file whith button save.
Then press button OK.
2 problems :
- The file is empty
- A java.lang.NullPointerException occurs :
java.lang.NullPointerException
at oracle.dbtools.raptor.extendedtype.BFILEType.saveToDisk(BFILEType.java:103)
at oracle.dbtools.raptor.controls.celleditor.ExtendedTypeEditPanel.saveToDisk(ExtendedTypeEditPanel.java:393)
at oracle.dbtools.raptor.controls.celleditor.BFileEditPanel.processExtendedType(BFileEditPanel.java:189)
at oracle.dbtools.raptor.controls.celleditor.ResultSetCellEditor.showExtendedTypeEdit(ResultSetCellEditor.java:286)
at oracle.dbtools.raptor.controls.celleditor.ResultSetCellEditor.access$200(ResultSetCellEditor.java:49)
at oracle.dbtools.raptor.controls.celleditor.ResultSetCellEditor$1.actionPerformed(ResultSetCellEditor.java:137)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Hops it will help you to find & solv the problem
Thanks for you work ( I like this software )
PS : Sorry for my poor english ...
Message was edited by:
user604094 -
I usually use a combination of Oracle SQL Developer and Toad on a daily basis.
Recently, Toad has been going crazy on me, for some reason, McAfee starts going ballistic everytime TOAD is launched.
My problem is that, SQL Developer doesn't work for "Reporting" (as far as I know), so I've always been forced to use TOAD instead.
Does anyone know how to make "Reporting" possible in SQL developper? What I do is pretty simple, I'm writing reports to support an operation; the report contains the dates, client names etc. formatted in a certain (simple) manner. I then execute SQL queries and display the results at the bottom of the report header.
Examples of code returning errors:
line 1: SQLPLUS Command Skipped: set pagesize 9999
line 2: SQLPLUS Command Skipped: set linesize 112
line 4: SQLPLUS Command Skipped: column Reg FORMAT A9 HEADING 'REGION': only "column .. new_value .." supported
line 5: SQLPLUS Command Skipped: column RELD FORMAT A12 HEADING 'RELEASE|DATE': only "column .. new_value .." supported
The following:
SET TERMOUT OFF
COLUMN curdate NEW_VALUE report_date
SELECT TO_CHAR(SYSDATE,'DD-MON-YYYY') curdate
FROM DUAL;
will display in the output window :
CURDATE
07-JAN-2011
Instead of showing nothing (TERMOUT OFF).
At the end of my output window, I see the results of my query but with the desired column names missing...
Any ideas? How could I make this work?riedelme wrote:
Recently, Toad has been going crazy on me, for some reason, McAfee starts going ballistic everytime TOAD is launched.I hate it whan that happens :(
This isn't what you asked (specifically how to format ouput in SQL*Developer) but ...
Is there any reason why you can't use SQL*PLUS to do your reports, which does support the formatting you are looking for? The scripting and reporting capabilities are why I still use SQL*PLUS, and the reporting jobs can be batched through a schedulerAbsolutely. It looks as if the scripts the OP is running were developed for SQL*PLus and have migrated to Toad. How much more convenient to have them run automatically and have them available when you arrive in the morning. -
Sql Developper and Informix Database
Hello
It is possible to connect informix database from Sql Developper ?
I download the JDBC driver an install it.
I already setup the third party JDBC drivers, but when i create new connection
(Advanced connection type), and test, it doesn't work.
Any help ?No, we do not currently support Informix. The list of supported third parties is here:
http://www.oracle.com/technology/products/database/sql_developer/files/Certification.html
Sue -
How to print a something in oracle sql developer
Hello all
Do you know How to print a something in oracle sql developer? i mean for example in the query we write something, (offcourse i dont mean comments)
thank u in advance.
best1003209 wrote:
Hello all
Do you know How to print a something in oracle sql developer? i mean for example in the query we write something, (offcourse i dont mean comments)
thank u in advance.
bestDBMS_OUTPUT() -
Oracle SQL Developer 1.0 is easy to install and use, and is portable
I have tried the latest version of Oracle SQL Developer 1.0 and would like to share my experience of using it.
Installation of Oracle SQL Developer 1.0
Download from
http://www.oracle.com/technology/software/products/sql/index.html?_template
Unzip the Oracle SQL Developer for Windows (55.8 MB) to C:\sqldeveloper (103MB)
Advantages: The unzip folder can be your removable disk and you can access Oracle
anywhere provided that there is an Internet connection to Oracle Server.
Unzip sqldeveloper-1557.zip to C:\ with folder name;
double-click on sqldeveloper.exe in c:\sqldeveloper
Click on [No]
Tick all check boxes
Click on [OK]
Right-click on Connections, New
Database Connection…
Enter User name: SCOTT
Password: TIGER
Hostname: 127.0.0.1 (or IP of your Oracle Server on the Internet)
SID: orcl
If you want to connect to local Oracle user SYS,
Enter User name: sys
Password: ora10g_manager_password
Hostname: 127.0.0.1
SID: orcl
Select Role: SYSDBA
Click on [Connect]
Right-click on Tables, Create Table
Click on [Add Column]
Select Type: NUMBER for COLUMN2
Click on [OK]
Table1 is created
Click on TABLE1, click on “Data” tab
Click on the “Green Plus” icon to insert record
Click on “Commit Changes” icon
Click on “DBConnection1” tab
Enter: select * from table1;
Click on “Execute Statement (F9)” icon
To exit: Click on File, ExitHave you noticed that there's a forum dedicated to SQL Developer?
C. -
Copying from Oracle SQL Developer Worksheet doesn't retain formatting (font,color etc...)in Microsoft Word but copying from other programs such as
visual studio, chrome browser etc works fine. This doesn't work even after changed the setting to Keep Source formatting of Options-> Copy and Paste SettingsHi,
I notice that you have cross posted in Answers forum and Oracle forum. Have you tried Mr. Peter's suggestion?
Then, I recommend we check the Word settings:
1. Go to: Options > Advanced > Cut, Copy and Paste
2. Make sure that Use smart cut and paste is ticked.
3. Click the Settings button next to this option
4. Make sure that Smart Style
Behavior is checked.
If the issue still exists, please upload a sample through One Drive, I want to test.
Regards,
George Zhao
TechNet Community Support -
Unable to connect to Oracle Database using Oracle Sql developer 2.1.1.64
Hi Everyone,
I am searching for some help regarding my problem with Oracle connectivity. I have installed Oracle 11g release 2 on my Windows XP Professional Laptop. For a few days after installation i could connect to the Oracle database with the SYSTEM account using Oracle SQL developer ( installed on the same Laptop) but now i am unable to do so.It gives me this annoying message:
An error was encountered performing the required operation Got a minus one from read call .Vendor code 0
However i am able to connect using Sql Plus by supplying the username SYSTEM and the corresponding password.
My TNSNAMES .ora file is as follows:
ORACLE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORACLE)
ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
My Listener.ora file is as follows:
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CLRExtProc)
(ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
(PROGRAM = extproc)
(ENVS = "EXTPROC_DLLS=ONLY:D:\app\product\11.2.0\dbhome_1\bin\oraclr11.dll")
(SID_DESC =
(GLOBAL_DBNAME = Oracle)
(ORACLE_HOME = D:\app\product\11.2.0\dbhome_1)
(SID_NAME = Oracle)
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(PROTOCOL_STACK =
(PRESENTATION = GIOP)
(SESSION = RAW)
ADR_BASE_LISTENER = D:\app
My Sqlnet.ora file is as follows:
SQLNET.AUTHENTICATION_SERVICES= (NTS)
NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
I am new to Oracle and so i need someone in this forum who can help me resolve this problem. Also i even tried connecting to the database using Toad 10.5.0.41. It give me the following error:
ORA 12537 : TNS Connection closed
Thanks for your patience and help in advance.
---PrashantHello Irian and Sue,
I can connect to the Oracle database using SQL Plus. Now when i TNSPING ORACLE from command line i get the following message :
Used parameter files:
D:\app\product\11.2.0\dbhome_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =localhost
*)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = ORACLE)))*
TNS-12537: TNS:connection closed
Thanks for your response to my initial post.Do u have any other methods to resolve this? -
Problem with java.sql.Clob and oracle.sql.CLOB
Hi,
I am using oracle9i and SAP web application server. I am getClob method and storing that in java.sql.Clob and using the getClass().getName() I am getting the class name as oracle.sql.CLOB. But when I am trying to cast this to oracle.sql.CLOB i am getting ClassCastException. The code is given below
java.sql.Clob lOracleClob = lResultSet.getClob(lColIndex + 1);
lPrintWriter = new PrintWriter(new BufferedWriter (((oracle.sql.CLOB) lOracleClob).getCharacterOutputStream()));
lResourceStatus = true;
can anybody please tell me the what is the problem with this and solution.
thanks,
Ashok.Hi Ashok
You can get a "ClassCastException" when the JVM doesn't have access to the specific class (in your case, "oracle.sql.CLOB").
Just check your classpath and see if you are referring to the correct jar files.
cheers
Sameer
PS: Please award points if you find the answer useful -
I recently started working on the Oracle SQL developer. I have 'select' privileges on the QA schema and when tried to execute proc in QA. It is giving the error as 'The file-based source <procedure Name> is not present in the database. Was it compiled?'
instead 'you do not have sufficient privileges to execute this procedure'. Did research on internet but with no luck.What configuration changes needed to be done to make it work.Guide me.Sounds like you do not have the correct privileges. What should have been granted to you by the QA user, or some other user with appropriate privileges, is...
grant EXECUTE on "QA"."<PROCEDURE_OF_INTEREST>" to "<YOUR_USERID>" ;
Note that a grant of execute on a procedure has nothing to do with grants of select on some or all of QA's tables and views.
So, as Vadim suggests, from your connection node in SQL Developer's Connections view, if you expand the Other Users node, then expand QA and look in the Procedures node, do you see the procedure of interest? If not, you cannot expect to be able to execute it from your userid's connection. And even if you do see it, you may have some other privilege that permits viewing but not executing, like...
The role SELECT_CATALOG_ROLE
The system privilege SELECT ANY DICTIONARY
And even if you do not see it there, then having certain other privileges granted to you could permit executing it in general, like...
The role EXECUTE_CATALOG_ROLE
The system privilege EXECUTE ANY PROCEDURE
Also, note that the 3.0 release is a bit dated nowadays. Upgrading to 4.0.3 production or even the 4.1 EA2 (early adopter) release will, in general, give you a better experience.
Best wishes,
Gary -
Can we use different Databases (Oracle & SQL Server) in one report?
Post Author: venki5star
CA Forum: .NET
Hi there.
Can we use different databases (Oracle & SQL Server) in a same report?
If possible how?
Another question,
Can we change the Provider Name at runtime of the given report. If so the above question is useless...
Thanks in Advance.I tried this using Oracle Provider for OLEDB (the one that supplied by Oracle Client) and Crystal Reports 9. you can drag the column into designer but the image does not appear in preview.
I guess it's because CR does not recognized it as image, and there are no information that the blob data is an image at all. -
How to change the password of a schema using Oracle SQL Developer
Hi need to change the password of a schema using Oracle SQL Developer how do i do it?
Hi
alter user username identified by password -
How to see dbms_output on oracle sql developer
ned immediate help
how to see dbms_output on oracle sql developerHi,
In sql developer u have a tab named DBMS Output in your result sheet. In that the first Icon is Enable DBMS Output. turn it on (After on it will give the message set serveroutput on in the sheet) and then run your code.
In the code u have to use the dbms_output.put_line package.after running the code u have to see the result in DBMS Output tab.
Regards,
NTR
Maybe you are looking for
-
How to print Jtable values in one A4 size paper
Hi, i am having JPanel , this panel have Jtbale, Jtextfield, Jlable, i search the code for Printing Jpanel, its work fine and print whole JPanel including, jtable, textbox, everything. my Jtable have Scroll bar to see all the values in the table,my p
-
Hello Experts, I am passing a XML document form the Java to Flex using Remote Object. My XML is as follows <root> <dept ID="1" Name="RND" <Emp ID="1" Name="Aj"/> </dept> <dept ID="2" Name="ENG"> <Emp ID="1" Name="Aj"/> </dept> <dept ID="3" Name=
-
BPM Composer Player Configuration
Hi I Configure my BPM server Behind a proxy (3 SOA Cluster and Proxy Server). when I want To play a process in BPM Composer, and launch to web Form (Not ADF form), BPM Composer try to load form from url that contain server name instead of Proxy url.
-
When I open Firefox, the tabs for the homepages are dark grey and the print is a lighter grey but they are hard to read. How can I change the color of these tabs and fonts?
-
How do you access Acrobat 7.0 professional on windows 7
I have purchased a new computer and have Adobe Acrobat 7.0 Professional and I put in my serial number but I still can't get activation on the software. Please let me know if this can be resolved or am I forced to purchased the latest version.