I am looking for some sample code to use global
variables/parameters to replace the hard-coded idetifiers
in the stored procefures/DDLs where database object names
are delimited by brackets? such as [database Name].[owner].
[Table Name]. I'd like to use global variables to define
the [database Name].[owner] so that it's easier to copy
the code between different DBs and owners.


Thanks.