ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL DATE

Post new topic  Reply to topic
 ESQL DATE « View previous topic :: View next topic » 
Author Message
SOLOHERO
PostPosted: Mon Apr 02, 2007 9:13 pm    Post subject: ESQL DATE Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Hi,

How to set a date function Null in ESQL.

sy.Id.ptre:Status.core:EndDate=? (I want this Field to check if it is null or not)
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
elvis_gn
PostPosted: Mon Apr 02, 2007 9:17 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi SOLOHERO,

COALESCE.

Regards.
Back to top
View user's profile Send private message Send e-mail
SOLOHERO
PostPosted: Mon Apr 02, 2007 9:21 pm    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Hi,
How can i use coalesce here , does that check the condition to null ,

I think it does put only default values.
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
elvis_gn
PostPosted: Mon Apr 02, 2007 9:48 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi SOLOHERO,

I'm not sure what you want to do if the filed/value is null...

You should be working around COALESCE and NULLIF.

Regards.
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Mon Apr 02, 2007 10:20 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

if u just want to check for it being NULL u can use IF condition with IS NULL clause
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
SOLOHERO
PostPosted: Tue Apr 03, 2007 1:14 am    Post subject: Reply with quote

Centurion

Joined: 01 Feb 2007
Posts: 107

Hi,
Thanks Guys i was studip i am not thinking is NULL i had before it was showing some error i thought it iwas this and i raised a quest.

Thanks for your Help anyways.
_________________
Thanks
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » ESQL DATE
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.