they both achieve the same result. Detaching removes the database from the system catalogs whereas offline doesn't.
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉