Created
September 9, 2013 09:10
-
-
Save felixlindemann/6493275 to your computer and use it in GitHub Desktop.
Get All Columns from a table as Query.
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 COLUMN_NAME | |
FROM INFORMATION_SCHEMA.COLUMNS | |
WHERE TABLE_SCHEMA='TABLE_SCHEMA' | |
AND TABLE_NAME='TABLE_NAME'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment