ALTER FUNCTION dbo.sp_GetTableCols(@TableName VARCHAR(200)) RETURNS TABLE AS RETURN (SELECT Column_Name from INFORMATION_SCHEMA.COLUMNS WHERE Table_Schema = 'dbo' and Table_Name = @TableName); GO
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)