Hello All
I am Using sql2005
My Doubt is How To Format Numbers in Sql Query Like
Format(NOS,"0000") in vb
ie I have Table Tbl1 Fields Nos1 Datatype int values 1,2,3,4,................1000
When Simple Query Select * From Tbl1 We got Following o/p
1,2,3,4
But I want Out Put Like below
0001,0002,0003 ,------------, 0010,0011,---------,0100,0101,--------,1000
How we Can Format like this in sql Query
Faisal