Select @ for different fields

  • I have a need where I need to pass a field name to a Stored Procedure then lookup information on it.  Any insight would be greatly appreciated!

    IE:

    Declare @Field char(50)
    Set @field = 'fpartno'

    Select @field from m2mdata01..inmastx

Viewing post 1 (of 1 total)

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