I am trying to use a filter on an OUTPUT clause in t-sql.
What I want to do is something like this:
Insert into tbl_1(col1,col2) Output Inserted.col
insert into #tbl_temp select col1 from ( insert into tbl_1(col1,col2) output Inserted.col1 select col3, col4 from tbl_2 ) as T where T.col1 > 0