FUNCTION  fDocColumnsWithRank

Return the list of Columns plus 'rank'

Used by the auto-doc interface and query builder tools. Also returns the 'rank' column that is used to order the columns in query tools. select * from dbo.fDocColumnsWithRank('PhotoObjAll')

Input and output parameters

nametypelengthinoutpnum
@tablenamevarchar400input1
lengthint4output4
rankint4output8
enumvarchar64output1
namevarchar64output2
typevarchar32output3
unitvarchar64output5
ucdvarchar128output6
descriptionvarchar2048output7