EXEC dbo.sp_generate_inserts @table_name = 'CM_ALLCODE', -- varchar(776) @from = 'FROM CM_ALLCODE WHERE CDNAME = ''PL_BASED'''