1

I need to use a variable in different SPs and functions (say, @GV_CCY_CD = 'USD'). How can I declare it globally, then use wherever it is required?

2
  • 1
    Is this helpful: stackoverflow.com/a/22372569/10549281? Commented Mar 10, 2021 at 5:42
  • 1
    This sounds like something that belongs in a configuration table. (which would be referenced by all of your SP's and functions) Commented Mar 10, 2021 at 5:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.