Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Want to display dynamic number of tables in output?

    ok ,lets i explain my requirement....

    ALTER PROC Multiple_Instance_Value

    (

    @compnay_ID INT,

    @Instance_ID NVARCHAR(MAX)

    )

    AS

    BEGIN

    SELECT instance_id,address,company_name,status FROM cmytbl

    WHERE company_ID =@company_ID AND instance_id = @instance_id

    END

    for exemple we passing the input parameter as

    EXEC Multiple_Instance_Value @company_id =...

Viewing post 1 (of 1 total)