Forum Replies Created

Viewing 2 posts - 16 through 17 (of 17 total)

  • RE: Select Where IN or nested?

    Select ID

    FROM Table

    Where IACID IN (1,2,5)

    AND IExpID >=12

  • RE: Problem in query

    You could declare a variable and set it to the result of the function....

    DECLARE @formula

    SELECT @formula = dbo.returnformula('tot_hra')

    EXEC ('SELECT ' + @formula + ' from <view1><view2> ' )

    Thanks!

    A

Viewing 2 posts - 16 through 17 (of 17 total)