Interviewer And Interviewee Guide

Sybase Interview Question:

What is a Coalesce? What is the equivalent of Oracle/Db2 Coalesce Function in Sybase?

Submitted by: Administrator
Coalesce is also available in Sybase
This functions evaluates the listed expressions and returns the first non-null value. If all the expressions are null, coalesce returns null

USAGE: coalesce(expression, expression [, expression]...)

EXAMPLE: coalesce(initialqty,finalqty,middleqty)

Returns the first occurrence of a non-NULL value in either the initialqty or finalqty or middleqty
Submitted by: Administrator

Read Online Sybase Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.