Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
SQL query to fetch all table names and row/column from db
Dhiraj Sharma
10y
716
1
Reply
select TABLE_NAME, COUNT(TABLE_NAME) ColumnCount from INFORMATION_SCHEMA.COLUMNS group by TABLE_NAME
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
SQL
Excel data needs to be updated in existing SQL table