Obtaining the Current Database Name This is an off-site link.  Please review our Terms of Service for additional information.

(Richard Carr) When developing stored procedures or functions that are to be reused by multiple databases, it may be necessary to obtain the name of the current database. This can be achieved using a metadata function.

Read this article...

comments powered by Disqus