A Friend in Need is a Friend in Deed.
Become a Member at ITTreats.com !! Share Your invaluable Experience to Fellow Programmers. Signup, Start Blogging and support fellow Techies.

Retrieving Column Names of Table in MySQL, SQL Server

when you do select query that will give you only records available, in some conditions we may require column names of table for dynamic query generating programs for that purpose here is the query for retrieving column names in mysql : show columns from <table name> in sqlserver select column_name from information_schema.columns where table_name =<tablename> for more infomation .. .. ..

Created By : adrevol