Unsupported Screen Size: The viewport size is too small for the theme to render properly.

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Multiple Tables From Query Method #15691
    mbrown
    Member

    a point of clarification:

    it executes all of the statements, but only returns the first resultset.

    for example:

    Code:
    declare @field int;
    set @field = 'value';
    select * from table1 where field1 = @field;
    select * from table2 where field1 = @field;

    it will declare the variable and set it equal to the value and excute the queries, but only the results from table1 will be returned.

Viewing 1 post (of 1 total)