Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT
sc.name as schema_name,
so.name as table_name,
cc.name as column_name,
cc.[definition],
cc.is_persisted
FROM sys.computed_columns as cc
join sys.objects as so on cc.object_id = so.object_id
join sys.schemas as sc on so.schema_id = sc.schema_id;
GO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.