SELECT
DB_ID() AS Id_DefaultDB,
DB_ID('CAS_DEV') AS Id_SpecificDb,
DB_NAME() AS Name_DefaultDb,
DB_NAME(9) AS Name_SpecificDb;
SELECT
SCHEMA_ID() AS Id_DefaultSchema,
SCHEMA_ID('DBO') AS Id_SpecificSchema,
SCHEMA_NAME() AS Name_DefaultSchema,
SCHEMA_NAME(1) AS Name_SpecificSchema;
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!