change track in sql server 2008

Tags:
DB tracking
SQL Server
SQL Server 2008
HI, use Northwind Alter database [db_track] set change_tracking=on (change_retention=3 days,Auto_cleanup=on) i m running the aboveĀ  command i m geting the ERROR AS Msg 5011, Level 14, State 5, Line 3 User does not have permission to alter database 'db_track', the database does not exist, or the database is not in a state that allows access checks. Msg 5069, Level 16, State 1, Line 3 ALTER DATABASE statement failed. how do i check that which user is logged in. Regards, RINO

Software/Hardware used:
sql server 2008

Answer Wiki

Thanks. We'll let you know when a new response is added.

If you look at the bar at the bottom of SQL Management Studio it’ll tell you the user account which you are connected with.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following