Adding the Database Trigger for Microsoft SQL Server and Sybase Databases
Compile the provided trigger (mssql_trig.sql or syb_trig.sql).
One way of performing the compilation: sqlcmd -Usa -P<pass> -S<server> -d<database> < <sql_file> where: <pass> is sa's password <server> is the name of the database server <database> is the name of the database <sql_file> is the name of the SQL file
When finished, you should see a message that the trigger was created. If there are any error messages, fix the error and recompile.