Jump to content

Db2


Paidithalli

Recommended Posts

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’;

Link to comment
Share on other sites

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 .. 

Link to comment
Share on other sites

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...