한 번에 여러 Row를 입력할 수 있다. 직접 예제를 보면 이해가 빠르다. {{{ use tempdb go --drop table source_table create table source_table ( id varchar(10) , pw varchar(10) ); --drop table target_table create table target_table ( id varchar(10) , pw varchar(10) ); --drop table audit create table audit( action varchar(50) , insert_id varchar(10) , insert_pw varchar(10) , delete_id varchar(10) , delete_pw varchar(10) ); insert source_table values ('dwa', '1234') , ('yasi', '4567') , ('lk', 'lk123'); --new syntax, T-SQL Row Constructors go /*참고로 이런것도 가능하다. select * from ( values ('dwa', '1234') , ('yasi', '4567') , ('lk', 'lk123') ) t(id, passwd) ;with test as ( select * from ( values (1, 'aaa') , (2, 'bbb') ) t (id, name) ) select * from test a cross join (values (1), (2)) b (id) */ }}}