Global in what regards? Global across Stored Procs? Global across connections?
I would think that where you have a need for such globals, that you store them as meta-data in your database. Just create a new table, called "GLOBAL_VARIABLES" or somesuch, give them a name and a data type, value, etc, and nice SPs for getting, setting, locking...etc.
Regards,
TR