IN A QUERY WINDOW, RUN THE FOLLOWING COMMAND

3. in a query window, run the following command:

raiserror(’trace error text’, 16,1)

Finally, validate the sql trace has seen the error message: