Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 18 of 18 total
Thread Statement termination character in EDBManager
Fri, Nov 20 2015 3:59 AMPermanent Link

Uli Becker

Roy,

> I'm missing something here. How do I select a single line to execute? Is this another one for the hidden features list Smiley

When you click into the gutter at the left, a green icon will appear and
select this line for execution. (Screenshot attached)

Uli




Attachments: Clip10.png
Fri, Nov 20 2015 4:24 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Uli


I'd onny noticed those in scripts and I assumed they were breakpoints, on my screen the things are so small I had to take my glasses off and get up close and dirty to see that the symbol was now "play" rather than "pause"

Thanks

Roy Lambert
Fri, Nov 20 2015 4:24 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>In case you're wondering, it *has* to be this way because that's how selected statements work in the editor. Imagine a green selection arrow next to a line that includes two statements with a terminator between them. Which line is selected for execution ?

Now Uli has shown me what to look at I can answer the question, and its obvious really - both of them Smiley

Roy
Fri, Nov 20 2015 2:16 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I'd onny noticed those in scripts and I assumed they were breakpoints, >>

Breakpoints in scripts are orange and contain a pause symbol. Smile

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Nov 20 2015 2:17 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Now Uli has shown me what to look at I can answer the question, and its obvious really - both of them Smiley>>

Both of them, or one and a half of them ? Smile

SELECT * FROM MyTable !  SELECT *
FROM My Table !

Tim Young
Elevate Software
www.elevatesoft.com
Sat, Nov 21 2015 4:02 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


><< I'd onny noticed those in scripts and I assumed they were breakpoints, >>
>
>Breakpoints in scripts are orange and contain a pause symbol. Smile

Two points here:

1. refer back to my comment about size
2. much more significant - people who assign colours a significance often forget about the large minority of the population that is colour blind. The most common form is red - green - brown colour blindness and even that occurs in different intensities. All this leads up to the point that for me the two colours for the breakpoint and selected indicators are one and the same Frown

Roy Lambert
Sat, Nov 21 2015 4:06 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>Both of them, or one and a half of them ? Smile

>SELECT * FROM MyTable ! SELECT *
>FROM My Table !

I like this game - OK what are you going to execute

select
_Name,
_id
from
companies

If I select ANY one of the physical lines making up the statement then the whole statement is selected. SO - add in a new suggestion that selection should select all of any statement that is partially implemented on a selected physical line. IE both of the statements would have been selected and thus both executed.

Roy Lambert

Mon, Nov 23 2015 3:12 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< If I select ANY one of the physical lines making up the statement then the whole statement is selected. >>

Correct.  None of the lines contain a ! statement terminator, so EDB assumes that the entire set of SQL is one statement.

It *is* actually consistent, as much as you want to believe otherwise.

Tim Young
Elevate Software
www.elevatesoft.com
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image