insert into tableA select @col1,@col2...,@col8,(select top 1 col1 from tableB) as col9
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)