|
|
|
|
|
|
| Author |
Message |
Jürg Schaufelberger *nix forums beginner
Joined: 15 Sep 2005
Posts: 4
|
Posted: Thu May 11, 2006 6:27 pm Post subject:
concat two strings
|
|
|
Hello
I need a function to concat two strings only if both values
are not null. The concat() doesn't work like this and the
operater || either.
I would like to concat the strings in a SQL-statement.
Is there in Oracle 9 a function that works like I need it ?
What's the easiest way to solve this problem ?
Thanks for your help
Jürg |
|
| Back to top |
|
 |
Mark C. Stock *nix forums Guru
Joined: 05 May 2005
Posts: 730
|
Posted: Thu May 11, 2006 6:42 pm Post subject:
Re: concat two strings
|
|
|
"Jürg Schaufelberger" <juerg.schaufelberger@tele2.ch> wrote in message
news:mlL8g.169$OK3.41@nntpserver.swip.net...
: Hello
:
: I need a function to concat two strings only if both values
: are not null. The concat() doesn't work like this and the
: operater || either.
: I would like to concat the strings in a SQL-statement.
: Is there in Oracle 9 a function that works like I need it ?
: What's the easiest way to solve this problem ?
:
: Thanks for your help
: Jürg
:
:
look into case, nvl, nlv2, and decode
some combination of one or two of these should work for you
++ mcs |
|
| Back to top |
|
 |
Google
|
|
| Back to top |
|
 |
|
|
The time now is Sat Jan 10, 2009 3:21 am | All times are GMT
|
|
Loans | Xbox Mod Chip | AdSense Optimization Tutorials | Bankruptcy | Web Advertising
|
|
Copyright © 2004-2005 DeniX Solutions SRL
|
|
|
|
Other DeniX Solutions sites:
Unix/Linux blog |
electronics forum |
medicine forum |
science forum |
|
|
Privacy Policy
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|