Skip to main content

FAQ - Macro

Comments

3 comments

  • vimal solanki

    Hi Rasmus Wullf Jensen,

    As you show in 3rd Q we can use SQL value and set into specific item like,

    SET($[$10.0.DATE]|SQL: SELECT CONVERT(VARCHAR(10), GETDATE(), 120));

    can we store SQL value in @Store variable..?

     SET(@Store10|SQL: SELECT CONVERT(VARCHAR(10), GETDATE(), 120));

    if not,is there any alternative solutions ..?

     

     

    0
  • Rasmus Jensen

    Why ever store it in a @Store value... Every place you can use @Store you can also use SQL:

    Beyond that I can't see why you should not be able to do it

    0
  • Stephanie Gibbs

    One example is that you would store it so you can use it in comparisons without repeatedly querying the database. 

    0

Please sign in to leave a comment.