I installed SQL Server 2008 R2 to my local machine. But, I can\'t create a new database because of rights (or lack of).
\"CREATE DATABASE PERMISSION D
Yes - it appears you forgot to add yourself to the sysadmin role when installing SQL Server. If you are a local administrator on your machine, this blog post can help you use SQLCMD to get your account into the SQL Server sysadmin group without having to reinstall. It's a bit of a security hole in SQL Server, if you ask me, but it'll help you out in this case.