Forum Replies Created

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

  • RE: Dumb Question

    Sorry. Did not read the complete post. 8-(

    Try this:

    declare @sql varchar(100)

    declare @ss varchar(30)

    declare @pid varchar(32)

    -- name of column

    set @ss='ProductID'

    -- returned value: productID

    set @pid=' ...

  • RE: Dumb Question

    Try this:

    declare @ss varchar(30)

    select @ss=[ProductID] from Product

    (Assuming that there is only a single value returned...)

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