Auto generate Group By in SQL Developer

In SQL Developer 4.0.1.14, the option to disable "Autogenerate Group By" has DISAPPEARED from the option page 'insight to completion. "  (Preferences, Code Editor, completion Insight).  I am a teacher of a class in which we do different things with group who go beyond what makes automatic generation.  How can I disable this feature?  When I installed on my laptop, I imported the settings of 3.2, and is not automatically generate.  It is not available to students who have just downloaded SQL Dev 4.  And I can't turn it back on to find a way around it.  Is there a solution?

The autogenerate value bit is actually no more. It is now group, on request.

It relates to the analysis of information advice semantic - if you put that supply advice to add group over will not appear.

I'm talking about this new feature a little here.

Tags: Database

Similar Questions

  • Grouping of lines - SQL Developer

    I was wondering if someone can help me here - Im trying to group the lines in a "package" to get fewer lines of data and group together the dates where they follow (and they have the same class of service and client ID). Im not the most irritable person so any help is appreciated.

    Here's my CREATE & INSERT

    CREATE TABLE ACF_SERVICES_DIM (Client_id varchar2 (20),)
    Date of Agreement_Start_date,
    Date of Agreement_End_Date,
    Service_Category Varchar2 (200),
    Agreement_id varchar2 (20));

    Insert into Acf_Services_Dim (Client_Id, Agreement_Start_Date, Agreement_End_Date, Service_Category, Agreement_Id)
    VALUES ('2607 ', 'J2849', 'Red', TO_DATE (' 01/10/2013 ',' dd/mm/yyyy'), NULL);

    Insert into Acf_Services_Dim (Client_Id, Agreement_Start_Date, Agreement_End_Date, Service_Category, Agreement_Id)
    VALUES ('2607 ', 'J2279', 'Red', TO_DATE (' 30/09/2013 ',' dd/mm/yyyy'), TO_DATE (' 01/03/2002 ',' dd/mm/yyyy'));

    Insert into Acf_Services_Dim (Client_Id, Agreement_Start_Date, Agreement_End_Date, Service_Category, Agreement_Id)
    VALUES ('2607 ', 'J2284', 'Red', TO_DATE (' 30/09/2013 ',' dd/mm/yyyy'), TO_DATE (' 01/03/2002 ',' dd/mm/yyyy'));

    Commit;

    The last two are of the same exact service type / id / dates etc so id expect to see a result... I think however it it link to 1 also, such as tracking the dates on and again, everything else is the same.

    If there is a 4th line-

    VALUES ('2607 ', 'J2299', 'Blue', TO_DATE (' 30/09/2013 ',' dd/mm/yyyy'), TO_DATE (' 01/03/2002 ',' dd/mm/yyyy'));

    Commit;

    I only expect to show also in a separate package because it does not match the 1st 3 because it is a different class of service, even if the dates are the same... I hope that helps?

    The request im trying to use is the following... HOWEVER it keeps giving me a not authorized windows error function

    WITH got_package_id AS

    (

    SELECT agreement_id

    MIN (CONNECT_BY_ROOT agreement_id) AS package_id

    Of acf_services_dim

    CONNECT BY NOCYCLE client_id = client_id PRIOR

    AND service_category = PRIOR service_category

    AND agreement_id <>agreement_id PRIOR

    AND (agreement_start_date = agreement_end_date FRONT + 1).

    OR agreement_end_date = PRIOR agreement_start_date - 1

    OR (agreement_start_date = PRIOR agreement_start_date

    AND agreement_end_date = PRIOR agreement_end_date

    )

    )

    GROUP BY agreement_id

    )

    SELECT s.Client_Id

    MIN (s.Agreement_Start_Date) AS package_start_date

    , NULLIF (NVL (MAX (s.Agreement_End_Date))

    DATE "9999-01-01'

    )

    DATE "9999-01-01'

    ) AS package_end_date

    s.Service_Category

    p.package_Id

    ROW_NUMBER () OVER (PARTITION BY s.client_id

    s.service_category

    ORDER BY p.package_id

    ) AS package_num - if wanted

    Of s acf_services_dim

    JOIN got_package_id p ON p.agreement_id = s.agreement_id

    GROUP BY s.client_id

    s.service_category

    p.package_id

    ;

    Don't know why, but im getting the following error when running in SQL developer... no idea why?

    Error in the command column line: 32:56

    Error report:

    SQL error: ORA-30483: window functions are not allowed here

    30483 00000 - "window functions are not allowed here."

    * Cause: Window functions are allowed only in the SELECT a query list.

    And, depending on the window cannot be an argument in another window or group

    function.

    * Action:

    Make a copy of your test case in a spreadsheet SQL Developer 4.0.3 connected to Oracle Xe (11.2.0.2) with jdk1.7.0_67 on Windows 7, everything works as expected:

    CLIENT_ID PACKAGE_START_DATE PACKAGE_END_DATE SERVICE_CATEGORY

    -------------------- ---------------------------------- ------------------------------- -------------------------------

    2607 1 March 02 13 - SEP - 30 Blue

    2607 1 March 02 13 - SEP - 30 Red

    No ORA-30483 at all.  What versions of SQL, Oracle DB, Java developer and so on are you using?

  • Use SQL Developer to generate Doc DB

    Developer SQL version 3.1.07 build HAND = 07.42. I'm generating Doc DB of SQL Developer for a schame. He's busy with the treatment in the first table and the html files generated much like < table > Flashback_Row823.html. If I create just the doc for the views in the diagram. It can perform within a reasonable time.

    How can he stop the < table > Flashback_Row823.html file generating schema doc can be done? My version of SQL Developer is good for this?

    Hello

    This problem has been reported previously, and a bug registered:
    3.1EA3 - generation DBDoc - flashback

    It has been set for SQL Developer 3.2. Now the Flashback database are not included when generating the Doc DB.

    Kind regards
    Gary
    SQL development team

  • Order that SQL Developer Modeler generates objects in DDL download

    Little annoying question... When I have an existing data model that includes all of my table definitions and ALSO my package definitions, I try to make a DDL download and load it into an instance of Oracle 11g and get an error on a procedure declaration does not have a column type.

    What I see is when I open the prepared ddl script, the package is created until the table is under construction.  Is it possible I can tell SQL Developer Data Modeler to build like objects together (table, then sequences and then triggers and packages and procedures/functions?

    SQL Developer Data model version 4.1.3 Oracle database 11g r2...

    Thank you

    Tony Miller
    Los Alamos, NM

    Hi Tony,.

    Data Modeler generates at the beginning of the Package definitions in the DDL file, so that they appear before the objects such as Tables, views, and triggers that may refer to them.

    And the Package body are generated at the end, so that they can refer to Tables and views.

    Unfortunately there is no option to change the sequence of generation.

    In general, the Data Modeler takes dependencies between objects into account to generate the DDL file objects in a proper order.

    However, it does not detect the dependencies TYPE %.  I connected an enhancement request to add to its dependency checking (22581821).

    Kind regards

    David

  • question about generated an offline source SQL server 2008 given by Oracle SQL developer

    Hi friends,

    I followed the tutor to the migration of a database server Microsoft SQL to Oracle Database 11 g by Developer sql Version 3.2.20.10 in the window.

    I can migrate the code examples in the oracle database.  The code example has two file: Capture and data. Under the folder data, there are two parts. one is designated as folder under oracle and rest is data add log files.

    When I migrated my database of sql server 2008 in oracle 11. I can objects only sql migrated to oracle but failed to load data during data file missing.

    In the past reviewed in the output directory, I see a lot of ctl files under the folder datamove and generate the file. But I am not able to find any file data in support of ctl codes

    The code file as ctl example

    load data

    INFILE 'data/dbo_test.sale.dat '.

    "str"< EORD >"

    in the /dbo_test.sale.SALE table

    ----

    Because of missing data, data loading works, file but not the data in the migrated tables.

    Recode displayed

    ......

    SQL >

    Modified table.

    SQL >

    Modified trigger.

    SQL > disconnected from the database Oracle 12 c Enterprise Edition Release 12.1.0.1.0 - 64 bit Production

    With the options of partitioning, OLAP, advanced analytics and Real Application Testing

    C:\SQL_DB\SQL_OUT\testout\datamove\SQL_mig\2013-09-09_13-43-43\sale\dbo >

    Please help me where I lost in migration processing.so I can generate a data during the migration file

    Thank you

    newdaa

    Use SQl developer offers 2 options to move the data, online and offline data movement. When you call the batch file to load data offline you must also make sure that you collected the data first to the SQL server side using the data to extract batch files that create the DAT files with the content. The content is written in flat files using the file unload_scripts.bat-online check if you have this kind of file, and then copy the entire script to SQL Server folder, and run the script of unloading it.

    It will create the dat files that you will then need to load the data into the Oracle database.

  • How to run DBMS_SQLTUNE.report_sql_monitor of SQL Developer 4.0

    Hello-

    We have new SQL Developer 4.0 as a single stop for all reports of performance tuning.

    (So far, we know how to generate the AWR and ASH ADDM directly from SQL DEV 4.0 and we can do as a NON-privileged user)

    Now, the question is how to run DBMS_SQLTUNE.report_sql_monitor API SQL DEV 4.0?

    I tried this way:

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    SELECT DBMS_SQLTUNE.report_sql_monitor)

    sql_id = >: SQL_ID

    Type = > 'TEXT ',.

    report_level = > 'ALL') AS myreport

    DOUBLE;

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    and then right button click of the mouse on the line "myreport" and the EXPORT of 'text' in the menu drop down and save in the. FichierTSV on the local file system.

    It works this way, as expected, but seems to be a lot of hassle: too many steps.

    Then I tried the HTML format:

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    SELECT DBMS_SQLTUNE.report_sql_monitor)

    sql_id = >: SQL_ID

    Type = > 'HTML. "

    report_level = > 'ALL') AS myreport

    DOUBLE;

    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

    and it didn't work well at all SQL dev 4.0

    Any help will be greatly appreciated.

    (once again, the idea here is to set up our development and QA groups with full access to performance all reports without having them call DBA for help in the production of any SQL tuning report).

    Thank you

    VR

    There is certainly a 'room' to improve the interface, just tell me what you would like to be like him. For example, you want an overview of the SGS of all SQLIDs running on the nodes you could then select this option to run a report for? Don't say it is what we would do, but I was wondering what it is that you ask for.

  • Partitions don't synchronize only not - Oracle SQL Developer 4.1.3.20

    Hello

    First of all, thanks a lot for developers for this great tool.

    I use the Data Modeler which comes with Oracle SQL Developer 4.1.3.20.

    In the 12 c database, I created the following table:

    CREATE

    TABLE MMOURA. TEST_TABLE

    (

    NUMBER OF ID_TEST_TABLE (10) NOT NULL

    DATE_TEST_TABLE DATE NOT NULL

    )

    ORGANIZATION HEAP PCTFREE 10

    LOGGING NOCOMPRESS NO INMEMORY

    NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;

    I import with Data Modeler and add the partition:

    CREATE

    TABLE MMOURA. TEST_TABLE

    (

    NUMBER OF ID_TEST_TABLE (10) NOT NULL

    DATE_TEST_TABLE DATE NOT NULL

    )

    ORGANIZATION HEAP PCTFREE 10 TABLESPACE SYSTEM NOT LOGGING NOCOMPRESS NO INMEMORY RANGE PARTITION

    (

    DATE_TEST_TABLE

    )

    INTERVAL OF

    (

    NUMTOYMINTERVAL (1, 'MONTH')

    )

    (

    PARTITION P_BEFORE_2010 VALUES LESS THAN (TO_DATE (JANUARY 1, 2010 ',' DD/MM/YYYY "")) NOCOMPRESS

    )

    NOCACHE NOPARALLEL NOROWDEPENDENCIES DISABLE THE MOVEMENT OF THE LINE;

    So I can create a partition and generates the correct code.

    I click on "Synchronize data dictionary with model" and see the differences with the model and the database.

    In the models 'compare', 'Physical Details' is red. 'Partition' is red, "Selected" are marked, "Source table: TEST_TABLE ' is YES and" target Table: TEST_TABLE "is no.

    "Partitioning" is marked, and I can see the new partition "P_BEFORE_2010."

    teste_partition_chamado_oracle.png

    But when I click on 'Overview of DOF', theres no changes:

    -Generated by Oracle SQL Developer Data Modeler 4.1.3.901

    -in: 2016-01-14 14:19:50 BRST

    -site: database Oracle 12 c

    -type: Oracle Database 12 c

    -Oracle SQL Developer Data Model Summary Report:

    --

    -CREATE TABLE 0

    -CREATION OF INDEX 0

    ...

    ...

    In the tool preferences, model, synchronization, it is marked:

    FUNCTION

    PACKAGE

    PROCEDURE

    ROLE

    SEQUENCE

    SYNONYM

    TABLESPACE

    In "Import Options", it is marked:

    Partitions

    Triggered

    What I am doing wrong? Is this some sort of bug?

    Hi Marcio,

    I'm afraid that data Modeler does not "DOF Preview" statements for changes in the distribution.

    Kind regards

    David

  • call a procedure stored since SQL developer UI

    I have a stored procedure that is created with a date in parameter.

    Then I tried running SQL Developer by right-clicking the stored procedure, then it comes out a parameter window and I tried to enter the value in the entry value field by entering January 1, 2015 "because I know our server date format is DD-MON-RR."

    But it shows a window of incorrect format: Please use date format YYYY-MM-DD,

    Why is this?

    The generated SQL Developer code is less after I ' 2015-01-01'

    DECLARE
    DATE OF P_DATESTORED;
    BEGIN
    P_DATESTORED: = to_date('2015-01-01','yyyy-MM-dd');

    MySproc)
    P_DATESTORED = > P_DATESTORED
    );
    -restoration;
    END;

    I can just use below: for the date, the Server format is DD-MON-RR.

    Begin

    MySproc('01-JAN-2015')

    End;

    Thank you

    We use oracle 11g 2, the window environment.

    The code is generated (SQL Developer) client-side. This code generation, by design, does not count the current NLS_DATE_FORMAT of the session. Instead, it uses the date coded hard YYYY-MM-DD format. It seems to be a design decision.

    If you want to enter this date value in a particular format, use the following snippet directly in the SQL worksheet (F5: run script), modified for your desired date format, or omitted date format - I really discourage the to do.

    DECLARE

    DATE OF P_DATESTORED;

    BEGIN

    P_DATESTORED: = to_date ('& myinput', 'YYYY-MM-DD');

    MySproc)

    P_DATESTORED-ONLINE P_DATESTORED

    );

    -restoration;

    END;

    /

  • Is there a real BENEFIT in SQL * Developer Automated Unit Testing?

    I'm trying to understand the unit test in SQL * Developer. Asked me to evaluate it as a method of test automation on an integration solution that we develop.

    (1) my 'A' schema has this table:

    SQL > DESC EMP

    Name                                      Null?    Type

    ----------------------------------------- -------- --------------------

    EMPID NOT NULL NUMBER

    EMPNAME VARCHAR2 (30)

    SALARY NUMBER (7.2)

    COMM_PCT NUMBER (2.2)

    Table (2). has these values:

    SQL > SELECT * from emps;

    EMPID EMPNAME SALARY COMM_PCT

    ---------- ---------- ---------- ----------

    1 ROHAN 10000.05

    2 JOHN 20000

    3 PETER.06

    4 SMITH

    (3.) I create this procedure in drive A:

    create or replace

    PROCEDURE award_bonus (NUMBER, sales_amt NUMBER p_empid)

    AS

    REAL Commission;

    comm_missing EXCEPTION;

    BEGIN

    SELECT comm_pct IN the commission OF EMP

    WHERE empid = p_empid;

    IF the commission IS NULL THEN

    RAISE comm_missing;

    ON THE OTHER

    PGE UPDATED

    SET salary = salary + sales_amt * commission

    WHERE empid = p_empid;

    END IF;

    END award_bonus;

    (4) now, I want to create a unit test in SQL Developer to test this procedure.

    (5) I created a user "unit_test_repos" according to the instructions in the tutorial.

    (6) ' SELECT OPERATION': I specifies the procedure of award_bonus.

    (7) ' SPECIFY the name of test': give a name and select "create with a single model.

    (8.) 'SPECIFY the STARTUP': Add a ' copy Table or the line "the startup process.

    -I give "EMP" as the source table.

    -And then I get this for the 'generated query.

    SELECT ROWID AS SRC$ ROWID, s.* FROM EMP s

    -Target table has "TMP$ AWARD_BONUS.

    (Q1) WHAT IS THE PURPOSE OF CREATING ANOTHER TABLE?

    (Q2) WHEN THE TEST IS DONE, ARE ROWS OF PGE copied into this table?

    (Q3) Why is this? Why can't the test simply read 'EMP '?

    (9) "PARAMETERS SPECIFY": I give "Input".

    -1 for P_EMPID

    -10000 for SALES_AMT

    -In "Expected result", I say "success."

    (Q4) So I should know in my mind the results of the proc, foregoing given entries?

    (10) ' SPECIFY VALIDATION': I add validation "poll rows of queries.

    -I paste the following query: SELECT count (*) FROM EMP WHERE empid = 1 AND salary = 10500

    -that is, I know that for an amount of 10000 sales, employee 1 will get a Commission of 10000*.05 = 500. For example, 10000 (its sal) + 500 = 10500.

    (Q5) The thought that the above is correct?

    (11) "TEARDOOWN SPECIFY": give nothing.

    (12) my unit test is created.

    (13.) I run now by clicking on the button of the beetle, to the left of the green arrow. Unit test is run.

    (14) now in my table a.emps, 1 salary has increased to 10 500, and the diag test case, I get the "execution results: SUCCEED.

    (15) now, I run the unit test again.

    (16.) salary 'EMP' table emp 1 is passed to 11000 (which is correct) and the so-called execution results "SUCCESS".

    (Q6)  My question is: the query I gave for validation, SELECT count (*) FROM EMP WHERE empid = 1 AND = 10500 salary, now gives 0. so, this means that no row is returned for this condition and so the test must FAIL. But how is SQL * Developer said that the test was SUCCESSFUL. How does this system of validation?

    (17.) I went through the tutorial, but I do not understand these concepts >

    (Q7) What is the purpose of disassembly? I undersand the option 'drop table' "disassembly", where you drop the temporary table, but I do not understand the others, 'Table or line restore' and 'code pl/sql user '?

    (Q8) WHAT IS the advantage of making the test like this? Can I use an Excel spreadsheet and make dozens of unit tests faster than this method?  It is easy to understand too. This method is complicated.

    Your answers and your advice would be greatly appreciated.

    The temporary table to hold the original values for EMP. After the test runs, you must configure the disassembly to reset the return values of the temporary for the next time table that the test works again, he has values of expected start.

  • Why SQL Developer randomly at the end sometimes introduced the special strings?

    I noticed that the SQL Developer has some problems with string manipulation in its code.

    SQL Developer 3.2 when generate us scripts of our efforts using SQL Developer data modeling we often have problems with 'archiving' scripts generated in our SVN repository because he complains about the inconsistency with line endings, and some generated lines have apparently invisible special characters (non-ascii) to the end. The solution is to open the scripts using MS WordPad and save the files immediately, as this text editor would be to filter all characters (not ascii) invisible. So, it wasn't a big deal...

    But now as we explore the SQL Developer 4, we have noticed that we have added to the names of columns during dismantling of 'Table or restore line' operations, special characters effectively corrupted tables (table definitions in the dictionary) that we use in the corresponding unit tests.

    The team SQL developers aware of the problem and if so is there any workaround?

    Please advise...

    Thank you

    Val

    Just a quick update:

    Has obtained another definition of 'corruption' in Toad table after running a unit test in SQL Developer (with the process of disassembly of the table or restore the line) and there seems to be a bug in Toad, not in SQL Developer. The special characters shown in Toad have nothing to do with the actual table definition in the dictionary. After you restart the Toad, the table definition looks good again. Probably a matter of caching in Toad...

    Thank you

    Val

  • Integrate SQL Developer with IBM's Clearcase Version control

    Hello

    I explored the part of version control for SQL code by incorporating my SQL with Clearcase from IBM Developer. So far I have not been successful with it, I managed to remove the SVN Version control options, but I am not able to use it for my Clearcase link. Could I know please if there is any plugin available from Oracle for this to do. If it please help & drop your suggestions.


    Thank you

    Michael ([email protected])

    Hi Julien,

    There is ClearCase comes available for JDeveloper extension versions, and as any given SQL Developer release some releases JDeveloper, you may be able to find an appropriate version of the extension for your use case.  Looking for ClearCase in the center of update JDev:
    http://www.Oracle.com/ocom/groups/public/@OTN/documents/WEBCONTENT/131167.XML

    Of course, ClearCase is Nolisted in the release notes for SQL Developer as a supported Version control system:

    http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/downloads/sqldev-releasenotes-v4-1925251.html

    If you want to give it a go, however, here's what I did to install a ClearCase plug-in for my 4.0.1 Developer SQL...

    1. check the SQL Developer Help > about > Extensions for the version of oracle.jdeveloper.vcs (12.1.3.2.41.140207.1351)

    2 downloaded vcs - clearcase_bundle.zip (12.1.2.0.40.66.68 is the closest available JDev version)

    3. in the zip file, modify or replace the value of the property maxVersion in the META file - INF\bundle.xml (from 12.1.2.0.40.66.68 to 12.1.3.2.42.99.99)

    4. install the zip: Tools > features... > Check for Updates (top-right) > install from a Local (radio button) file...

    5. now, ClearCase will be available from the main tool bar: team > ClearCase

    I don't have a ClearCase installed on my machine, so that's as far as I could go.  I hope that you will still make progress.

    Kind regards
    Gary

    SQL development team

  • Bug? : cannot execute predefined "last awr" report with the latest version of the SQL Developer

    Using sql developer before 4.x... report works fine

    Using SQL developer 4.0.0.13... report fails with ORA-01422

    using the actual query to generate awr against the same range of component snap works perfectly

    I opened a SR on the question

    Thank you

    It's always a good idea to open a SR when you are able.  I assume that you have already received a response from support.  For others I wondered about this, the question is likely related to running the report against a CCR environment, as indicated in the following bug:

    Bug 18132564 - LAST AWR REPORT FAILS WITH ORA-01422 IN CCR ENVIRONMENTS

    The call of the AWR report requires parameters for a DB and an ID of Instance, so that the report should run, as in earlier versions, for only the current instance, or be modified to run all instances in the cluster.

    Kind regards

    Gary

    SQL development team

    P.S.: And, in fact, a discussion prior forum - ai2 4.0-AWR and ASH giving ora-01427

    lead following bugs are connected and supposed to be fixed for SQL Developer 4.0...


    Bug 17481944 - PERFORMANCE PANELS NEED AWR/ASH/ADDM FOR RAC ENVIRONMENTS SUPPORT


    ... with the developer commenting

    I've added a number instance selection control to the various reports: ASH,.
    AWR, difference and SQL. The control is supposed to be visible when the
    connection is a RAC system, tests should a RAC.

    So if you are not on a RAC system, or are on CARS but do not see the selection number instance control, please let us know.

    Post edited by: Gary Graham

  • Create the PL/SQL package in SQL Developer 4.0.0.12

    Hello

    I built a model in SQL Developer 4.0.0.12 and I want to create a PL/SQL package.

    In ODMiner 11.1.0.4 of 'Tools' > 'Create pl/sql package' I can get a script to create the package and every thing is OK.

    but in SQL Developer, I select "Deploy" from the popup menu of each node and it generates a folder containing scripts associated with each node. I don't see any relevant script for creating a package.

    How can I create a PL/SQL package in my workflow?

    Thanks for any help you can provide in this situation.

    Please see this whitepaper to find out how to build the PL/SQL package for deployment of workflow:

    Oracle Data Miner (Extension of SQL Developer 4.0)

    PL/SQL script for the deployment of workflow

    http://www.Oracle.com/technetwork/database/options/advanced-analytics/odmrcodegenwhitepaper-2042206.PDF

  • Script SQL Developer runs all the lines

    I have a group of scripts that I want to execute in the order since a main script.  I created a file referencing these scripts as follows below.  My problem is that when I run this script (via F5 or another script referencing it), it runs only the first line and stops.  I have excluded questions with my references to file by changing the order - always the first runs and stops.  I have tried such as displayed below and with a semicolon; to separate each command.  I have scoured the web and can not find any reason why it does not work.  Each of the scripts listed below contains multiple statements separated by a; that wraps a file to a NAS where he is picked up by our external file transfer program.  It all works properly - the only thing that I have problems with using 1 script to call several files and run them in order.

    Any help is greatly appreciated!

    @EMSTATUS.sql

    @EMPLOYEE.sql

    @HREMPUSF.sql

    @HRHISTORY.sql

    @HRSUPER.sql

    @JOBCLASS.sql

    @JOBCODE.sql

    @PAACTREAS.sql

    @PAEMPLOYEE.sql

    @PAEMPPOS.sql

    @PCODES.sql

    @PCODESDTL.sql

    @PERSACTHST.sql

    @PRDISTRIB.sql

    @PRPAYCODE.sql

    @PSGRELATE.sql

    @REVIEW.sql

    Hello

    Note You can place in the path: Tools-> preferences-> database-> spreadsheet-> "path select default to search scripts"


    I tried the following:

    c:\tmp\calltwoscripts. SQL

    set echo on

    @zone.sql

    @ztwo.sql

    Select 'done' double.

    c:\tmp\zone. SQL:

    Select 'one' double;

    c:\tmp\ztwo. SQL:

    Select 'two' SQL;

    executed in a worksheet:

    @c:/tmp/calltwoscripts.sql

    Output:

    > @zone.sql

    > select "one" of the double

    'A '.

    -----

    one

    > @ztwo.sql

    > Select "both" of the double

    "TWO".

    -----

    two

    > select 'done' double

    'DONE '.

    ----------

    Finish

    The things that could go wrong:

    Your scripts could end with "quit".

    Paths can mingle: try (not @) and full of paths.

    You could hit a code issue, the spreadsheet does not recover-in which case you should get the output on the command line and or Page logging of messages in the view.

    Turloch

    SQLDeveloper - team

    http://www.thatjeffsmith.com/archive/2012/06/how-to-collect-Debug-Info-for-Oracle-SQL-Developer/

    http://totierne.blogspot.co.UK/2013/07/user-check-on-sqldeveloper-worksheet.html

  • convert DB2008 SQL express oracle 12 c by sql developer

    Hi friends,

    I created a SQL 2008 declare for the prod database. I run OMWB_OFFLINE_CAPTURE and receive an ocp source file complete

    Transform ocp Oracle express12c sql developer (3.2.20.10) but failed with error DB

    oracle.dbtools.metadata.persistence.PersistenceException: ORA-06550: line 1, column 14: PLS-00201: identifier ' MIGRATION. GATHERCONNECTIONSTATS' must be declared ORA-06550: line 1, column 7: PL/SQL: statement ignored

    Research on the basis and the migrated tables revised, I found that I only migrated system SQL sql objects and does not see any user with dbo SQL prefix object

    OMWB_OFFLINE_CAPTURE test its backsql P@$$w0rd1234

    The SQL server database was generated by s a software vendor and we know not what user has application data.

    How can I get sql tables dbo server in ocp for the migration file.

    Thank you

    newdba

    Hello

    I ran a test on my system using SQL * 3.2 Developer and don't see the problem you have.

    Can I check what you have done and the steps to follow?

    1. you have generated the ocp in the menu - Tools - Migration file - Create Database capture Scripts

    2. after the execution of OMWB_OFFLINE_CAPTURE you see 2 directories under the directory chosen for migration?

    You should see - 2 directories - 'master' and 'backsql.

    3. in the migration wizard.

    Tools - Migration - migration

    for the 'Source' database, you chose "offline" and then the file .ocp is generated - sqlserver2008.ocp

    4. in the next screen "Capture" you shoud see the database "backsql" in the column "databases selected. If it of in "Databases" then move it across.

    If that's what you see migration should precede as planned.

    5. in the next screen - target database - choose "offline" and check the generated scripts.

    They should contain instructions create for all objects in the database 'backsql.

    If this isn't what you see then please detail the exact measurements you have taken.

    Kind regards

    Mike

Maybe you are looking for