How to get result query in each row of a column in Table using sqlserver

  • I have one table name is TABLE, it has id and query two fields

    as

    follows

    id query

    1000 select count(*) from emp1

    2000 select count(*) from emp2

    ..

    While executing , i want result as follows

    id query

    1000 20(i want number rows here for example i gave here 20)

    2000 22

  • This is a duplicate posting -- see

    http://www.sqlservercentral.com/Forums/Topic748825-149-1.aspx

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply