Append user defined code after the end of a query statement
- On the Data Source tab, expand the tree view to locate the object.
- Right-click the source object and select .
- Under Code Generation, click Edit User defined code.
- From the Type drop-down field, select After End of Query Statement.
- Specify the code to be appended.
- Click Save.
- Compile the object.