This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 164788 - 'Run SQL ' Button enhancement for selections
Summary: 'Run SQL ' Button enhancement for selections
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Libor Fischmeistr
URL:
Keywords: UI
Depends on:
Blocks:
 
Reported: 2009-05-08 17:15 UTC by leopard2av
Modified: 2014-01-05 21:40 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leopard2av 2009-05-08 17:15:35 UTC
when 'Run SQL' button is pressed, it must execute only the sql selection (as right click -> run selection). if nothing 
is selected, then run all the sql in the editor, like pgadmin3 sql editor
Comment 1 Jiri Rechtacek 2009-10-16 14:13:32 UTC
Reassigned to new owner.
Comment 2 Jiri Rechtacek 2009-10-16 15:45:37 UTC
Needs review of UI team.
Comment 3 matthias42 2014-01-05 21:40:04 UTC
With 7.4 "run statement" is exposed to gui, which executes only the selected statement _or_ the marked selection.

Overloading "Execute" with this behaviour would IMHO not be good idea, as you could easily do something like "DELETE FROM table1 WHERE ID = 1", if you now accidentally makr "DELETE FROM table1" and the do a "normal" run - your screwed.