Last active
March 24, 2023 07:19
-
-
Save mukarramjavid/ad7a5fb1ea2323f8a8084e70da47e4a2 to your computer and use it in GitHub Desktop.
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
SELECT CONCAT('|| oldValue.', COLUMN_NAME, ' != ', 'newValue.', COLUMN_NAME) AS dataType | |
FROM INFORMATION_SCHEMA.COLUMNS | |
WHERE TABLE_NAME = N'[table_name]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment