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. 3 4690
On Thu, 20 Oct 2005 21:17:59 +0200, krofak interested us by writing: 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 ***
krofak wrote: 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...
"HansF" <Ne*******@telu s.net> wrote in message
news:pa******** *************** *****@telus.net ... On Thu, 20 Oct 2005 21:17:59 +0200, krofak interested us by writing:
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Hannu Kankaanp?? |
last post by:
This may be a bug or simply a strange result of undefined
behaviour, but this is what I get with Python 2.3.2 on
Windows XP:
>>> import os
>>> os.listdir('')
>>> os.listdir(u'')
|
by: Sabyasachi Basu |
last post by:
While trying to port some stuff from Unix to Windows, I encountered a
strange behaviour of function macros with empty arguments. Here is a small
snippet which illustrates the problem:
#include <iostream>
#include <string>
using namespace std;
#define B(X, Y) Y
|
by: Matthias Hildebrand |
last post by:
Hello,
std::map< int, MyClass*> mymap;
it = mymap.find( somekey ) // here happen bad things
if( it != mymap.end() )
{
// do something useful with it->second
}
else
|
by: epaetz |
last post by:
I'm doing a bcp out of a table to a file. Some of the fields in a
record may have an empty string.
When I bcp out to the file and examine it, the fields that have an
empty string in the database now show up in the file as having one
blank character.
Why is bcp doing this? I don't want the blank character in my output.
Thanks,
|
by: Stefano G. |
last post by:
I have a WSDL containing this enumeration type
<xsd:simpleType name="item_type_enum">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="VCD"/>
<xsd:enumeration value="SVCD"/>
<xsd:enumeration value="CDAUDIO"/>
<xsd:enumeration value="DVD"/>
<xsd:enumeration value=""/><!-- can be an empty string -->
</xsd:restriction>
| |
by: Neville Lang |
last post by:
Hi all,
I am having a memory blank at the moment. I have been writing in C# for a
number of years and now need to do something in VB.NET, so forgive me such a
primitive question.
In C#, I test whether a string has a value or not by the following syntax:
if (thisString.Trim() == "")
{
|
by: arnuld |
last post by:
#include <iostream>
#include <limits>
int main()
{
std::string s1;
std::cout << s1 << std::endl;
return 0;
|
by: G04 |
last post by:
Hi All,
I have a continuous form with all records. For each field there is a combo in the form header and the form also contains a Toggle button "Apply Filter".
When clicked, it changes to "Cancel Filter".
Then an SQL string with condition meeting the criteria input in the combo boxes is built.
I have noticed that when certain fields are not filled in (no space, nothing), the record is simply not shown. The empty field is not necessarily...
|
by: krofak |
last post by:
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'.
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |