In a clustered environment, the default temporary database assigned to a session is a local, temporary, instance-specific database. It is not the system tempdb (with a dbid of 2). After upgrading from a nonclustered environment, you may need to modify applications that previously used the system tempdb (with a dbid of 2) as the default temporary database in their actions, so that these actions are now applied to the assigned local temporary database in the Cluster Edition.
dump tran tempdb with truncate_only
declare @tempdbname varchar(30) select @tempdbname = db_name(@@tempdbid) dump tran @tempdbname with truncate_only