Setting database parameters incode

If you are developing an application that connects to a database, you must specify the required connection parameters in the appropriate script as properties of the Transaction object.

One of the connection parameters you might want to specify in a script is DbParameter. You can do this by copying DbParameter syntax from the Preview tab in the Database Profile Setup dialog box into your code.