Viewing 2 posts - 1 through 2 (of 2 total)
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=' ...
July 29, 2008 at 11:08 am
#850007
select @ss=[ProductID] from Product
(Assuming that there is only a single value returned...)
July 29, 2008 at 10:58 am
#849998