Thanks for your reply,
While you could use Profiler for this, I would say that it sounds akward
in my eyes. Why not build a script from the start and keep this script
under version control?
While Express Edition does not include Profiler, you can still run
server-side traces on Express. They take a little more time to set up,
particularly without Profiler. (With Profiler you can define the trace
in the GUI and then export it). Nor is there direct graphic feedback. But
all powers of tracing are still available.
--
Erland Sommarskog, SQL Server MVP, esq...@sommarskog.se
Links for SQL Server Books Online:
SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx
SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx
SQL 2000: http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx