I have multiple stored procedures that use the same declarations and the values are constant throughout.
Here is a sample of re-used declarations:
DECLARE @_status_PO_Auto_Approved as int
DECLARE @_status_PO_Invoice_Exceeds_PO_Amount as int
DECLARE @_status_PO_Item_Code_Mismatch as int
SET @_status_PO_Auto_Approved = 2
SET @_status_PO_Invoice_Exceeds_PO_Amount = 15
SET @_status_PO_Item_Code_Mismatch = 16
How can I make these declarations global, so I can use them in different procedures?