I have the following script and please review the error message. Currently, I have SQL Server 2012, and I believe the database_data.mdf is older version.
How can fix it in this case? Thanks
EXEC sp_addlogin 'databasename', 'password', 'databasename'
EXEC sp_changedbowner databasename
Msg 950, Level 20, State 1, Line 1
Database 'databasename' cannot be upgraded because its non-release version (539) is not supported by this version of SQL Server.
You cannot open a database that is incompatible with this version of sqlservr.exe. You must re-create the database.