دوست عزیز لطفا پاسخها رو با دقت بیشتری مطالعه بفرمایید:
نوشته شده توسط
AminSobati
در Books Online در راهنمای هر دستوری، یک قسمت پائین صفحه وجود داره که Permissionهای مورد نیاز برای اون دستور رو توضیح داده
مثلا اگر به دستور Restore مراجعه کنید گفته که:
If the database being restored does not exist, the user must have CREATE DATABASE permissions to be able to execute RESTORE. If the database exists, RESTORE permissions default to members of the sysadmin and dbcreator fixed server roles and the owner (dbo) of the database.
یا در مورد sp_attach_db:
Only members of the sysadmin and dbcreator fixed server roles can execute this procedure.