contents of homework:
1. Install SQLserver
2. Log in to the local database server using the sa account
3. The new database, the new table, the complete list CRUD
Installation SQLserver
Because before leaving the job, has been installed SQLservr, so no shots. The following is the text description.
The class has great God wrote the article to download and install, and to thank the way he provides.
Links: https://blog.csdn.net/qq_43974000/article/details/104362154?utm_source=app
Download: SQLserver download
Because there is no remaining shots, so be careful not to describe, I also follow the link above approach to, refer to the links.
- Open SQL
Server Type: Database Engine
Server name: IP computer
Authentication: windows authentication
Change the login configuration
With the help of big brother, really effortless to complete the installation (although I do not understand these are a little bit what to do ......)
In short, thank big brother article again ---- https://blog.csdn.net/qq_43974000/article/details/104362154?utm_source=app
New database, the new table
- New Database, emmm, analog student information table, named [stu] (student)
- New Table
Fill in information:
Data types, to make use of type char, char type numbers also choose to avoid ruthless people have entered violence.
The first few, allowed √ [Cancel] NULL values, the last one [√] to select as a control.
After confirming the save
Saved successfully! ! !
- increase
Right table, select Edit Top 200 Rows []
Top right execute SQL (shortcut Crtl + R)
- delete
Select the row (to remove the second line as an example), right-click Delete to delete
删除成功√√√
- 修改
直接修改即可,之后执行
总结:作业大致完成了,第一次接触数据库,感觉还是有些吃力,还有很多地方不懂,最近也是参考了很多的资料,循序渐进吧,认真学总会得到成果的。
最后还是要感谢同班的大佬(感觉已经被人家落下几个世纪了QAQ),喜欢的话也欢迎多多支持他。
——————————https://me.csdn.net/qq_43974000
以上
————(2020.2.23)