dnlnln / generate-sql-merge

Generate SQL MERGE statements with Table data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generates unnecessary sql for computed columns

kenwarner opened this issue · comments

Thanks very much for providing this script. I did notice that it was generating sql for computed columns though.

Thanks Ken, glad you're finding the script useful. Will definitely have to look into this!

The @ommit_computed_cols parameter is now set to 1 by default, so there's no need to specify this when calling sp_generate_merge anymore in order to avoid the unnecessary sql from being included in the merge statement (sorry I should have mentioned that this option was available earlier!).