select @var = col from table where abc = 17049;
select * from ( select 'x' eggs, 'y' why union all select 'X' eggs, 'Y' why );
select * from ( select 'x' eggs, 'y' why union all select 'X' eggs, 'Y' why ) NOTE_THIS_ALIAS;
select
is apparently also used to display the values of variables. (Compare with print
). values
clause. with
clause. System.Data.Common.DbDataReader
.