Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
ALTER PROCEDURE [dbo].[spGetFieldNames] @TableName varchar(100) As Begin Declare @sql varchar(max); Set @sql= 'select COLUMN_NAME as FieldName from information_schema.columns where table_name = ''' + @TableName + ''' order by ORDINAL_POSITION' exec (@sql) end
Join the community of 500,000 technology professionals and ask your questions.