Jump to content

Db2


Recommended Posts

Posted

When I use varchar_format(timestamp, ‘mm/dd/yyyy’) column name is missing in the result 

my query is like this 

select columnname1 , columnname2, varchar(timestamp column, ‘mm/dd/yyyy’) from tablename where timestsmp >= ‘2019-02-20-00.00.00.000000’;

Posted

ee probs kante friend valla friend valla uncle ki oche probs ee interesting baa.. ave patukura 

Posted

DATE() function work avvatledhu. DB Lo timestamp column datetime lo undhi . User expecting it as timestamp format ... so checks pettina.. convert chesthunna .. 

UI unte atleast response object  ki  .GetDate.ToString(“d”) pedithe saripoyedhi. But aa option ledhu .. 

Posted

Varchar_format(timestamp, ‘mm/did/yyyy’) as columnname 

ani pedithe vosthundhi ...

 

thanks .... thread closed 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...