Strange - when I do this, only the statement where the cursor is is executing (but I end all my statements with semicolon as well).
When I do not use blank line to separate statements, all are executed.
--
Alexandre Peshansky, MS
Senior Bioinformatics Analyst, Research Informatics Core (RIC)
Harold & Muriel Block Institute for Clinical & Translational Research at Einstein and Montefiore
Albert Einstein College of Medicine
1300 Morris Park Ave, Bronx, NY 10461
(718) 430-2440 (Mo, Tu, Th, Fr) (718) 920-4885 (We)
-----Original Message-----
From: Ben Stover [mailto:bxs...@ya...]
Sent: Monday, May 13, 2013 12:44 AM
To: Squirrel SQL Users
Subject: [Squirrel-sql-users] Running (not all or all or partially) SQL/DDL statements in SQL editor
Assume I have various SQL statements entered in the SQL editor pane.
They are all delimited by a blank line.
When I put now the cursor onto lets say the 3rd SQL statement (out of 5) and press the "run" icon in the toolbar then all SQL statements from cursor position downwards are executed.
How can I let Squirrel only execute ONLY the SQL statement under the current cursor position (until the next blank line) and stop then?
How can I let Squirrel execute ALL SQL statements on pane regardless of the current curosr position?
Ben
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now.
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
Squirrel-sql-users mailing list
Squ...@li...
https://lists.sourceforge.net/lists/listinfo/squirrel-sql-users
|