Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 13 total
Thread Which is going to be fastest
Sat, Jul 12 2008 9:35 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

COALESCE(stringfield,'')

or

IF(stringfield IS NULL,'',stringfield)

Roy Lambert
Sat, Jul 12 2008 1:53 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< COALESCE(stringfield,'')

or

IF(stringfield IS NULL,'',stringfield) >>

COALESCE because of not needing the expression evaluation, but I doubt if
you'd ever be able to measure the difference to any large degree.

--
Tim Young
Elevate Software
www.elevatesoft.com

Sat, Jul 12 2008 2:43 PMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

Ta. I don't suppose you've given consideration to Eryk's idea of using & as a special operator to join NULL's as though they were empty strings?


Roy Lambert
Sat, Jul 12 2008 4:20 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< Ta. I don't suppose you've given consideration to Eryk's idea of using &
as a special operator to join NULL's as though they were empty strings? >>

I missed that, but I'll put it down as something to look at.

--
Tim Young
Elevate Software
www.elevatesoft.com

Sat, Jul 12 2008 6:58 PMPermanent Link

"Ole Willy Tuv"
Tim,

<< I missed that, but I'll put it down as something to look at. >>

I know Roy Lambert is asking for proprietary behavior all the time. I for
one hope you'll resist to implement user demands that will make EDB SQL
non-standard.

Ole Willy Tuv
Sun, Jul 13 2008 10:03 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Ole


>I know Roy Lambert is asking for proprietary behavior all the time. I for
>one hope you'll resist to implement user demands that will make EDB SQL
>non-standard.

Its already non-standard as are most implementations - that's what enhancements are all about Smiley

Roy Lambert
Sun, Jul 13 2008 4:46 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Ole,

<< I know Roy Lambert is asking for proprietary behavior all the time. I for
one hope you'll resist to implement user demands that will make EDB SQL
non-standard. >>

I'm only considering extensions that can be ignored in favor of the
standard, not changes in behavior.

--
Tim Young
Elevate Software
www.elevatesoft.com

Sun, Jul 13 2008 5:37 PMPermanent Link

"Ole Willy Tuv"
Tim,

<< I'm only considering extensions that can be ignored in favor of the
standard, not changes in behavior. >>

Sounds good to me Smile

And for the record, I think you've done an excellent job with keeping EDB
very close to the standard specifications.

Ole Willy Tuv
Mon, Jul 14 2008 3:32 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>I'm only considering extensions that can be ignored in favor of the
>standard, not changes in behavior.

Shame, yah! boo! <vbg>


Roy Lambert
Mon, Jul 14 2008 3:47 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim

>COALESCE because of not needing the expression evaluation, but I doubt if
>you'd ever be able to measure the difference to any large degree.

Learning opportunity for Roy

The reason I asked to start with was I thought COALESCE (as well as being hard to spell) would have to do a test internally and by using IF I was "doing the test for it".

What does COALESCE do then?

Roy Lambert
Page 1 of 2Next Page »
Jump to Page:  1 2
Image