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?
-
1Is this helpful: stackoverflow.com/a/22372569/10549281?Leon Yue– Leon Yue2021-03-10 05:42:53 +00:00Commented Mar 10, 2021 at 5:42
-
1This sounds like something that belongs in a configuration table. (which would be referenced by all of your SP's and functions)Nick.Mc– Nick.Mc2021-03-10 05:57:25 +00:00Commented Mar 10, 2021 at 5:57
Add a comment
|