New Feature: Generate Statements (select, insert, update)

I finally moved to ubuntu, so no more toad for me. It will be nice if sql developer could have the generate statements menu ( select, insert update) found in Toad. This should be extremely simple to do. In my case it actually save me time when testing and creating store procedures.
Maybe the feature is there and I just dont know where it is.
Thank you.

There's an existing request for this on the Exchange; vote on that one to add weight, to increase chances of implementation.
Uncontaminated? How can you say that if you don't know what it's like being contaminated? You'd wish you were ;-)
Although I really like sqldev, the numerous bugs and performance issues I hit every day still force me now and then to use the much more mature Toad. At least I'm sure it does what I want it to do and that it won't screw up our production environment.
K.

Similar Messages

  • SELECT - INSERT/UPDATE statement mapping.

    This might be a silly question, but are there any Java libraries that can perform an arbitrary SELECT statement to INSERT/UPDATE statement mapping? Or indeed, is this in fact possible?
    Just to be a little clearer, if we had the statement;
    SELECT [Field1] FROM [Table1]
    It would map down to;
    INSERT INTO [Table1] VALUES [Field1]='foo'
    Please excuse my INSERT syntax if it is incorrect, I hardly ever use these statements.
    The reason that I ask is because I am writing a piece of software that can perform quite complex extractions from databases, and it would be nice to be able to automatically 'reverse' the extraction, and perform updates on the extracted data.
    Unfortunately, because of the architecture and requirements of the application, I can not just update a resultset and call the update() method.
    Thanks for your time.
    Ben

    You can define a Bean or simple class to define a table record type (table structure), defining all fields, the primary key and maybe more.
    then deriving a select or insert or update can be done with ease.

  • Using Case statement to insert,update,delete  the tables

    Hi All,
    I have to check the databse ,
    if it is developement then
    insert/update/delete values in tables;
    if it staging then
    insert/update/delete values in tables;
    if it is production then
    insert/update/delete values in tables;
    thers is function available to check the current database
    For doing the about i am trying to write CASE statement like this
    SELECT function,
    case
    when fun = 'developement' then insert into table1 values ('abcd','1234')
    when fun = 'staging' then insert into table1 values ('abcd','1234')
    when fun= 'production' then insert into table1 values ('abcd','1234')
    else null
    from dual
    its throughing me an error
    please help
    Thanks,

    Hi,
    You can use CASE staement any place where an expression is expected.
    For example, in:
    UPDATE  table_a
    SET     col1 = exp1
    ,       col2 = exp2
    WHERE   exp3 = exp4;all the expressions are labled lke expn.
    Note that table_a, col1 and col2 are not expressions: you must hard-code these names, or use dynamic SQL.
    So it's okay to say:
    UPDATE  table_a
    SET     col1 = CASE
                       WHEN  db = 'development'  THEN  0
                       WHEN  db = 'staging'      THEN  1
                   END
    ,       col2 = CASE
                       WHEN  db = 'development'  THEN  NULL
                       WHEN  db = 'staging'      THEN  col2
                   END
    WHERE   db != 'production';In this example:
    in the development database, col1 is set to 0 and col2 is set to NULL
    in the staging database, col1 is set to 1 and col2 is unchanged (that is, set to what it already was)
    in the production database, nothing is changed (the WHERE condition is always FALSE)

  • Stats on Inserts/Updates/Deletes

    What's the best way to figure out how many insert/update/delete transactions my 10g Grid is processing over a given period (e.g. an hour) of time?
    I want to come up with an automated procedure for collecting these stats (and possibly logging them
    to a file).
    I have Grid Control running, but in poking around under 'Performance' I don't see any metrics like this.

    http://hostname:port/em
    (Check $ORACLE_HOME/install/portlist.ini for the port of
    Enterprise Manager Console HTTP Port (xadv2) = <port number>)
    OEM Database Control:
    Database: <DB instance name>.oracle.com->All Metrics->Throughput->Number of Transactions (per second)
    View Data:
    Last 24 hours
    Last 7 days
    Last 31 days

  • New features under notification bar after update

    After I received an update there were some new features on the phone under the notification drop down like an auto rotation button and mobile data button, what do these do?

    The auto-rotation allows you to control if applications can rotate 90 degrees to landscape mode.
    The mobile data allows you to turn off or on the 3G mobile network. You can still make phone calls, but you won't be able to connect with the 3G EDVO network. It is helpful if you are in a bad 3G location or want to save the battery.
    I would sometimes turn off the mobile data at night so emails and other data sent messages would not disturb me and still allowed phone calls to ring.

  • The 100 new features in the 3.0 update?

    Does anyone know what they were? I have the spotlight search, the landscape option for texting, the voice recorder but other than that, what is there? I don't have 100 new features like it said. I don't even have the videocamera. The one thing I wanted.

    I am glad there was a copy paste added but it would have been nice to use your own ringtones and I don't understand why they could not use gps for the direction of the phone too.
    I am sure if they can pinpoint you on the map they could tell what direction your holding the phone on the 3g.
    The cam is very poor on the 3g phone it,s more like an afterthought.
    I don't understand why apple did not have the function of moving your photos and ringtones with drag and drop onto itunes rather than sync to a folder.
    yes there are apps you can buy but even a £20 phone lets you do all of above without added cost to the user.
    and where is the software reset for clearing the memory or is that an afterthought too.
    PS not picking holes it's a fact.
    The HTC phone is a nice phone mate has one.

  • Req for new features in nest asha 311 update

    Nokia must add several features of asha 311 next upcoming update .
    They should include max. features of their nokia 501 asha platform

    Please contact Nokia if you want to make suggestions.
    These forums are populated by other users of Nokia products just like yourself, not by members of Nokia staff (other than forum moderators).
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • What are all  the new features with this tp3 soa update

    Hi,
    I already know CEP is added but are there more features. I see for example there is an email applications
    thanks Edwin

    Rules is also working now.
    Heidi.

  • What are the new features in the new Mac 10.8.2 update?

    What are the new features in the newwest mac update?

    Read all about it:
    http://support.apple.com/kb/DL1581

  • Insert/Update table via DBLink

    I have a situation where the table that I want users to be able to maintain is owned by a different schema on a different database.
    TABLE1 is owned by SCHEMA1 on DB1
    select,insert,update,delete is granted to SCHEMA2 on DB1
    DBLINK is a DBLink from SCHEMA3 on DB2 to SCHEMA2 on DB1
    HTMLDB is running on SCHEMA3 on DB2
    This setup is necessary because SCHEMA1 is the main data repository, SCHEMA2 has limited access to SCHEMA1 for security reasons, and SCHEMA3 is where HTMLDB is installed
    i.e.
    SCHEMA3@DB2 --> SCHEMA2@DB1 --> SCHEMA1.TABLE1@DB1
    Whenever I try to use the wizards to create a standard Report/Form combo it fails when selecting the table for the Form - table TABLE1 is not in the select list because it's not owned by the schema assigned to the workspace.
    So I created a temporary copy of the table in SCHEMA3 and used the wizard to create the Report/Form combo. This works fine.
    I then dropped the table from SCHEMA3 and created a synonym pointing to SCHEMA1.TABLE1@DBLINK
    The report still works fine but the Automated Row Fetch fails with the error
    "ORA-06550: line 1, column 17: PL/SQL: ORA-00936: missing expression ORA-06550: line 1, column 9: PL/SQL: SQL Statement ignored
    I presume this is because it's specifically looking for a table owned by SCHEMA3 when in fact it's a synonym.
    Is there any way around this without recoding all the optimistic locking, insert, update and delete code?

    Doh! After all that I answered my own question ... it's really simple.
    Create a view in SCHEMA3 pointing to the table in SCHEMA1 and create the Report/Form based on the view
    e.g. CREATE VIEW table1 AS SELECT * FROM schema1.table1@dblink;
    (Where's the Delete Post option when you need it?! ;)

  • New Features for OWB 9.2

    Mark Van De Wiel mentioned yesterday in this forum that OWB 9.2 is now available at http://otn.oracle.com/software/products/warehouse/content.html . From the version number it would appear that this is a major new release, and it's a separate install rather than a patch on OWB9.0.4.
    Would Mark, Igor or Shauna be able to give us some background on the new features in this new release? From quickly looking at the release notes they would appear to be;
    - Correlated Commit (committing changes across all targets uniformly)
    - Ability to create public database links
    - Direct PEL (removes the need for temporary tables when exchanging partitions)
    - Enhanced Flat File Support
    - Mapping Debugger
    - Incorporation of ETL functionality previously found in standalone Pure*Integrate
    - Metadata change management using the OWB GUI rather than using OMB*Plus
    - Multiple Name and Address Software Providers
    - Name/Address Wizard
    - New Public API for OWB
    - Better support for Real Application Clusters
    - Advanced Repository Security and Audit options
    - Support for MITI metadata bridges to third-party products
    It would be good to know the thinking behind these and what areas they think will be particularly of interest to us. Also, has anything been removed or changed that we've got used to using?
    Also, any day now (fingers crossed) the patch to make the OLAP functionality in OWB9.0.4 work (the 9i 9.2.0.3.x patch?) should be out - will this work with OWB9.2 as well?
    Many thanks
    Mark Rittman
    [email protected]

    Hi Mark,
    While I'm not in your list of people to respond I figure I give it a go anyways :-)
    The list of features you mentioned is a nice summary. One of the main release themes is data quality as you noticed. Apart from changes to the name&address functionality we also added the advanced matching and merging into this release. So you can use custom rules to match and merge data. This also allows you to do things like householding for customer data records. In essence we have now completed the integration of Pure*Integrate into Warehouse Builder.
    The mapping debugger is another big thing. This allow you to walk through your mappings and see in detail what happes to the data.
    The metadata change management is now in the UI. THis means there is now object level version management in Warehouse Builder via the UI. You can also compare versions and get a difference report.
    As you mentioned there are a number of smaller and bigger features next to this. The idea for this release is to make OWB a top Data Quality product and allow you to do your ETL and DQ in one tool. Apart from that we have added usability features (debugger, N&A wizard) and we have added some features to solve specific problems.
    Especially the corelated commit is interesting in that respect. You can now, in a map with multiple targets control the commit, and choose to either commit all targets or none, or commit them individually (current behavior).
    As usual there is a lot more, as this is indeed a major release. Keep an eye on OTN for more collateral regarding the new features. We are currently updating the site to reflect the new stuff.
    On the OLAP patch, both 9.0.4 and 9.2 will work equally well with the OLAP patch (when it is available). In 9.2 we added some small thing around composites. More about that when there is an OLAP patch to test this one on in a customer site.
    I hope this answered the question, if not let me know.
    Jean-Pierre

  • 10.1.3 ADF Swing New Features Question

    One of the 4 new features for ADF Swing in JDeveloper 10.1.3 is stated as:
    "ADF Swing
    In the past, deploying an ADF Swing application entailed deploying the ADF runtime libraries, 
    and then packaging and deploying your application class files.
    This process has been simplified so that you no longer need to deploy the ADF runtime libraries
    as a separate step; instead, they are automatically packaged with your application files."Can someone tell me if this is configurable? For instance, you would rarely want the above to occur if deploying using Java Webstart since it would guarantee a FULL download every time you made a small change to any class. This would basically eliminate versioned or incremental downloads of jar files.
    Thanks
    Erik

    Thanks Frank, but your answer is just more confusing.
    Here is what the new features document states:
    "This process has been simplified so that you no longer need to deploy the ADF runtime libraries
    as a separate step; instead, they are automatically packaged with your application files."
    Notice the statement in bold.
    I would expect that statement to mean that ALL of the ADF classes that are normally contained in their respective jar files will now be "automatically packaged" into MY application jar file, so that I have 1 jar file.
    Now looking at your answer:
    "If the application class files changed, then only those class files will be jarred and signed. ADF jar files are not signed again."
    The statement in bold indicates that the ADF classes will still be contained in their respective jar files. Therefore, can you tell us what "automatically packaged" means in this conext? Normally, I would think it meant packaged inside a jar file, but from your answer, that cannot be correct.
    Thanks
    Erik

  • Over 100 new features on iphone?

    ok i saw the first 3-4 new features, where are the other 96? what a long wait for the new software for a couple features. does it really take that much to add a few basic features? i cant live without this addicting phone, but i need MORE MORE MORE!!!!

    I'm not going to list all 100 new features, just the highlighted new features from the 3.0 update website.
    Cut, copy and paste.
    Landscape keyboard for Mail, Messages, and Notes in addition to Safari.
    MMS - to be available later this summer.
    Spotlight search - globally for the entire iPhone.
    Email search.
    iPod search.
    Voice memos.
    Improved calendar - with support for subscribing to calendars with CalDAV support. Create meetings via Microsoft Exchange ActiveSync.
    Buy and download Movies, TV Shows, and Audiobooks direct with the iPhone.
    Enhanced stocks app.
    Safari improvements - autofill user names and passwords, and more.
    Support for internet tethering.
    Stereo Bluetooth.
    Automatic Wi-Fi login.
    Sync notes.
    Additional parental controls.
    Create and log in to one or more iTunes Store accounts directly from the iPhone.
    YouTube login - login to your YouTube account with the YouTube app to save and sync bookmarks.
    Shake to shuffle with the iPod.
    New languages.
    MobileMe find my iPhone and remote wipe.
    Run the next generation of iPhone apps such as peer-to-peer games connecting with another iPhone via Bluetooth to play a game with someone else.
    Two more home screens available for apps.
    This link includes an unofficial list.
    http://forums.macrumors.com/showthread.php?t=715629

  • IBP 4.0 FP1 Patch 2 - Need more info on new features in Supply Planning

    Hi All,
    I was reading the SAP help and some of the new features are not very clear to me, if you have clarity around it please read and help me to get more clarity.
    As per SAP Help,The following features are now available in IBP for supply:
    Separate lead time units of measure can be defined for use in multiple planning areas depending on different time granularities.
    My Query - Where do we define it? I do not see any additional attribute in the MDT where lead time is present but don't see any attribute to define lead time units or any other different settings in the planning area so how can we define this?
    Static periods of supply are taken into account as input for the inventory target, with projected periods of coverage provided as output.
    My Query - What exactly has changed and which are the new key figures here to support this? I could not understand this from reading the above text.
    Independent demand is taken into account as input at the product location, in addition to the distribution demand from other nodes and customer demand.
    The optimizer algorithm supports the Non-Delivery Cost Rate key figure as input for the independent demand at the product location.
    My Query - A new key figure "INDEPENDENTDEMAND" is available now @PERPRODLOC so first point is very clear but second point is very confusing to me as "Non delivery cost rate" is only defined @PERPRODCUST so how we will define the non delivery cost rate for independent demand which is at different planning level and if we are not able to define it how optimizer algorithm will support it? Ideally it needs to be at same level like consensus demand and Non delivery cost rate both @PERPRODCUST Level.
    Thanks
    Girish

    Hi Mark,
    While I'm not in your list of people to respond I figure I give it a go anyways :-)
    The list of features you mentioned is a nice summary. One of the main release themes is data quality as you noticed. Apart from changes to the name&address functionality we also added the advanced matching and merging into this release. So you can use custom rules to match and merge data. This also allows you to do things like householding for customer data records. In essence we have now completed the integration of Pure*Integrate into Warehouse Builder.
    The mapping debugger is another big thing. This allow you to walk through your mappings and see in detail what happes to the data.
    The metadata change management is now in the UI. THis means there is now object level version management in Warehouse Builder via the UI. You can also compare versions and get a difference report.
    As you mentioned there are a number of smaller and bigger features next to this. The idea for this release is to make OWB a top Data Quality product and allow you to do your ETL and DQ in one tool. Apart from that we have added usability features (debugger, N&A wizard) and we have added some features to solve specific problems.
    Especially the corelated commit is interesting in that respect. You can now, in a map with multiple targets control the commit, and choose to either commit all targets or none, or commit them individually (current behavior).
    As usual there is a lot more, as this is indeed a major release. Keep an eye on OTN for more collateral regarding the new features. We are currently updating the site to reflect the new stuff.
    On the OLAP patch, both 9.0.4 and 9.2 will work equally well with the OLAP patch (when it is available). In 9.2 we added some small thing around composites. More about that when there is an OLAP patch to test this one on in a customer site.
    I hope this answered the question, if not let me know.
    Jean-Pierre

  • I don't see the new features of CC within the Camera RAW dialog

    Using Adobe Creative Cloud, I Updated Bridge Cc and Photoshop CC. Now when I access Camera Raw, Camera appears as 8.0  without the new features in the Cc version.

    Updating Bridge and Photoshop isn't also updating ACR. You should be seeing the ACR 8.4 update in your CC app. If not, you can download the actual installer for Photoshop CC (not CS6 mind you):
    ACR 8.4 for Mac
    ACR 8.4 for Windows

Maybe you are looking for

  • Photoshop elements 11 albums won't sync

    Photoshop Elements 11 albums won't sync with ipad using iTunes. I was using PE10 and synced my albums using iTunes to my iPad 3 iOS 6.0 and 5.1 just fine. (itunes 10.7.0.21) I upgraded to PE11 and it goes into perpetual sync when albums are selected.

  • Error while internationalizing WD Java application

    Hi I am implementing multi-lingual functionality (Internationalization) in one of my WD Java application. I am using .xlf files to achieve my objective. All texts are stored in Message Pool of the component. Approach is working fine with all language

  • IPhoto 11 Event Date Question

    I have a question about iPhoto 11 events.  My camera was set to the wrong date for part of an event.  I went in and did a batch change of the time and date of the affected photos.  However, the date range beneath the title of the event still has the

  • Import the jar file of jfreereport to bluej

    i'm having trouble importing the jar file needed to use the jfreereport in bluej. as much as possible i don't want to type the SET CLASSPATH in the command window. is there a way to include the jfreereport jar file to be used in the bluej?

  • Include table

    Is there any database table so that we can find the standard includes that we are used in the program?