Connecting Tech Pros Worldwide Help | Site Map

Empty string behaviour...

  #1  
Old June 27th, 2008, 08:02 PM
krofak
Guest
 
Posts: n/a
Today, I noticed different empty string behaviour then I am
used to.

Before, empty string was treated as null, so statement

vcResult := 'something' || ''

would result in vcResult = ''.

Today, result of this statement was vcResult = 'something'.

Does anybody know, when (which patchset) did this behaviour
with treating empty strings as null change?

--
I find myself fascinating.


  #2  
Old June 27th, 2008, 08:02 PM
HansF
Guest
 
Posts: n/a

re: Empty string behaviour...


On Thu, 20 Oct 2005 21:17:59 +0200, krofak interested us by writing:

Quote:
Does anybody know, when (which patchset) did this behaviour
with treating empty strings as null change?
Seems to work (something+'' = something) in 9.0.1.3.1

It would be somewhat useful for you to tell us the version and patchset
you are on, as well as the OS info.

--
Hans Forbrich
Canada-wide Oracle training and consulting
mailto: Fuzzy.GreyBeard_at_gmail.com
*** I no longer assist with top-posted newsgroup queries ***

  #3  
Old June 27th, 2008, 08:02 PM
Frank van Bortel
Guest
 
Posts: n/a

re: Empty string behaviour...


krofak wrote:
Quote:
Today, I noticed different empty string behaviour then I am
used to.
>
Before, empty string was treated as null, so statement
>
vcResult := 'something' || ''
>
would result in vcResult = ''.
>
Today, result of this statement was vcResult = 'something'.
>
Does anybody know, when (which patchset) did this behaviour
with treating empty strings as null change?
>
--
I find myself fascinating.
>
>
Not in Oracle... An empty string in Oracle is NULL.
NULL concatenated to s string is that string (nothing more,
nothing less).

I find you less fascinating; you obviously post in the
wrong group.
--
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
  #4  
Old June 27th, 2008, 08:02 PM
krofak
Guest
 
Posts: n/a

re: Empty string behaviour...



"HansF" <News.Hans@telus.netwrote in message
news:pan.2005.10.20.20.14.53.703819@telus.net...
Quote:
On Thu, 20 Oct 2005 21:17:59 +0200, krofak interested us by writing:
>
>
Quote:
>Does anybody know, when (which patchset) did this behaviour
>with treating empty strings as null change?
>
Seems to work (something+'' = something) in 9.0.1.3.1
>
It would be somewhat useful for you to tell us the version and patchset
you are on, as well as the OS info.
Version: 9.2.0.7. I am not sure about OS, AIX something


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Empty string comparisons Neville Lang answers 26 November 3rd, 2006 01:45 AM
Empty string behaviour... krofak answers 3 October 21st, 2005 06:35 PM
bcp is inserting blank space for empty string epaetz answers 4 July 23rd, 2005 09:40 AM
os.listdir() bug in WinXp. Calling with empty string Hannu Kankaanp?? answers 8 July 18th, 2005 04:17 AM