T-SQL ENHANCEMENTS Figure 7-4: Trace Properties Dialog in

T-SQL ENHANCEMENTS Figure 7-4: Trace Properties Dialog in SQL Server 2005 To be certain that you get the correct result, you can clean out the cache before you execute the procedure by executing dbccfreeproccache. When setting up the trace, you will see how the SQL Profiler allows you to trace more events than in SQL Server 2000. Figure 7-4 shows the Events Selection tab from the Trace Properties dialog. As mentioned in the beginning of this chapter, the statement-level recompilation can be seen as a purely infrastructural enhancement. As a developer or DBA, you will not explicitly use it even though you implicitly benefit from it, and it may change the way you develop stored procedures. No longer do recompiles have as much of a negative impact on performance. DDL Triggers A trigger is a block of SQL statements that are executed based on the fact that there has been an alteration (INSERT, UPDATE, or DELETE) to a table or on a view. In previous versions of SQL Server, the statements had to be written in T-SQL, but in version 2005, as we saw in Chapter 3, they can also be written using .NET languages. As we mentioned, the triggers are fired based on action statements (DML) in the database.

Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Tomcat Web Hosting services

Bookmark the permalink.

One Response to T-SQL ENHANCEMENTS Figure 7-4: Trace Properties Dialog in

  1. Pingback: using cialis