Documentation T-SQL:The following example registers a business logic handler assembly at the Distributor and changes an existing merge article to use this custom business logic.
http://technet.microsoft.com/en-us/library/ms147911(v=sql.105).aspx
The below example is different! I found some easy things. Can you find and correct the big errors.
(1) @article is not redefined to N't2'.
(2) @publication should point to SamplePubDB
(3) and uses more execs