When exporting Sprocs and UDFs, the T-SQL checks to see if it exists, and if not, executes dbo.sp_executesql with the Sproc/UDF as a string.
It should be similar to the following:
BEGIN TRANS...
Id #18 | Release:
None
| Updated: May 6 at 5:42 PM by billgraziano | Created: Mar 21 at 7:37 PM by chrisw_clubready