SELECT COLUMN_NAME, DATA_TYPE
FROM INFORMATION_SCHEMA.COLUMNS
WHERE (TABLE_NAME = 'EMP')
how to find table name in a database
SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.COLUMNS
FROM INFORMATION_SCHEMA.COLUMNS
WHERE (TABLE_NAME = 'EMP')
how to find table name in a database
SELECT TABLE_NAME
FROM INFORMATION_SCHEMA.COLUMNS
No comments:
Post a Comment