Table aliases and Code Insight Completion

Oops, never mind, I see there are lots of threads on this... so the big question is: Does anyone know when this will be supported?
One thing I am noticing with the new SQL Developer is that if you use table aliases (as we do here) that Code Insight Completion doesn't work. For example, if I type the following SQL:
SELECT *
FROM My_Table mt
WHERE mt.
At the point where I put the dot (i.e. mt.) I would assume that code insight would drop down a box showing me the columns in the alias mt (i.e. My_Table). But nothing happens. Now if I put the full table name My_Table in there (i.e. WHERE My_Table.) then the drop down occurs. But not if you use a table alias - and putting the full table name in defeats the purpose of using aliases.
I know that in other SQL developers (such as PL/SQL Developer) this works fine and we are used to it working this way with aliases. Is there another way to get SQL Developer to do it this way? Or is this going to have to be a NEW feature later on?
Thanks.
Tom
Message was edited by:
tbsimpson

Try searching this has been answered.
http://forums.oracle.com/forums/search.jspa?objID=f260&q=alias+insight
-kris

Similar Messages

  • 30EA2 code insight completion odities

    update statements seem not to be supported by code insight completion for table name:
    For example for table 'table_name':
    type 'update table_' and press ctrl-space does not complete table name.
    When table name is typed, completion for field names works.
    Completion of select statements:
    Type ' select ' (space is important)
    Popup show 'select * from' among others, select 'select * from' and get:
    'sSELECT * FROM'
    This happens only if select is the only statement on the worksheet.

    Try searching this has been answered.
    http://forums.oracle.com/forums/search.jspa?objID=f260&q=alias+insight
    -kris

  • Facelets and code insight for XHTML

    Hi,
    what about support for facelets and code insight for xhtml?
    Thanks,
    Uros.

    Hi,
    actually the templating mechanism is deployable in shared libraries, which means you should be able to reuse this outside of JDeveloper with the right libraries in place. The issue we found with Facelets is with the required binding references that we need for ADF to work in templates (though this is an Oracle specific problem for as long as JSR 227 isn't turned into a J2EE standard) .
    Also, templates in JDeveloper 11 are referenced at runtime, which means they can be changed on the fly even after deployment and all pages will reflect them. Plus, you don't need to configure a new extension and filter to your JSF files/configuration making it more straight forward.
    And yes, it can be deployed to other J2EE containers than Oracle- Not sure what the open source plans are, but I'll point someone from our Trinidad supporters to this thread to shed some light on what the Trinidad community has in the plans.
    Your point for a common templating support is well taken (though I wished there would be something better than Facelets ;-) )
    Frank

  • SQLdeveloper on mac and code insight

    Hi!
    Just downloaded SQL developer 2.1.0.63 and running it on snow leopard. (BTW, for others out there, make sure that you unzip the file with the standard apple utility).
    I cannot get code insight to work for an Oracle or a Teradata DB.
    For Oracle, i type in SELECT * FROM <DB_NAME>. ctr+space and nothing happens. this is in sql worksheet and in newly created files.
    BUT if i just type in SELECT, in a second it gives me select * from table autocompletion.
    as for teradata, i only get autocompletion after select in newly created files, but in sql worksheet - nothing works at all.
    any luck on this?

    when in type in select * from DBNAME.
    this is what i see in the console:
    *...?aux tok2?, parse time = 16
    Finished parsing = 0
    InsightableOracleDatabase.fetch() time = 2216
    SELECT 'SCHEMA' type, username owner, username object_name, null column_name, null column_id, null data_type
    FROM all_users WHERE rownum <=50
    and username like ?
    union all
    SELECT object_type type, owner, object_name, null column_name, null column_id, null data_type
    FROM all_objects
    WHERE      object_type ='TABLE' and object_name not like 'BIN$%' and rownum <=50
    and object_name like ?
    union all
    SELECT object_type type, owner, object_name, null column_name, null column_id, null data_type
    FROM all_objects
    WHERE      object_type ='VIEW' and object_name not like 'BIN$%' and rownum <=50
    and object_name like ?
    union all
    select 'TABLE' type, user owner, synonym_name object_name, null column_name, null column_id, null data_type
    from all_synonyms
    where synonym_name like ?
    and rownum <=50
    and owner in (user,'PUBLIC')
    DBNAME%
    DBNAME%
    DBNAME%
    DBNAME%
    Code completion time = 2271
    when i do this:
    select * from DBNAME.TABLENAME T where t.
    i get this in console:
    *...?aux t2?, parse time = 23
    InsightableOracleDatabase.fetch() time = 705
    SELECT 'COLUMN' type, owner, table_name object_name, column_name, column_id, data_type
    FROM sys.all_tab_cols
    WHERE hidden_column = 'NO' and rownum <=50 and owner = ? and table_name = ?
    union all
    SELECT object_type type, user owner, object_name, null column_name, null column_id, null data_type
    FROM all_objects
    WHERE rownum <=50 and object_name not like 'BIN$%' and object_type IN ('PROCEDURE','FUNCTION','PACKAGE')
    and owner = ?
    union all
    SELECT 'FUNCTION' type, owner, object_name||'.'||procedure_name object_name, null column_name, null column_id, null data_type
    FROM all_procedures
    WHERE rownum <=50 and procedure_name is not null
    and owner in('SYS',?) and object_name = ?
    DBNAME
    TABLENAME
    B
    TERADATA
    B
    Code completion time = 1534
    In this case, the autocompletion works!
    but in the first case - it doesn't do anything (((
    This is when connected to a Oracle DB. (i just also have a teradata connection installed, but it is not connected. not sure why it appears in the console).
    Please help!
    Edited by: strannik19 on Jan 13, 2010 3:55 AM

  • Underline and Code Insight Problem in JDev 10.1.2.0.0 (1811)

    I have just included the libraries to be able to use the MyFaces compnents in jdeveloper and everithing seemed to be working fine, until I imported a package in my case import org.apache.myfaces.custom.date.HtmlInputDate;
    The Jdev editor is underlining the line in blue telling me it cannot find the package if I declare a variable of the same type private HtmlInputDate dateFrom; I still get it underlined. funnily enough if I decide to compile it everything works fine. I'm having the same problem when using Log4J. After this happens codeinsight is not available for the underlined items.
    It seems as if the compiler can find the packages but the editor no. Am I missing something? anybody had the same problem?

    To tell you the truth I'm using a combination of 10.1.2 and 10.1.3 since the beta is still lacking the capability to handle BC4J. I'm waiting eagerly for the final release.
    As regards that document I followed the instructions to setup the 10.1.3 and followed the same guidelines to apply the same settings on 10.1.2 which has a different screen to setup the libraries. maybe I just missed out some jar files in the library setup in 10.1.2

  • Autocomplete / code insight features appeared in Release 919.

    The first time I ran version 919, in the SQL Worksheet pain I typed in "DBMS_" and Code Insight popped up listing the database packages starting with "DBMS_". That was very cool! Only problem is Code Insight has disappeared. I made no Raptor configuration changes yet it no longer comes up when I type in "DBMS_".
    Mike

    Let correct myself. I found it. I had accidentally pressed the correct keystroke (ctrl-space) and did not realize it. It is working now.
    Sorry,
    Mike

  • What is the table for catalogs and codes complete list???

    Dear Experts,
    How to retrieve the total list of catalogs and codes by using table??
    can any one give me the table name to retrieve the complete list of catalogs and codes ??
    Please do the needful.
    Thanks ,
    Sunil Boya

    Sunil,
    See this document. Catalog Profile and Catalogs & Codes
    If you see this join picture you'd understand that the answer to your question is tables: T352C, QPGR, QPCD.
    If you are looking for individual tables then
    VIQMFE - for Object part and Damage
    VIQMUR - for Causes
    VIQMSM - for Tasks
    VIQMMA - for Activites
    QPGT - for Code Group texts
    QPCT - for Code texts
    If you want to know more you may ask.
    Best of Luck
    Jogeswara Rao K

  • Code insight and possible side effects

    Hi,
    I'm using SQL Developer 1.2 on MacOSX 10.4.9 (MacBook Pro) and noticed the following problems:
    In SQL Worksheet, start typing a query and use the shortcut for code insight ie: "SELECT * FROM SCHEMA.EMPL":
    Nothing happens, no completion popup is displayed (first problem)
    Hit backspace to correct the table name : the backspace is disabled (second problem) as other keys (already mentionned in the forum).
    Load presets from preferences: keys are now working again (... except code insight)
    Regards
    FJ

    Hi,
    I downloaded the latest release of SQLDevlopper (multiplatform this time) and here is the error log linked to my actions.
    - Create a new connection, test it with success and save. - OK
    - Connect to the new connection:
    java.sql.SQLException: Fonction non prise en charge
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:269)
    at oracle.jdbc.dbaccess.DBError.throwUnsupportedFeatureSqlException(DBError.java:690)
    at oracle.jdbc.OracleDatabaseMetaData.getDatabaseMajorVersion(OracleDatabaseMetaData.java:4028)
    at oracle.dbtools.raptor.InitializeConnectionListener.initConnection(InitializeConnectionListener.java:99)
    at oracle.dbtools.raptor.InitializeConnectionListener$1.run(InitializeConnectionListener.java:73)
    - Type query select * from myschema. :
    Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: oracle.jdbc.OraclePreparedStatement.setStringAtName(Ljava/lang/String;Ljava/lang/String;)V
    at oracle.dbtools.db.DBUtil.bind(DBUtil.java:748)
    at oracle.dbtools.db.DBUtil.bind(DBUtil.java:1094)
    at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:470)
    at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:497)
    at oracle.dbtools.db.DBUtil.executeReturnArrayList(DBUtil.java:658)
    at oracle.dbtools.db.DBUtil.resolveName(DBUtil.java:1142)
    at oracle.dbtools.db.DBUtil.resolveName(DBUtil.java:1108)
    at oracle.dbtools.raptor.insight.CompletionInsight.getInsightData(CompletionInsight.java:236)
    at oracle.javatools.editor.insight.AbstractInsight.showInsight(AbstractInsight.java:777)
    at oracle.javatools.editor.insight.AbstractInsight.showInsight(AbstractInsight.java:707)
    at oracle.javatools.editor.insight.AbstractInsight.actionPerformed(AbstractInsight.java:502)
    at javax.swing.Timer.fireActionPerformed(Timer.java:271)
    at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    Now the backspace key is not working till the reloadBuffers() function is called
    Hope this helps
    Message was edited by:
    user580108

  • EA1 - Code Insight Queries and Rowcount Restrictions

    I am having problems with the insight completion for columns in tables with large numbers of columns - where I pause for insight after the table alias and ., I get a list of the first 20 columns in the table. However, if the column is not in that list of 20, I then cannot seem to be able to get insight to find the column for me.
    For example, where table_name has 152 columns:
    select * from table_name_t t where t.
    Completion lists 20 columns with a ... option at the bottom, but column_name_c is not in the list. Selecting the ... option does not do anything - I would have getting the remaining options was the logical action.
    Even with t.col (first three characters of column name), the desired column is still not in the first 20 matching columns. With t.colu (first four characters), insight completion does not seem to do anything - ie no list is given.
    Is this the intended behaviour? In our eBusiness Suite database, we have almost 1800 tables or views with more than 100 columns and our worst is a view with 801 columns.
    theFurryOne

    Double clicking the ... doesn't work like that for me - when I double click, the insight pop-up disappears and then after another delay, the same insight column list is displayed again (ie only the first 20 matching columns).
    This combined with the insight pop-up not giving a list when I have the first four characters of the column name, means for me that I cannot get some columns through the insight pop-ups.
    theFurryOne

  • Code Insight and mixed case PL/SQL identifiers

    Let’s assume I hava a package “Test” with a procedure “DoSomeReallyHardWork”.
    I would like code insight to complete a call of this procedure and preserve the original case.
    I don’t like “test.dosomereallyhardwork” and I strongly dislike “TEST.DOSOMEREALLYHARDWORK".
    Is there any way to achive this kind case preservation?
    I recompiled my code with PL/Scope turned on, but it seems that all identifiers are stored in uppercase. Bug or feature?

    The identifiers are case insensitve, so your code could as easily read
    create or replace procedure TestProc is
    ThisVarHasNoMeaning varchar2(100);
    begin
    ThisVarHasNoMeaning := 'Test';
    THISVARHASNOMEANING := 'Other';
    end TestProc
    You only have one identifier, but can have multiple capitalizations. While it would be nice if the declaration was the 'definitive' one, it looks like they've gone the easy route and uppercased them all for consistency.
    If you used _ (the This_Var) in your variable names, at least you could use initcap to pretty them up.

  • Supporting table aliases for auto-completion.

    New patch but still no sign of the supporting table aliases for auto-completion.
    This is THE point where my team is desperatly waiting for so we can kick Toad out.

    Hi,
    The team is working on the next release of SQL Developer, the new patch was out in May. ;-)
    As I am checking the list of requests from the forum against the new release, I see we have addressed a long list of requests. This alias auto-completion has been requested and we have it on our task list, regrettably it will not be available in 1.1.
    A reminder that we have a Feature Request page on the Exchange, where you are welcome to add feature requests. I understand that by adding your comment here, you are also highlighting how important this feature it is to you and your team. It has a high priority on our feature task list.
    Regards
    Sue

  • Code insight is not working correctly in Jdev 10.1.3 (preview) and java 1.5

    The code insight does not work for me. I followed the advice of Steve Muench given here:
    http://radio.weblogs.com/0118231/stories/2003/01/17/whyIsntMyCodeInsightWorking.html
    but that did not change the problem. The problem seems to be related to new java 1.5 features. As soon as I start using generics the code insight is lost...
    Any clues what is going on? I s this easy to fix?
    -- example: (NOTE that iI use double (( )) to indicate generics definitions. the forum software would not let me put in the correct syntax!)
    package mypackage;
    import java.util.Set;
    public class tester1
    private Set ((Integer)) intSet = null;
    public tester1()
    intSet. ---- NO CODE INSIGHT POPS UP! (if i change to "private Set intSet = null;" it works)
    public static void main(String[] args)
    new tester1();
    P.S.
    Also, i noticed that the auto-import ist not working for the "Set((Integer))" line!
    Message was edited by:
    user444936

    thanks for the info.
    Hmm - too bad. I may have to switch to eclipse or something then, since my project involves some 1.5 parts and the missing code insights and import features are a real pain for me.
    Cheers,
    Jochen

  • Need to change Tax code in po but GR and IR also completed

    Hi Gurus,
                I have one issue in the po, the line item "xxxxxxx" in the PO It shall be 36 instead of 39.but it is GR and IR also completed,now we need to change the Tax code,for this we need to cancel IR and GR or without cancel GR, IR also we can change Tax code,please guide me.,but  i am thinking this below mentioned steps to maintain for change the Tax code.
    (1) cancel IR
    (2) Cancel GR for line item  "xxxxxxx"
    (3) Change tax code for line item "xxxxxx" from 39 into 36
    (4) Re-post GR for line item "xxxxxx".
    (5)Re-Post invoice for line item  "xxxxxx"
    These steps are required to change the Tax code in the po or not
    please guide me,
    Thanks for your reply.
    Regards
    SAP MM

    Hi,
    If the Tax amount is merged to the expense/revenue account as per the Tax configuration.
    Then if the tax code is V1 --Tax amount is 100 Rs
    The system will post that amount to material account and same will be GR/IR.
    When you do the MIRO the GR/IR will match & vendor account will update.
    If the Tax amount is posted to seperate a/c then tax amount will not merge to material account so at GR tax amount has no reflection but in MIRO system will post the tax to seperate G/L account and vendor is updated with Material Price + Tax amount, GR/IR will be same as MIGO .
    hope you understand.
    rgds
    Chidanand

  • Table TKZU1 and T.code KSAZ

    Hi All
    could anybody let me know what is the relation between table TKZU1 and T.code KSAZ
    useful answers would be rewarded with points
    Regards
    Prasad

    Hi Prasad,
    The entries which you create TCode: KSAZ, will be stored in table TKZU1.
    Regards,
    Sreekanth....

  • Intellisense and code completion

    Hi all,
    this is maybe not WDA question, but I think all WDA developers have to deal with this problem and I want to know your opinions. The problem is something like intellisense and code completion in abap editor. I'm coming from .NET and Visual Studio world, where this features are implemented and they are very very useful.
    Now when I'm programming something in SE80 I type some_class_instance-> and I want to from editor to show me all methods with description, then I choose some method and editor fill in all method parameters. Now I have to memorize methods and parameters or search for them, which cost a lot of time.
    Example: http://www.fileguru.com/images/b/editor_net_development_microsoft_net-8526.gif
    Best regards Jiri

    Hi
    Check this video
    http://www.sdn.sap.com/irj/scn/elearn?rid=/library/uuid/90db53c4-812d-2c10-0789-dc18f6c9c725&overridelayout=true
    Regards
    Manas Dua

Maybe you are looking for

  • Possible to do conditional ands?

    I don't know if this is possible or not. so I thought I should ask the experts. I have a function and I need to create a query that has conditional ands. what I'm looking for is something like this: the function has a few in variables. one of them is

  • Runtime errors are not showing in debugger!

    Hi, I have recently faced a very strange problem. at first I thought maybe it's because of the new Air SDK 15 build 302 but after switching back to older SDK the problem is still there! any idea or hint about this would be great. just tell me the fir

  • ASM not starting up

    ASM is not starting up on couple of nodes with error Maximum Tranmission Unit (mtu) of the ether adapter is different on the node running instance 3, and this node. Ether adapters connecting the cluster nodes must be configured with identical mtu on

  • Post Children Before Parent

    First, I just want to apologize if this isn't appropriate here. Feel free to lock/delete/move my post elsewhere :) I'm having a BC4J related problem in the OA Framework on JDeveloper 9.0.3.5 and Oracle EBS 11.5.10. I have two EOs that are linked by c

  • Search Field Overlapping on the field label

    Hello All, I have created a Custom Component With a Search Field when I try to resize the window I see that the search field is overlapping on the Label. I have used the configuration Tab to place the field in the view. Thanks in Advance. Ravi Veerub