Created
May 22, 2025 08:17
-
-
Save MarkPryceMaherMSFT/a244cf5e4ff58ec2a89c7d330342cceb to your computer and use it in GitHub Desktop.
Useful information about the workspace/warehouse/sql ae
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Is it a lakehouse or warehouse | |
SELECT db_name() as db_name, DATABASEPROPERTYEX(db_name(), 'Edition') as [Type] | |
-- Whats the workspace id? | |
SELECT DATABASEPROPERTYEX('master', 'workspaceid') AS workspaceid | |
-- What is the artifact id? | |
SELECT DATABASEPROPERTYEX(db_name(), 'ArtifactId') AS ArtifactId |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment