Created
April 4, 2022 22:34
-
-
Save MarkPryceMaherMSFT/39fc62ce2a91ca43bf6c274dab088b38 to your computer and use it in GitHub Desktop.
pdw_table_mappings
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
create table test_table | |
( | |
col_a int, | |
col_b int | |
) with ( distribution=round_robin) | |
declare @table_object_id bigint; | |
select object_id, * from sys.tables where name like 'test_table' | |
select @table_object_id = object_id from sys.tables where name like 'test_table' | |
-- real name for each table | |
select * from sys.pdw_table_mappings where object_id = @table_object_id |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment