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 » Rgarding Date format conversion in ESQL

Post new topic  Reply to topic
 Rgarding Date format conversion in ESQL « View previous topic :: View next topic » 
Author Message
amitkarma
PostPosted: Mon Dec 16, 2013 6:07 am    Post subject: Rgarding Date format conversion in ESQL Reply with quote

Novice

Joined: 17 Feb 2013
Posts: 10

I am facing a prblem during TYPE casting the date format.
I received the date format as dd-mm-yyyyTHHMMSSZ and want to Convert to ddmmyyyyhhmmss. But unable to do that ,I already used Replace and cast function
Can anybody have the solution of this.??

EDIT by exerk: Moved to a more appropriate forum.
Back to top
View user's profile Send private message
Esa
PostPosted: Mon Dec 16, 2013 6:24 am    Post subject: Re: Rgarding Date format conversion in ESQL Reply with quote

Grand Master

Joined: 22 May 2008
Posts: 1387
Location: Finland

amitkarma wrote:

Can anybody have the solution of this.??


Yes.

You need two casts, first to timestamp and then to CHAR.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Rgarding Date format conversion in ESQL
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.