hello, i am not a big expert in TSQL and i have following problem:
we retrieve once a week a DB hosted at our provider to our sql server. Via FTP we get the db.bak, restore it and add a specific login to this DB. My problem is that this login must be DBO. And i dont knwo how to give this login the dbo permission with Tsql.