.Net Developers
This blog is to memorize my DotNet work which can help me and other developers
Pages
Home
Skill & Experience
Projects
Contact
PHP WordPress
Thursday, August 6, 2009
Sql Query for return columns name of a table
SELECT
COLUMN_NAME
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_NAME = 'tempTble'
ORDER BY ORDINAL_POSITION
//Put the tablename as i did 'tempTble'
Related Posts:
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment