SQL tab shows no DDL (is blank) - on IBM z/OS

Sdev build 12.15
oracle 9.2.0.4
Server IBM Mainframe running z/OS
If the SQL tab is selected for a table Generating DDL appears to run (slowly) before displaying a blank page. The same function works fine when connected to databases on a Sun Solaris server.

Can you try using dbms_metadata directly with something like this:
select dbms_metadata.get_ddl('TABLE','SOME_TABLE_NAME','OWNER') from dual
-kris

Similar Messages

  • SQL Tab & Export DDL Crapped Out in Version 1.1.3

    SO now the SQL tab for a table and the Export DDL option under the Tools menu are not working. The Export DDL option does nothing short of error our when trying to select individual options. (Getting a table or view does not exist error) The SQL tab for tables now no longer shows the associated constraints and in some cases no indexes either. The previous version didn't seem to have these problems. I really think the things that were working need to be verified to not be broken before releasing a new version. As an end user it's pretty frustrating to lose functionality when you think you are gaining new features.
    OS Version: Windows XP SP2
    Oracle DB: 10.1.5

    tnolte,
    I'm going to stick to this thread to respond to your queries.
    I see from (Re: [1.1.3.27.66] create ddl statement that you are running into the ora-942 errors. No-one in that thread mentions that they have switched to the latest release of SQL Developer, i.e. 1.2. Though both you and MRM posted after we released 1.2., so I assume you are. If not, that's a good place to start.
    Please can you confirm, that you are on 1.2 and that you are still running into this error? As mentioned we did have logged and now fixed, the ora-942 errors you mention, so I'd like to track down your specifics. It looks like a permissions issue.
    In terms of the new Export DDL:
    1. We had a request for a 1 button click to export everything for a single schema. To do this, after you have specified the files name and schema, all you need to do is click Apply and all objects, with all the data will be exported.
    So this is: Set file name, select schema, Apply.
    2. To export a specific category, I start by unchecking "Export Object Types", this unchecks all and I can then check only those I require, say tables and sequences. Now if I select Apply, ALL Tables and ALL sequences for that schema are exported.
    So this is: Set file name, select schema, uncheck Export Object Types, Check specific object type categories, Apply.
    3. Now, if you want to only export certain, say Tables or Sequences then use the filter tabs. The first is Filter Objects.
    If my Connection is for HR and I want to export HR objects, then there is no privilege issue:
    After you have taken the steps in #2 above, go to the Filter Objects tab, make sure that the user is HR at the top of the left hand panel and then click GO. (You can use the Object Type drop list on the right to filter for object types.)
    Shuttle the objects you want to the right and repeat for the next object type.
    If, your connection is HR, but you want to export[i] OE objects, and you have read/select access, then only those objects you have access to will display.
    If your access is HR, but you want to export object you have no access to, no objects are displayed.
    Is the ora-942 displayed for all your connections? Can you try another connection? Of all my connections, one displays the 942 and I will have a developer look into that. There does not appear to be a permissions issue.
    One last thing. If you just want to export the DDL of a selection of tables, expand the Tables node, ctrl select the tables you want the DDL for and use the context menu. There is a new Export option that allows you to export the tables to file, clipboard or the worksheet.
    Hope this helps.
    I will be doing a blog entry on this, this evening.
    Sue

  • Panel tab shows up, but panel is blank

    Hello Everyone,
    I've created a File Info for CS5 panel using the generic panel.  As I've been working on it, it shows up just fine on my workstation.  The panel's folder has been distributed to three other workstations, and on two of them only the name on the panel's tab shows up and the panel is blank.  On the third one, it shows up just fine.  The panel folder has been placed into "Macintosh HD:Library:Application Support:Adobe:XMP:Custom File Info Panels:3.0:panels" on every workstation.  All of the workstations are Mac's.  All of the Mac's have the same OS and up to date CS5 installations.  I think I'm overlooking the obvious and I just don't see it.
    Any help would be greatly appreciated.
    Thanks!
    -Dave

    Hi Dave,
    from what I read I guess that you have distributed the panel, but not the Flash Player trust file to the workstations.
    It has to be installed (or manually created) on each workstation in the path:
    /Users/<username>/Library/Preferences/Macromedia/Flash
    Player/#Security/FlashPlayerTrust
    You create a text file "MyTrustFile.cfg" which contains your panel path in a single line (using slashes, not colons).
    You can find more details in our SDK programmers guide.
    Hope this helps,
    Stefan Makswit

  • Blank tabs show up on startup

    In Firefox 14, when I start Firefox, two tabs show up: the home page, and a blank tab that can never close (even if I navigate to a different page in that tab, I can never close it). My homepage settings are set to only show the home page, not two tabs.
    Now that I've upgraded to Firefox 15, starting Firefox now brings up TWO blank tabs--no homepage--though only the second one is still uncloseable.
    I have two profiles, one protected by a master password, and one not. These problems only manifest in my password-protected profile; the other profile works perfectly.
    I've coped with a workaround: After the first window opens, I open a new window, which works perfectly, and then close the original one. But I'd rather not have to deal with a workaround. Could anyone please help?

    Very odd. Since you have so many extensions, I wonder whether you would test with those disabled. A standard diagnostic for interference by add-ons is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the Safe Mode dialog, click "Start in Safe Mode." Does that still have the blank tabs?
    Note that Safe Mode makes other possibly relevant changes in addition to disabling extensions, and you can try those manually if you like before trying to figure out which extension it might be:
    '''(1) Disable hardware graphics acceleration'''
    ''Your "More system details" shows that this already is disabled for your graphics adapter, so you can skip this.''
    You usually need to restart Firefox in order for this to take effect, so save all work first (e.g., mail you are composing, online documents you're editing, etc.).
    orange Firefox button ''or'' classic Tools menu > Options > Advanced
    On the "General" mini-tab, uncheck the box for "Use hardware acceleration when available"
    '''(2) Clear toolbar customizations'''
    (i) Open your personal settings (AKA Firefox profile) folder
    Help > Troubleshooting Information > "Show Folder" button
    (ii) Switch back to Firefox and exit the program (e.g., Firefox > Exit or File > Exit)
    (iii) Wait a few moments for Firefox to finish updating files in your settings folder, then rename '''localstore.rdf''' to something else, like localstore-bad.rdf or localstore.old.
    (iv) You can restart Firefox now. If that didn't help and you want your customizations back, you can delete the newly created localstore.rdf and rename the old one back.

  • Exported DDL different than the SQL tab

    Hi,
    I found that the DDL generated by performing Tools->export is different than what is shown in the SQL tab on RHS window for any table.
    Is there any reason, since the SQL tab's display is not useful to recreate the table, as the sequence of constraints/indexes is incorrect.
    The tools->export generates DDL properly.
    Can someone fix this issue?

    The Tools - Export reads DBMS Metadata, the SQL Tab does not. This is intentional. However I have logged a bug about the sequence of the constraints/indexes to track that issue.
    Regards
    Sue

  • View DDL (SQL tab)

    If this has been posted before, sorry but I couldn't find a past thread discussing this.
    I'm connected to a 9.2.0.5 database and using the object tree I click a view. On the right pane I select SQL and a popup "generating DDL..." appears. Once this popup is gone, the content of the SQL tab remains empty. So, in order to take a look at the DDL of a view I have to right click the view and select "Edit...".
    MHE

    The SQL tab for all objects is empty for me. DBMS_METADATA is properly installed. (I use it to get code, and I ran the SQL statement you provided above.)
    java.sql.SQLException: ORA-00923: FROM keyword not found where expected
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:799)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:839)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)
    at oracle.dbtools.raptor.metadata.MetaData.printDDL(MetaData.java:181)
    at oracle.dbtools.raptor.metadata.MetaData.getDDL(MetaData.java:215)
    at oracle.dbtools.raptor.utils.MetaDataDDLGenerator.getDDL(MetaDataDDLGenerator.java:59)
    at oracle.dbdev.oviewer.table.DDLViewer$2.doWork(DDLViewer.java:97)
    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 believe that's the error causing the problem. Will be happy to get you any other information I can.

  • ORA-06502 error on SQL tab

    I have just installed the latest version of SQL Developer (1.2.1.3213) and am running an Oracle 9i database (version 9.2.0.7).
    When I click on the SQL tab when looking at a table I get an ORA-06502 error and the DDL generated has "-- Unable to Render DDL with DBMS_METADATA using internal generator." at the top.
    I then get a whole host of other errors when using other parts of the program until I disconnect and reconnect.
    This error also occurs when I run the following query:
    select dbms_metadata.get_ddl('TABLE',table_name , user ) from user_tables;
    Any ideas?
    Incidentally prior to this release I had an early version 1 release of SQL Developer and the SQL tab here showed nothing at all.
    Any comments would be most appreciated.

    I am currently using v2.1.1.64, Build MAIN-64.45 and have the same or a similar problem. SQL developer will not generate the SQL code, but fails with the following error:
    ORA-06502: PL/SQL: numeric or value error
    LPX-00210: expected '<' instead of 'n'
    ORA-06512: at "SYS.UTL_XML", line 0
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3688
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4544
    ORA-06512: at "SYS.DBMS_METADATA", line 466
    ORA-06512: at "SYS.DBMS_METADATA", line 640
    ORA-06512: at "SYS.DBMS_METADATA", line 1260
    ORA-06512: at line 1
    This installation doesn't have the same directory structure as in the previous reply, so I can't run the catmeta.sql script which doesn't exist in this release.
    Mike

  • SQL format in SQL tab for SQL developer v2.1.1.64

    I have been using Toad for years, recently we moved to SQL Developer. However, can anyone tell me how to make SQL in SQL tab looks like in TOAD, I have an example as below. Thanks at advance!
    in SQL Developer:
    CREATE TABLE "SCHEMA"."F1005"
        "FID"      NUMBER(*,0) NOT NULL ENABLE,
        "NUMOFPTS" NUMBER(*,0) NOT NULL ENABLE,
        "ENTITY"   NUMBER(*,0) NOT NULL ENABLE,
        "EMINX" FLOAT(64) NOT NULL ENABLE     ,
        "EMINY" FLOAT(64) NOT NULL ENABLE     ,
        "EMAXX" FLOAT(64) NOT NULL ENABLE     ,
        "EMAXY" FLOAT(64) NOT NULL ENABLE     ,
        "EMINZ" FLOAT(64)                     ,
        "EMAXZ" FLOAT(64)                     ,
        "MIN_MEASURE" FLOAT(64)               ,
        "MAX_MEASURE" FLOAT(64)               ,
        "AREA" FLOAT(64) NOT NULL ENABLE      ,
        "LEN" FLOAT(64) NOT NULL ENABLE       ,
        "POINTS" LONG RAW                     ,
        CONSTRAINT "F1005_PK" PRIMARY KEY ("FID") DISABLE
      PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS NOLOGGING STORAGE
        INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
      TABLESPACE "SCHEMA_FEATURE_SML_DATA" ;
    CREATE INDEX "SCHEMA"."F1005_AREA_IX2" ON "SCHEMA"."F1005"
        "AREA"
      PCTFREE 10 INITRANS 2 MAXTRANS 255 NOLOGGING COMPUTE STATISTICS STORAGE
        INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
      TABLESPACE "SCHEMA_FEATURE_SML_INDX" ;in TOAD
    CREATE TABLE SCHEMA.F1005
      FID          INTEGER                          NOT NULL,
      NUMOFPTS     INTEGER                          NOT NULL,
      ENTITY       INTEGER                          NOT NULL,
      EMINX        FLOAT(64)                        NOT NULL,
      EMINY        FLOAT(64)                        NOT NULL,
      EMAXX        FLOAT(64)                        NOT NULL,
      EMAXY        FLOAT(64)                        NOT NULL,
      EMINZ        FLOAT(64),
      EMAXZ        FLOAT(64),
      MIN_MEASURE  FLOAT(64),
      MAX_MEASURE  FLOAT(64),
      AREA         FLOAT(64)                        NOT NULL,
      LEN          FLOAT(64)                        NOT NULL,
      POINTS       LONG RAW
    TABLESPACE SCHEMA_FEATURE_SML_DATA
    PCTUSED    40
    PCTFREE    10
    INITRANS   1
    MAXTRANS   255
    STORAGE    (
                INITIAL          64K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                FREELISTS        1
                FREELIST GROUPS  1
                BUFFER_POOL      DEFAULT
    NOLOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    CREATE INDEX SCHEMA.F1005_AREA_IX2 ON SCHEMA.F1005
    (AREA)
    NOLOGGING
    TABLESPACE SCHEMA_FEATURE_SML_INDX
    PCTFREE    10
    INITRANS   2
    MAXTRANS   255
    STORAGE    (
                INITIAL          64K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                FREELISTS        1
                FREELIST GROUPS  1
                BUFFER_POOL      DEFAULT
    NOPARALLEL;

    Thanks for your reply, however, there are not any vendors call TOAD...
    The actual problem are:
    1. Do not show double quote (""), ie:
    in SQL Developer
    CREATE INDEX "SCHEMA"."F1005_AREA_IX2" ON "SCHEMA"."F1005"in TOAD
    CREATE INDEX SCHEMA.F1005_AREA_IX2 ON SCHEMA.F10052. has a break after numbers, ie:
    in SQL Developer
        INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT
      )in TOAD
                INITIAL          64K
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                FREELISTS        1
                FREELIST GROUPS  1
                BUFFER_POOL      DEFAULT
               )Any suggestions will be appreciated.
    Thanks,

  • SQL Developer 3.0.03 table sql tab errors

    In SQL Developer 3.0.03 EA3, when you visit the SQL tab for a table the result is not formatted to be readable or usable fashion.
    The generated statements do not have terminating semi-colons or separating slashes, nor is there a line terminator after the end of each statement.
    For tables with column comments, all the comment statements are generated in a single line. This is very difficult to read.
    In order to make a usable or even readable script from this display, every statement has to be edited to add a statement terminator or separator and to start the next statement on a new line.
    The same request, against the same database, using SQL Developer 2.1 displays the expected results.
    Edited by: djhenderson on Jan 26, 2011 7:55 PM

    You should be able to tweak this in Preferences - Database - Unload/View DDL Options.
    Be sure to have the Options checked, along with Pretty Print and Terminator.
    For the format, tweak Preferences - Database - SQL Formatter - Oracle.
    Hope that helps,
    K.

  • How to make tabs show up selectively in different pages?

    Hi,
    I'm new to APEX and getting my hands dirty now...
    I have a standard Tab Set called "TS1", which has 2 tabs (say, tab1 and tab2) in there. Since tabs are under "shared component", so it appears that they are shared throughout all the 10 pages I have.
    How can I make the tabs show up selectively in different pages? For example, I want tab1 and tab2 showing up in page1-9, but NOT in page10. There's a "conditions" (Condition Type), but it has many types and I don't know how to use it.
    Please kindly help!
    Thanks much,
    Helen

    I have a similar requirement. I have several tabs (Operations, Maintenance, Safety, etc.) and users get individually assigned rights. I have a table where I have all the users listed and I added one column for each tab so I can set whether or not that user has access to that tab. You could go the same thing with groups if you want.
    Basically, my table looks like this:
    USER_ID, USER_NM, PWD_HASH, SAFETY_TAB, MAINT_TAB, OPER_TAB, etc.
    where each of the _TAB fields is set up as a VARCHAR2(2) for just Y/N.
    On my home page, I assign an APPLICATION_ITEM called G_USER_ID (Global User ID) on login so I can track who it is. Then I set the condition statement on the tab to SQL QUERY RETURNS AT LEAST ONE ROW
    using the following query:
    select SAFETY_TAB from APEX_USERS
    where SAFETY_TAB = 'Y'
      and USER_ID = :G_USER_IDThis example would be for the Safety tab, but you can easily substitute others. It works pretty slick.

  • Error when click on any table and when click on sql its show errors....

    Dear i am using updated SQL Developer 1.5
    Errors when i click on the tables under my user, then on the window there is cloumn,data,constraints, ets i click on every tab no error when i click on the sql tab i found these errors on every user table and on every single tables kindly check this out.
    and its also show me the results but on logging window its shows these errors.
    Sequence - 144, Elapsed - 0, source- oracle.dbtools.raptor.utils.Connections$ConnectionKey
    messgae = null
    Sequence - 146, Elapsed - 553672, source-oracle.dbtools.db.DBUtil
    message =
    ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3918
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4066
    ORA-06512: at "SYS.DBMS_METADATA", line 831
    ORA-06512: at line 1
    Sequence - 147, Elapsed - 78, source- oracle.dbtools.db.DBUtil
    messgae =
    ORA-00904: invalid column name
    Regards,
    Kamran J. Chaudhry
    Pakistan.

    Dear 1st of all thansk for given me reply,
    Actually i am using oracle 9.02 and i just checking that its connect or not but its successfully connected and also showing me the results.
    so you tell me is this a fine work or just conencted and show the results and others commands or its what...
    thanks for your nice cooperation
    Kamran J. Chaudhry
    Pakistan.

  • F4: SQL Tab

    Hello!
    Looking through new features I had found the following:
    Description: I would like to have the SQL tab that you get when you click on an object in the connections tree also when using F4 Describe on a highlighted object in a SQL worksheet.
    And it has as a comment that "This is available from 1.1" but this is not true
    when I desc a table SQL Tab isn't showed!
    Any ideas?
    José.

    I would assume that the "available from 1.1" comment talks about the F4 describe functionality in general, which opens up a window with most of the details you would get for selecting the same object in the navigator. As you have seen, this does not include the SQL tab (not even in 1.5 EA2). Can someone from the dev team comment on why this has not been included?
    theFurryOne

  • BO4 - Data tab shows date as 01/01/1970 but actually now on database

    Hi,
    Using bo4 webi and noticed whilst report correctly shows date as blank/null in report (no object format in universe) but date in data tab shows as 01/01/1970.
    Any idea why this is the case?
    Thanks

    Hi,
    Is that what you were expecting?. Seems to me like there needs to be patch upgrade.
    We had the same issue on SP1 and when upgraded to higher version Dates were showing correct.
    Did you compare with BI Launchpad and WebI rich client tool?. Were they showing the 01/01/1970?.
    How about when running a BEx query?.
    Thanks,
    Jothi

  • Visual Studio Tabs - Show Title instead of Work Item Number?

    When opening individual work items in Visual Studio, the tab in the document well just says "Task 100485" or "Bug 38374".  Is there a way to instead have it show the Title of the work item?  Just showing the number isn't really
    helpful when quite a few are kept open.

    Hi Brian,  
    Thanks for your post.
    We show view the work item Title in each opened work item form in VS. As the work item’s tab has fixed width in VS, so if show the work item Title in each work item’s tab in VS, it will costs the wide width, if work item’s title is long, maybe two or three
    work item tabs can show in VS at the same time.
    As far as I know there’s no default way to change work item’s tab show work item Title in VS. For this scenario, please
    submit it to User Voice site at: http://visualstudio.uservoice.com/forums/121579-visual-studio. Microsoft engineers will evaluate them seriously.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Options Startup Show my Windows & Tabs from last time,but upon exit FF doesn't ask to save tabs & windows. When restarting FF I have a home pape,but no Bookmark tabs show. Why

    Upon starting FF and going to my Home Page, I have no Bookmarks or Tabs showing. I have to Re-load the Bookmark Tabs. My options at Startup are "Show my Windows & Tabs from last time" Also using the Firefox exit,it does not ask to save tabs & windows on Exit. I'm getting tired of adding Bookmark Tabs each time I want to use FF.

    It is possible that there is a problem with the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    Delete the files sessionstore.js and sessionstore.bak in the Firefox Profile Folder.
    * Help > Troubleshooting Information > Profile Directory: Open Containing Folder
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    * http://kb.mozillazine.org/sessionstore.js
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.<br />
    Deleting sessionstore.js will cause App Tabs and Tab Groups to get lost, so you will have to create them again (make a note).
    See:
    * http://kb.mozillazine.org/Session_Restore

Maybe you are looking for

  • Low Memory.

    After setting for Mail for Exchange, my Nokia E7 phone shows low memory. I checked C Memory & there are only important files & that too of small sizes. All major Applications are installed in Mass Memory only. Is "Low Memory" issue due to Mail for Ex

  • Design Bar in the Top Level Navigation

    hi,   How to get rid of the Design Bar in the Top Level Navigation, Design Bar is the small space before Home tab in the Portal ? Thanks in advance....

  • Junk characters in output print. Is it related to User profile?

    Hi friends, My user generated Invoices using MRRL and generated output using MR90. Spool created for these invoices. But in the print, we are getting some lines with junk characters. It looks like chinese characters. 1. If I see the Spool print previ

  • Keeping Menu Visible When Scrolling Page

    Hi, I have a flash website that has a fair amount of conent on one of the pages such that you need to scroll down a few pages to get to the end of it. I have a verticaly oriented menu bar on the right side of the screen that I would like to move down

  • Store Very Large Numbers

    Hello, I am trying to find some info about how to store very large numbers with like 2000 digits or even more and do calculations on them. Does anyone have any info or links about this ?? Thanks.