select columns

  • Is there a way to find out how many parameters/columns one has selected from a select query

    example

    select name,id from Customers-- has 2 parameters

    select name,desc,id from customers -- has 3 paramaters

  • To the best of my knowledge I have not come across sql function to do so.

    What specifically is your goal however as there may be some option I have not thought of to reach the goal.

  • You can use ADO recordset to do so (if ADO is in your framework) ! I don't know any Transact-SQL function having this scope!

    Luani


    Luani

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

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