프로그램 자료/MS-SQL

테이블 내용을 Insert 문으로 변환 쿼리

motolies 2013. 4. 5. 16:04

출처 : http://www.sqler.com/bSQLQA/271870


select 'insert into [Table] Values (''' + col1 + ''',''' + col2 + ''',''' + col3 + ''');'

from [Table]