Skip to main content

How to work with Date format in SQL: Set command

Comments

4 comments

  • Yaremi Miranda Lopez

    HANA:

    @STORE1 = SQL(SELECT TO_VARCHAR(T0."DocDueDate", 'yyyy-mm-dd') FROM "ORDR" T0 WHERE T0."DocNum" = 972);
    SET($[$12.0.DATE]|@STORE1);

    0
  • Lauren Downs

    Hi,

    I need the below to say IF ($[$BOYX_5.0.0]  > yesterday:

    What is the correct logic please?

    0
  • Dustin Bellew

    IF ($[$BOYX_5.0.0]  > getdate() -1

    -1
  • Anthony Mendoza

    Hello,

    This does not work when attempting to set a date field on a UDT that is handled through the UDT Handler. Image below. Am I missing something here?

    0

Please sign in to leave a comment.