global constant

  • Hi every Body,

    Question: can we declare a global constant then use it in

    different SPs (how package?!)

    Thanks

  • Hi,

    Put the global constant(s) in a table.

    Then write a scalar function to access the global constant(s),

    Or just select from this table to retrieve the constant in the table.

    If you need global constants of different datatypes, consider making use of the sql_variant datatype.

    /rockmoose


    You must unlearn what You have learnt

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply