SELECT s.[name], s2.[name], s2.type, s2.length, s2.colorder, s3.[name] FROM sysobjects s LEFT JOIN syscolumns s2 ON s.id = s2.id LEFT JOIN systypes s3 ON s3.[xusertype] = s2.xusertype WHERE s.[type] = 'P' AND s.category = 0 ORDER BY s.[name], s2.colorder
I love Programming, and Eager to learn New things Curious about Microsoft Products, Interested in Knowledge sharing. If you can dream IT, You can become it, If you can think IT, You can do IT, If you can believe it, you can achieve IT.