April 4, 2007
2:24 pm

In SQL Server 2005 SP2, the Maintenance Plan "Check Database Integrity" and "Execute T-SQL" Tasks can lose database context under certain circumstances. If configured to check integrity on multiple databases, the Check Integrity Task repeatedly checks the default database. If an Execute T-SQL Task contains multiple batches, separated by GO statements, and does not include USE statements in each batch, those statements that don't provide a database name will be executed against the default database. Incorrect operation can be verified by setting up a profiler trace and observing the database column.

Download

Microsoft, SQL Server 2005, Service Pack, Critical, Update, Build, Downloads

Loading

Contextual Related Posts:

No followup yet

Leave a Response

Comment Preview
« Microsoft SQL Server Database Publishing Wizard 1.1Vista branding is confusing, but is it criminal? »
Feed Icon

Subscribe via RSS or email: