|
View previous topic :: View next topic
|
| Author |
Message |
pjnithin
Active User
Joined: 22 Dec 2005 Posts: 116
|
|
|
|
| Whats the difference between coalesce and value functions in DB2. |
|
| Back to top |
|
 |
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
| pjnithin wrote: |
| Whats the difference between coalesce and value functions in DB2. |
According to the DB2V7 Manual
| Quote: |
| The COALESCE function returns the first argument that is not null. VALUE can be used as a synonym for COALESCE. Use COALESCE to conform to the SQL standard. |
|
|
| Back to top |
|
 |
dipakgoyal Warnings : 1 New User
Joined: 02 Aug 2007 Posts: 18 Location: Kolkata
|
|
|
|
From DB2 Developer's guide by Craig S Mullins:
The VALUE function is a synonym for the COALESCE function. Favour using COALESCE though as it adheres to the ANSI standard. |
|
| Back to top |
|
 |
|
|