View Single Post

   
  #1 (permalink)  
Old 03-01-2008, 02:24 PM
ArunDhaJ
 
Posts: n/a
Default Select with serial number column

Hi Friends,
Help me in retrieving a table with a SNo column

Select Name From SysObjects Where type = 'U' Order By Name asc

the above query would fetch the Table names. as

Name
Table1
Table2
Table3
Table4

i need a view which should also include the serial number

SNo Name
1 Table1
2 Table2
3 Table3
4 Table4

Regards,
ArunDhaJ

Reply With Quote