See if a database is using Enterprise features of an Microsoft SQL server.
Run this command to see if any database on the SQL Server is using enterprise features
Run this command to see if any database on the SQL Server is using enterprise features
WIth this command you can see witch user that have SysAdmins access.
To show all MSSQL databases except the normal system databases.
To get a list of the databases files, and the current disk size in MB, and the Free Space in MB in each fil, you can use this commands If…
USE GO ALTER DATABASE SET RECOVERY SIMPLE WITH NO_WAIT DBCC SHRINKFILE(, 1) ALTER DATABASE SET RECOVERY FULL WITH NO_WAIT GO Where TestDB, is the database name, and TestDB_Log is the…
After a migration of a database, the mapping of username is lost. You can rejoin the username in database security with the “real” username with this commands:
Steps for chaning Collation: Take backup of Databases and logins. Detach all databases execpt system databases. (All users databases) Find the SQL server installation path (Root of the CD) Run…
SQL Query: SELECT @@version as 'server version' Select SERVERPROPERTY('COLLATION') as 'server collation'
If you want to take a backup from Microsoft SQL Server management Studio, and get this error: Operating system error 5(error not found), then the problems is that the user…
If you want to restore a Microsoft SQL database, from a fuld backup, and put some transaction log file into it. (This backup has backup by ahsay) This is the…