I did not expect my first blog actually contribute to the database (I was a little rookie)
This is the SQL server installation and some basic operations on
First, install SQL server
Our teacher gave the download site (I started looking at the software store, did not find)
https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads
due to the epidemic, red fewer, so we download the free (should be equipped with a proud expression)
is following
installation screenshots
after installation to download SSMS, following circled the
download was a will, this time to open the "SQL server configuration management ", expand" SQL sever network configuration ", the" MSSQLSERVER agreement "in the" TCP / IP "is turned on.
Second, set the sa user
authentication to log on Windows
Click [security] on the left -> [login name] -> [sa] -> [Properties] -> [General] page to change the password for the sa login
and then [sa] -> [properties] -> [state], [whether to allow the connection to the database engine] into [granted], the [Log] into [enabled]
then you can log in to restart it
Third, use the sa login, the new database, table, additions and deletions to
the server name. "" Log on locally
new database, to write their own name, other default you can
click to expand the new database in the left
[Column Name] Fill in the column properties
[ data type] selected according to the column name
[allow] null value indicating whether to allow null
fill in as necessary] [enter the table name and click OK
Right-click [dbo.Person] - [200] before editing the line, followed by the input you want to edit content
delete the contents of the table
you want to delete the row, right-click the header and then delete the triangle, special attention delete can not be undone! ! !
Just click when you want to modify the content can be modified directly, pay attention to click on the space of the next line after the modifications are complete, then click the Execute button, or else can not save.