TSQL - эффективный способ установки нескольких переменных

это более эффективный способ сделать это?

set @ShippingL = (select ShippingL from AuctionProducts where ProductID = @ProductID)
set @ShippingB = (select ShippingB from AuctionProducts where ProductID = @ProductID)
set @ShippingH = (select ShippingH from AuctionProducts where ProductID = @ProductID)
set @ShippingW = (select ShippingW from AuctionProducts where ProductID = @ProductID)

Ура, -R

9
задан sheikhjabootie 12 February 2011 в 09:11
поделиться