Issue with SQL Developer 4.1 Early Adopter 2 - start sql-script by "@"

Hi,
today i realized, that starting a sql-script by writing @scriptname.sql in a sql worksheet and press F9 to start the script, does not work anymore.
With EA2 there is always an error message shown like "unkown command" with some strange characters "�������������������������������" in the script logging window.
The sql-scripts are located in a filesystem folder the os environment variable SQLPATH points to.
In Version 4.0.x this worked perfect! Is this a planned "feature" or just a bug in EA2 fixed in later EA versions?
In addition, when i open such a sqlscript with the file open menu in sqldeveloper the content of the sqlscript is not shown in the script window. There are only some none printable characters "�����" displayed in the sqlworksheet, and not the "select ..." a normal texteditor shows.
Thanks in advance
Matthias

Hi,
with encoding set to utf8 it does not work. Don't know why. After setting the encoding to "cp1252" everything works fine again! Thank you very much!
Matthias

Similar Messages

  • Can SQL Developer 3.1 Early adopter be used on production ?

    Can SQL Developer 3.1 Early adopter be used on production ?

    Can , sure. Advisable , not officially.
    Your call...
    Regards,
    K.

  • SQL Developer 4.0 Early Adopter 2 - avoid "Please amend your code to something like this" message

    When I edit PL/SQL packages or sql queries in SQL Developer 4.0 Early Adopter 2,
    when i copy/paste SQL code, sometimes "Please amend your code to something like this: "select * from when", or "begin when; end;" appears.
    Sometimes SQL Developer freezes.
    Can I avoid that message (turn off some kind of checks in SQL Developer properties)?

    This has been raised/documented fixed in future releases here:
    EA42 - Ambiguous Context Pop-up

  • DBMS Output - Oracle SQL Developer 3.0 Early Adopter 2 (3.0.02.83)

    The DBMS output is not working in 3.0.02.83. Whenever i turn on the DBMS Output for a DB connection nothing happens. I run the same script in older versions and it works. The script could be as simple as a small anonymous block with a print statement (dbms_output.put_line)

    Currently it's broken but you have a workaround
    30EA2 dbms_output.put_line not working
    Hope it helps,
    Dani

  • SQL Developer 3.1 Early Adopter 3 Available

    Hi,
    See announcement posting:
    https://forums.oracle.com/forums/ann.jspa?annID=1730
    Thanks, Mark

    Can , sure. Advisable , not officially.
    Your call...
    Regards,
    K.

  • Does SQL Developer support a default Path to SQL scripts

    Just started using SQL Developer.
    In the past, I created shortcuts on my PC desktop to run SQLPLUS to the different
    instances as follows:
    1. Create a shortcut to PLUS80W.exe
    2. Set the property "Start in" to a directory where the SQL scripts are located.
    3. Add the login/password@instance to the end of the shortcut.
    In this way, ypu only needed to click on the shortcut to log into SQLPLUS and run your
    scripts via @script.sql etc.
    Can you setup a default path to SQL scripts SQL Developer so that it can locate
    the scripts on your PC ?

    I did notice in version 13.43 that if you close SQL Developer with a SQL script open in the SQL Worksheet, when you startup SQL Developer the next time it automatically opens the file in the SQL Worksheet with no database connection. It also sets the default path for SQL scripts to be the directory where your open SQL file resides. If you right-click in the SQL Workshop and then click on "Open File" the directory defaults to the directory of the SQL file that is open.
    Mike

  • SQL Developer - Adding a column comment via SQL

    When I add a comment in SQL*Plus via SQL, such as COMMENT ON COLUMN "MY_OWNER"."MY_TABLE"."MY_COLUMN" IS 'column comment' it works fine. When I try the same thing in SQL Developer I receive a message "No SQL statement entered".
    I realize this can be done in SQL Developer via action buttons in the user interface; but I need to be able to do it via SQL since my procedure generates this code for hundreds of columns at one time.
    Is there a SQL way to do this in SQL Developer? Alternatively, can SQL Developer call SQL*Plus to run commands?

    This is a current bug when executing as statement (F9).
    Good news is it does work when running as script (F5).
    Have fun,
    K.

  • Issue with create user and issue with Java Development tab

    I have two issues with EP,
    1. When i login with Super Admin user, i am unable to Create any user from User Admin tab. Do i have to change the settings of the Super Admin? or is there any criteria for creating the user?
    2. How to assign any user the Java Development tab. Though i login with a super admin user i am unable to see the Java Development role and when tried to assign the role, there were no searches for that Java....

    Hi Adi,
    by default the super administrater has got all permissions. Thus you should be able to create portal users when using a user assigned to the portal group Administrators.
    In order to help you with your first question we need more information. Please describe the malfunction in detail. Have a look into the log files and post related error messages.
    Regarding your second question: You will find the java development role in PCD
    pcd:portal_content/com.sap.pct/platform_add_ons/com.sap.pct.pdk/Roles/com.sap.pct.pdk.JavaDeveloper.
    If not, then you haven't installed the PDK business package in your portal.
    Go to service.sap.com, choose downloads and search the package (PDK should do it). Download the package, and deploy on your portal using SDM.
    Best regards,
    Martin

  • SQL Developer dropping first column in a SQL SELECT

    Am not too certain who to report this to... but I just noticed that SQL Developer will not return the first column in a SELECT statement when there is a comment just after the SELECT reserved word when running the query in the SQL Worksheet. For instance:
    SELECT -- > HEADER INFORMATION STARTS HERE <--
    w.stu_id HDR_STU_ID,
    w.wiser_id HDR_WISER_ID,
    iep.wiep_id HDR_WIEP_ID,
    sis.wisis_id HDR_WISIS_ID,
    FROM wiser_exit exit
    INNER JOIN wiser w
    ON exit.wiser_id = w.wiser_id
    INNER JOIN wiser_iep iep
    ON w.wiser_id = iep.wiser_id
    INNER JOIN vw_wiser_iep_sis sis
    ON iep.wiep_id = sis.wiep_id
    will just return columns 2 - 4 (HDR_WISER_ID, HDR_WIEP_ID, and HDR_WISIS_ID), and NOT column HDR_STU_ID.
    I verified this by running the same query in SQL Commands in the SQL Workshop of APEX, and the resultset returned all the columns including HDR_STU_ID.
    Just ran another quick test in SQL Developer, and get the same results from a SELECT against a single table:
    SELECT -- > HEADER INFORMATION STARTS HERE <--
    county_cd,
    odd_even_flg,
    street_name
    FROM dime
    Did not return the county_cd column.
    I know, it's just a minor quirk, but I thought I would mention it.

    John,
    Thank you. I replaced the '--' comments with the '/*' '*/' style and it picked up the first column.
    I guess I'll just have to break an old habit I've been doing for years for comments. Dang, I hope all that old code doesn't break...
    Thomas
    Spoke too soon. I followed up by checking what Oracle's 'Oracle Database 10g The Complete Reference' had to say about the issue of using '--' for comments and under '-- (Comment)' it says "-- tells oracle a comment has begun. Everything from that point to the end of the line is treated as a comment. These delimiters are used only within SQL itself or in PL/SQL ..."
    So I guess I can continue using '--', but need to keep in mind that in certain circumstances it might not work as expected. YMMV
    Edited by: Thomas 8246 on Feb 19, 2010 8:09 PM

  • 30EA3 SQL Developer 3 error message while migrating SQL sever database

    I was mirating a SQL sever 2005 database to Oracle 11g, and got the following error message during the process:
    "Migration action have failed. Check the migration reports for Detail. :null".
    After the error message, I could see the "Captured Database Objects" and "Converted Database objects" under the "Migration Projects". However, if I open the generated scripts, it only contains the fowlloing, nothing else:
    "SET DEFINE OFF;
    PROMPT Creating User Emulation ...
    CREATE USER Emulation IDENTIFIED BY Emulation DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP;
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW, CREATE SYNONYM,CREATE PUBLIC SYNONYM TO Emulation;"
    What's the cause of this problem, please advice. Thanks.
    Bob

    Hi Bob,
    The next thing in the generation script should have been the definition of the sqlserver_utilities package.
    This package emulates some of the system functions found in SQL Server.
    It gets placed into your converted model as the very last step of the conversion.
    Building the generation script (where your failure happened) is straight forward and I wouldn't expect an error here.
    I would guess something went wrong during the capture or conversion and is only surfacing during the generation phase when it tried to write the sqlserver_utilities package to the generation file.
    I could be wrong, but I would manually check that conversion completed successfully first.
    1) Browse you converted model under
    Migration Projects "Nav" : Projects > YourProjectName > YourModelName(default a date)> Converted Database Objects > Procedures > YourProcName
    a) Are there any red crosses on any of these nodes in your navigator ?
    b) If you right click on a converted database name is "reconvert" grayed out or available?
    c) run the following in the SQL Worksheet against the same connection you used for the migration repository
    select * from md_packages;
    Is there one row there with the definition of sqlserver_utilities in its package_header and native_sql columns?
    Also do you have anything in the capture issues, conversion status or conversion issues reports (double click you project and the migration reports should pop up on the right hand side, each report a separate tab) ?
    Just trying to pinpoint what happened here.
    Thanks for your feedback,
    Dermot
    SQL Developer Team.
    Edited by: Dermot ONeill on Feb 16, 2011 2:48 PM

  • SQL Developer 3.0 hanging on start up in XWindows

    I hate this kind of post but I'm going to have to do it because I've tried everything I can think of... installed SQL Developer last week, and all worked fine. Then today, when I logged into my Linux host, it does not work.
    Upon launching sqldeveloper, I get a splash screen, that only advances two ticks on the progress bar, then hangs up, never to continue or return control back.
    I am using jdk1.7.0_02 with SQL Developer v3.0.04.34 on Oracle Enterprise Linux Server 5.6
    Any ideas or things to check or try?
    When I finally get tired of waiting and hit ctrl-C in the terminal window, I will get a message like this:
    Error: SQL Developer can't recognize the JDK version
    Edited by: joebednarz on Jan 17, 2012 12:38 PM

    Thank you for your response Alfonso...
    No, the JDK was not updated. I neglected to mention that this was not part of an Oracle client install, just SQLDeveloper rpm, therefore, no default JDK came with program.

  • SQL Developer Seems to have messed up SQL Plus & Crystal Connectivity

    Hi all,
    previously I have been able to connect to a DB via SQL Plus. Also, I have been able to report on it with Crystal Reports XI.
    I'm not certain, but I believe this has occurred since installing SQL Developer?!?!? Since once I installed, no need to use SQL Plus anymore and just haven't needed Crystal for a while.
    My TNSNames.ora in C:\oracle\product\10.2.0\client_1\NETWORK\ADMIN seems fine (it worked before)
    SQLNet.ora has the following in it......
    #SQLNET.AUTHENTICATION_SERVICES= (NTS)
    NAMES.DIRECTORY_PATH= ( TNSNAMES, EZCONNECT )
    A TNSPing returns.....
    C:\>TNSPING PVNGDEV1
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 09-SEP-2
    008 17:28:21
    Copyright (c) 1997, 2005, Oracle. All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\client_1\network\admin\sqlnet.ora
    TNS-03505: Failed to resolve name
    C:\>
    When I try and create a connection via Crystal I get....
    Crystal Reports
    Failed to open the connection.
    Details: ORA-12154: TNS:could not resolve the connect identifier specified
    [Database Vendor Code: 12154 ]
    This is sending me absolutely crazy and have already spent 1/2 day trying to fix it.
    Please - any ideas?
    Regards
    DC
    SQL Developer 1.5.1
    Oracle Client 10.2
    Crystal Developer XI

    PROBLEM SOLVED - WHAT A MYSTERY and a WASTE OF MY TIME.
    APOLOGIES TO SQL Develoepr for being the prime suspect - I still love you!
    TNSNAmes.ORA as follows works!!!!!!
    pvngdev1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ********)(PORT = 1521))
    (CONNECT_DATA =
    (SID = pvngdev1)
    However, the following does not
    PVODB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PVODB)
    PVOQA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SID = PVOQA)
    # - Enterprise Reporting
    ERSDEVDB =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SID = sasrpt)
    (SERVER = DEDICATED)
    # - PVNG
    PVNGDEV1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PVNGDEV1)
    PVNGQA1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PVNGQA1)
    DESTDEV1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = *******)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = DESTDEV1)
    Why is this.
    I guess I 'll build up TNSNAmes connection by connectuion and test and see how I get on.
    Regards all
    DC

  • Missing SQL Developer functions when connecting to MS SQL Server 2005

    Hi all,
    I've connected SQL Developer to a ms sql server db. Now I can't use the functions from SQL Developer like
    - Drag&Drop tables to the sql-sheet,
    - autocompletition of attributes (Strg+Space).
    Is this function not supported or do I have to change some preferences?
    THX Steve

    Unfortunately most of the advanced functions of SQL Developer are supported only for oracle databases, so on ms sql, or almost anything else you can do little more than browse data.

  • SQL Developer viewing schemas on an MS SQL Server

    Hi,
    I've connected SQL Developer to our MS SQL server in the hope we can dump some of the data it contains onto our Oracle 10g box.
    Problem is in the left hand connections pane we can only see one database on the sql server box at a time. If we want to see more than one database we have to make a new connection to each seperately.
    Is there any way of making SQL developer show and allow browsing of all the sql server databases for which the user has permissions in the same way it does for MySQL connections?
    Regards
    John

    No; it's even more restrictive (at least in Oracle DBs): 1 connection for each database AND schema (user).
    Regards,
    K.

  • SQL Developer database copy corrupts wrapped PL/SQL

    SQL Developer 3.0.04.34, database 11.2.0.2.2
    Database copy brings over the wrapped pl/sql DDL, but somehow corrupts the code and will not compile.
    It must be recreated from source plb file.
    expdp / impdp does not have this problem.
    This would appear to be a bug.
    Wayne Linton

    user4792902 wrote:
    Also it looks like the SQL Developer loads all the Data from sources Schema for each table in memory and copies to destination Schema.Yes
    Any idea how to over come that...Don't use it, use the database's IMPDP/EXPDP tools for copying large quantities of data or whole schemas or databases.
    Also adding the Filter or selection like the Database Export functionality in Database Copy will really be helpful in this kind of situation. The Developer team has any plans?Probably not right now, but you can request this at the SQL Developer Exchange though, so other users can vote and add weight for possible future implementation.
    Regards,
    K.

Maybe you are looking for

  • LCD TV as a broadcast monitor?

    Hi all, Was planning on buying a Cinema Display to do a 3 display setup: 1 - Macbook Pro - library/media 2 - Apple Cinema Display - timeline 3 - LCD flatscreen TV - monitor Is it possible to use my LCD tv as a broadcast monitor. I`m assuming I would

  • Creating a Generic Window

    If anyone is familiar with the Oracle Applications Suite you would have come across a feature in the help menu called 'Record History'. This menu item opens a small window that shows information about the record you are viewing. Question is how did t

  • Embedded font not displaying correctly in swf

    I've attached 2 screenshots. The first shows the flash stage at its default size - as you can see my font is all distorted and weird looking but when you zoom in (image 2) it's exactly like it should be. What would make it look like this when the sta

  • HASH JOIN Issue - query performance issue

    Hello friends: I have a nested loop long query. When i execute this on Oracle 9i, the results comes back within no time (less than a sec) but the same query, same schema, the query takes over 20-30secs. Looking at the execution plan (pasted below) -

  • How to print the single layout in N no times

    Hi, I have developed 1 cheque printing report using developer6i for Oracle Applications i want to print the same output 4 times 1st output will directly printon the cheque and 2nd output should contain the note as "ORIGINAL" and it should come on a A