Get the Table fileds in SQL Server/Oracle
In SQL Server you can retreive the field names as shown below,
SELECT name
FROM syscolumns
WHERE id = (SELECT id FROM sysobjects WHERE name='Table_Name')
Comments
Post a Comment