SQL Server 2019 installation

SQL Server 2019 manager

Search for: SQL Server 2019 manager

It is now called SSMS: SQL Server Management Studio

Search for: It is now called SSMS: SQL Server Management Studio

Installing SSMS is here

does SSMS come with SQL Server 2019?

Search for: does SSMS come with SQL Server 2019?

Download of various SQL Server tools is here

SQL Server configuration manager is documented here

It is almost certain SQL Server Management studio no longer comes with SQL Server installations

SQL Server management studio is close to 600MB now! So install it on wifi

Start, stop, and pause services

Configure services to start automatically or manually, disable the services, or change other service settings

Change the passwords for the accounts used by the SQL Server services

Start SQL Server using trace flags (command line parameters)

View the properties of services

Some info and docs on login authentication modes

During installation, SQL Server Database Engine is set to either Windows Authentication mode or SQL Server and Windows Authentication mode. After installation, you can change the authentication mode at any time.

So pay attention during install

What are security policies in SQL Server?

Search for: What are security policies in SQL Server?

What are various server security roles in SQL Sever?

Search for: What are various server security roles in SQL Sever?

Guidelines for creating a new database in SQLServer

Search for: Guidelines for creating a new database in SQLServer

Notice that "sa", the super user is disabled. "sa" as you can see is different from other logins. It has no directory prefix. That means this is a SQL Server user. One can define an additional SQL Server user here and give the necessary roles to that user so that that user can be used in web applications, to say.

You can click on server roles to see the roles allocated to this sys admin type of user

Enabling/Changing SQL Server authentication modes

Right click on the database name in the SSMS

Different modes of SQL Server authentication is discussed here at MS

Securing SQL Server is broadly discussed here

1. search

2. search for SSMS

3. invoke

Restore a sql server database

Search for: Restore a sql server database

1. You restore into an existing database

2. A backup is what is normally restored.

How to create a new SQL server database from a backup

Search for: How to create a new SQL server database from a backup

1. You have to create a new database

2. You can then restore the backup database into this newly created database

Here is an external article on this

1. I have not used any particular option

2. Just gave a suitable name and took the defaults

1. pick the database

2. right click

3. tasks

4. Restore

5. database

1. use the device option

2. pick the backup file

3. make sure the target database is what you chose

4. Try to restore by using "OK"

5. But....

1. You may thing there is something wrong with the backup file

2. No.

3. It is likely complaining something about the brand new database that was created.

4. Some versions of SQL server this may work fine.

5. It appears there is an option in the restore process that needs to be unchecked.

6. It looks like it is coming from the fact that the brand new databases was never backed up before for some kind of an internal restore!!!

1. overwrite the existing database

2. Turn OFF the "tail log backup" (this is what is causing the error)

1. install sql server

2. create a database

3. Restore an back up file into the database