Created
November 30, 2022 11:03
-
-
Save souhaiebtar/5dd85dac4106a869fbfca0d781136429 to your computer and use it in GitHub Desktop.
[util sql query] util sql query #sql #util #db
This file contains 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
-- list all tables that have column with name 'ID_CAT' | |
SELECT DISTINCT TABLE_NAME | |
FROM INFORMATION_SCHEMA.COLUMNS | |
WHERE COLUMN_NAME IN ('ID_CAT') | |
AND TABLE_SCHEMA='ppgt01'; | |
-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment