You shouldn't need to set the database single user first, just issue the following
alter database set offline with rollback immediate
[/Code]
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉