А двумя заходами не получиться?
Что то типа:
while select inventTrans
where inventTrans.InventLocationId // Invent location is not empty
#InventABCDim(inventTrans, location)
{
// Do something
}
и
while select inventTrans
where !inventTrans.InventLocationId // Invent location is empty
{
// Do something
}
__________________
С уважением, kvan.
|