The value of the indentation / tab size in Oracle SQL Developer

I've been searching for an hour. Cannot understand this.

Where, on the UI of the application or in the file 'product - preferences.xml', can I change the (tab) indentation size developer SQL 3? My organization uses PowerBuilder, and when I copy + paste our SQL PB (which uses the main tabs) in Oracle SQL Developer, it looks like crap. It would really help if I could change the code editor for a tab size equivalent to three spaces.

And no, we cannot use spaces. :-)

Thank you!

(maybe SQL Developer 2 might have a field of size tab in 'Préférences')

1.5.x, it is under Preferences - database - SQL Formatter - alignment and Indentation .
However, at least in the 1.5.3 current, a bug ignores the preferences of the tab completely, so you are stuck with 2 spaces. If you can't wait until it gets fixed (with luck in the upcoming 1.5.4 or maybe 2.0), revert to a previous version.

Kind regards
K.

Tags: Database

Similar Questions

  • How can I find out what is the cause of this error in SQL Developer Data Modeler

    Friends,

    I am trying to import features in SQL Developer Oracle Designer 10.1.2.3 Data Modeler.

    If you need perform the following steps to import:

    Template file-> Import-> Oracle Designer-> select connection to the base-> select work area-> select System application-> select an entity-> click Finish-> begins to import


    During the import process, I see an alert with the message dialog box:
    There are errors in import - check Log file 
    Clicking Ok dismisses the alert box, and I see the following summary screen:
    Oracle SQL Developer Data Modeler Version: 2.0.0 Build: 584
    Oracle SQL Developer Data Modeler Import Log
    Date and Time: 2010-08-09 14:27:26
    Design Name: erdtest
    RDBMS: Oracle Database 10g
    
              All Statements:           32
              Imported Statements:      32
              Failed Statements:           0
              Not Recognized Statements:      0
    The entity appear in the logical view in SQL Developer Data Modeler.

    While they were inspecting the log file, I see the following entry:
    2010-08-09 13:50:34,025 [Thread-11] ERROR ODExtractionHandler - Error during import from Designer Repository 
    
    java.lang.NullPointerException
         at oracle.dbtools.crest.imports.oracledesigner.logical.ODORelation.createArcs(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.logical.ODORelation.generate(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.ODExtractionHandler.generateDesign(Unknown Source)
         at oracle.dbtools.crest.imports.oracledesigner.ODExtractionController$Runner.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:619)
    Anyone can shed light on this error?

    Thanks in advance for any help you may be able to provide.

    We have identified that objects recovered and on the branches are not considered by the Data Modeler. This bug has been connected (#10022016) and is being implemented.

    What

  • Connection tab Sybase shows is not in the new option of connection in SQL developer

    Hello

    I do not see a Sybase connection tab in the new connection option in SQL developer 2.1, as it was available in version 1.5

    Why is this? How to fix?

    Hello

    Have you installed the JTDS JDBC driver still in SQL Developer.
    This is necessary before you get the tab connection for SQL Server and Sybase.

    You can install the driver, JTDS action to Check For Updates.

    Kind regards
    Dermot
    SQL development team

  • How export (unload) result of the query without running query on sql developer

    Hello

    I want to know how export (unload) result of the query without running query on sql developer.

    I know this way.
    1. execution of query
    2. click on "Download" on the results tab
    http://i.stack.imgur.com/CQ4Qb.jpg


    Is he available unload a query result before the race?

    No, but you can do this ask the developer SQL change however, for other users can vote and add weight to the possible future implementation.

    Kind regards
    K.

  • Oracle SQL Developer 1.5.5 cannot save the file

    I change the contents of a column in a table, I get this trying to save the changes:

    Failed to save TABLE... ("Failed save the changes").

    This error will disappear when I do the same task in Oracle SQL Developer 1.1.3.
    Please help me!

    You can avoid the prompt variable substitution with 'set scan off' at the top of your script. Who does not have the problem that the generated update is not updated all the records because of the clause last ORA_ROWSCN. This can happen if someone else updates the row that you questioned it before you have saved your update, but there were other problems with the clause ORA_ROWSCN generated from memory.

    In addition, the reason why you couldn't see the new value when querying after the update was that developer SQL has replaced the bit '& cc' of the string with the contents of what you typed in the field of variable substitution. If it wasn't, then the value would have been the same after the update.

    theFurryOne

    Published by: thefurryone on August 6, 2009 12:41

  • Oracle SQL Developer to the database unifying connection

    Hello community!

    I am developing a SQL string that will pull data from various processes of cost (i plan to wrap the dataview object in a cube and publish a dashboard after that). I was wondering if there is any way to connect oracle SQL Developer for oracle hosted instance unify to create code more efficiently? If so, explain the steps for me please?

    I can get the following information of Oracle BI Publisher, see Exhibit A.

    I have to fill in the fields in Appendix B and this is where I don't know how to do this, see Exhibit B.

    Your help is highly appreciated

    Concerning

    Amir

    Hi Amir - there is currently no way to directly connect to the DB for unifying hosted environments. We are currently working on this issue.

    In the meantime, you can use the SQL Editor in your BI Publisher server interface. You build instructions SQL can then be pasted in via data in unifying views.

  • How to change the password of a schema by using Oracle SQL Developer

    Hi need to change the password of a schema by using Oracle SQL Developer, how can I do?

    or maybe http://www.thatjeffsmith.com/archive/2012/11/resetting-your-oracle-user-password-with-sql-developer/

  • How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?

    Hello

    How can I use statistics for all the tables in a schema in SQL Developer? and how long will it take on average?

    Thank you

    Jay.

    Select the connection and right-click on it and select schema statistics collection

  • I changed the name of the computer, now I can not connect to Oracle SQL Developer

    Hello my friends!

    Everything worked perfectly until I needed to change the name of the computer and now I can no longer connect in Oracle SQL Developer 3.1.
    I restarted Oracle 11 g by stopping and restarting. The order message said stop and start successfully. This tells me Oracle 11 g Express is running, but I can no longer
    connect to Oracle SQL Developer 3.1.

    How can I fix?

    Thank you all!

    J man,

    I'm not a pro at Oracle XE, but I would say that this is not a problem of SQL * Developer, but the listener of OracleXE.
    Now, I'm in total guessing game mode:
    find the "listener.ora" file in your Oracle installation (from [url http://docs.oracle.com/cd/E17781_01/server.112/e18804/network.htm#ADMQS168] this document is c:\oraclexe\app\oracle\product\11.2.0\server\NETWORK\ADMIN\listener.ora
    I'm sure that it is coded in the old hostname, simply replace it with the new host name.
    Restart your receiver and please try to connect again.

    HTH,
    Berx

  • How to solve the problem of Oracle SQL Developer Connection?

    People,

    Hello. I use the Oracle 11 GR 1 material database. The database https://localhost.localdomain:1158 control console / em works correctly. I can create a database and a table with success.

    My OS is Linux and connects to the internet successfully.

    In order to execute SQL statements. We use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:

    Connection name: DB1 (is my database name)
    User name: SYS (this is the user name I used to connect to the Console)
    Password: SYS (this is the password used to connect to the Console)
    Connection type: basic
    Host name: localhost
    Port: 1158
    SID: DB1 (it is created during the installation of the database)

    But the error message: "status: failed - IO exception Connection Reset."

    Can any folk tell me how to solve the problem of Oracle SQL Developer Connection?

    user8860348 wrote:
    People,

    Hello. I use the Oracle 11 GR 1 material database. database Control Panel https://localhost.localdomain:1158 / em works correctly. I can create a database and a table with success.

    My OS is Linux and connects to the internet successfully.

    In order to execute SQL statements. We use Oracle SQL Developer. I connect Oracle SQL Developer in the following way:

    Connection name: DB1 (is my database name)
    User name: SYS (this is the user name I used to connect to the Console)
    Password: SYS (this is the password used to connect to the Console)
    Connection type: basic
    Host name: localhost
    Port: 1158
    SID: DB1 (it is created during the installation of the database)

    But the error message: "status: failed - IO exception Connection Reset."

    Can any folk tell me how to solve the problem of Oracle SQL Developer Connection?

    user name: sys
    password: enter_your_correct_password given at the time of the installation of oracle

    role: select sysdba if you would connect as sysdba otherwise select normal for users other than the sys

    HostName: Enter your ip or hostname of the oracle example server address:-192.168.11.12

    to find the terminal/command prompt open hostname in oracle installed machine
    type---> hostname

    type ping hostname--->

    You can find the IP address of the server

    Port number: 1521 (default)---> I guess, otherwise check the port number in the file tnsnames.ora under your ORACLE_HOME/network/admin folder

    SID: DB1

    try it
    Good luck

  • What are the best free tools for Oracle DBA development?

    Hi, I have been for years production dba. I am familiar with a complete cycle of the installation of the database, configure, backup recovery, etc.

    Now my role will change soon for development dba. I have no problem to create instances. Then in the data modeling, data standardization, etc., what kind of tools I can use?

    Good suggestions, or documents that you can provide?

    Thanks in advance.

    Oracle SQL Developer Data Modeler and Oracle JDeveloper can be used for data modeling. Both of these tools are free. You can try and make your idea - they are free.
    We will be happy to receive your comments on Data Modeler.

    Philippe

  • I need to install the Oracle client until I can use Oracle SQL Developer?

    Hi all

    I used to use the PL/SQL Developer to connect to the Oracle server, and before it can work, I have to install Oracle on my PC client.

    So I wonder to know if I use Oracle SQL Developer, what I have to do the same thing? If not, why?

    Thank you very much.

    Hello Serge,

    you don't need a client. Developer SQL uses JDBC to connect.

    Concerning
    Marcus

  • Taking JDBC connection configuration supported the RAC in Oracle SQL Developer?

    How can one Oracle SQL Developer be configured to successfully connect to a [Oracle RAC | http://en.wikipedia.org/wiki/Oracle_RAC] environment, that is, not only the installation program always to connect to one of the individual nodes?

    [http://programmersjournal.blogspot.com/2008/08/jdbc-connection-string-for-oracle-rac.html] is an example of a classic and taking version supported the equivalent CARS of a JDBC connection string. I've used a CAR of the same format connection string from within Java applications custom without problem. I thought that the same thing should be configurable in Oracle SQL Developer, by setting the 'Connection Type' drop-down menu on "Advanced", then enter the connection string JDBC RAC-aware as "Custom URL JDBC". However, after the test connection, the following error message is displayed at the bottom of the dialog box:

    Status: Failure-Test failed: IO exception: NL Exception has been generated

    There is no additional information shown on the display 'Page Logging'. With the help of Oracle SQL Developer 1.5.5.

    Thank you!

    You could always give the current 2.1 ai2 test... continuous development may have fixed the issues in this area...

    Hope that helps,
    K.

  • A question about the Oracle SQL Developer Oracle instance connection

    Hi all

    I would be grateful if you could kindly give me a helping hand.

    Recently, I installed the Oracle 11 g on Linux (ubuntu 8.10) database. I not create startup scripts. So here's how I start the server: (my linux user name is "dariyoosh", but in order to start the server I have connection on the terminal shell as user 'oracle')
    dariyoosh@alborz:~$ su oracle
    Password: 
    oracle@alborz:/home/dariyoosh$ cd
    oracle@alborz:~$ ORACLE_SID=database01
    oracle@alborz:~$ . oraenv
    ORACLE_SID = [database01] ? 
    The Oracle base for ORACLE_HOME=/u01/app/oracle/product/11.1.0/db_1 is /u01/app/oracle
    oracle@alborz:~$ sqlplus '/as sysdba'
    ...
    SQL> STARTUP NOMOUNT
    ORACLE instance started.
    ...
    SQL> ALTER DATABASE MOUNT;
    ...
    SQL> ALTER DATABASE OPEN;
    
    Database altered.
    Then I can work without any problems with my database and everything works pretty well. Today, I decided to install Oracle SQL Developer IDE as it makes it easier to modify the SQL code. My problem is that after reading the tutorial Oracle online, that I am still able to connect to my database. Firstly according to the method that I wrote, I have set up the Oracle instance. But then when I run Oracle SQL Developer I don't know what to choose for the user name and password? because since SQL * Plus shell as you can see I always write: "sqlplus 'virtue sysdba' and it does not prompt me for any password, I can access the database directly." Any idea? What password? What user name? for Oracle SQL Developer?

    Thanks in advance.

    When you connect "/ as sysdba", you actually connect as the user named SYS from the privileges of your operating system. SYS is the owner of the database and a privileged user. You really want to use this username for the day to day operations, but only for what can do only SYS. If you need a different user name. Several Oracle databases have a user named SCOTT who has a number of tables for use tutorial. By default, the password for SCOTT's "Tiger." You may also have other demo users, such as "HR". I admit that I forgot what is the password of the HR, but it doesn't really matter because SYS can change with this command:

    ALTER USER hr IDENTIFIED BY whateveryouwant;
    

    This command:

    SELECT USERNAME FROM ALL_USERS;
    

    lists all the users in your database. Understand that many of these users are there as owners of objects such as stored procedures and tables for Application Express, or TYPEs for Oracle Locator, not for general use. When you are ready to create your own objects, ask SYS create a username for them with

    CREATE USER myusername IDENTIFIED BY mypassword;
    

    and grant that user the privileges as necessary. You'll want to read before you get too far - I think that the developer of the Application Guide is a good starting point.

  • The using Excel and Oracle SQL Developer data import - I need help

    Dear friends,

    I use Oracle SQL Developer 1.5.1 and I need to import an Excel file into a database table. If I try to import this file into XLS format, fields and headers are properly presented and separated, but if I press the button 'Next', it does nothing - it remains stopped.

    I did some research here in this forum and it seems to me that when you try to import a file via the XLS format, Developer SQL has bugs. Is this correct?

    If I save the same file in the CSV format and try to import the same file, it moves forward, but SQL Developer is not separating headers and fields correctly. It includes all CSV fields into one - say Column0 and fields 1. TEST; 01/01/2000 under the same Column0.

    Save the file in the CSV format is not a problem, by taking a little time. But I don't know how to make Developer SQL import correctly. Could someone help me please? Thanks in advance.

    Best regards

    Franklin

    This is a known bug in 1.5.1 so use 1.5.0 to import from Excel.
    With respect to the CSV, make sure that you have the right setting in the Preferences - Database - settings of export of genres - delimiter of export custom .

    Have fun
    K.

Maybe you are looking for