iT邦幫忙

0

第32天~MS-SQL開始

Tzu 2022-02-06 21:27:571239 瀏覽

這個得上一篇-https://ithelp.ithome.com.tw/articles/10283679

因為後面目標是要把MS-SQL跟Android連在一起~

所以這裡開始來練習MS-SQL 也有人叫T-SQL

/images/emoticon/emoticon05.gif

Windows 10 作業系統的用戶:直接安裝 SQL Server 2019。


1-按連線

https://ithelp.ithome.com.tw/upload/images/20220206/20119035gISPzbmCJk.png

2-看到左邊代表成功

https://ithelp.ithome.com.tw/upload/images/20220206/20119035OMw9dNJD7O.png

3-新增資料庫

https://ithelp.ithome.com.tw/upload/images/20220206/20119035D5fls8XSgQ.png

給資料庫名稱

https://ithelp.ithome.com.tw/upload/images/20220206/20119035JBViE87q7F.png

按確定

https://ithelp.ithome.com.tw/upload/images/20220206/20119035OGvOdMPE7u.png

4-新增資料表

https://ithelp.ithome.com.tw/upload/images/20220206/20119035xR4nOquSyY.png

開始打~
https://ithelp.ithome.com.tw/upload/images/20220206/20119035UHDXHdR0MD.png
接著存檔
https://ithelp.ithome.com.tw/upload/images/20220206/20119035m8h0fKCO0q.png

5-名稱-確定-X關閉

https://ithelp.ithome.com.tw/upload/images/20220206/20119035CHconAM3Qt.png

6-看到資料表
https://ithelp.ithome.com.tw/upload/images/20220206/20119035zLKUx65PvP.png

7-添加資料列

https://ithelp.ithome.com.tw/upload/images/20220206/20119035iH5VE12cRl.png
NULL代表空值

https://ithelp.ithome.com.tw/upload/images/20220206/20119035HkQ4Kz888p.png
用完也是X

8-查詢
https://ithelp.ithome.com.tw/upload/images/20220206/20119035b1hRFrL54w.png

看到成果
https://ithelp.ithome.com.tw/upload/images/20220206/20119035Z4EmadgEnb.png

9-要修改-找到編輯
https://ithelp.ithome.com.tw/upload/images/20220206/20119035ftK9SFGQgH.png

直接修改

https://ithelp.ithome.com.tw/upload/images/20220206/20119035qC4c10U86X.png

10-改好按X-->再按執行-->可以看到更新
https://ithelp.ithome.com.tw/upload/images/20220207/20119035HLcnqCTPXT.png

11-有時見完看不到--按右鍵--置高--重新整理

https://ithelp.ithome.com.tw/upload/images/20220207/20119035Afb4c3OKKX.png

12-刪除也是按右鍵

https://ithelp.ithome.com.tw/upload/images/20220207/20119035mHKtu3V73P.png

/images/emoticon/emoticon05.gif

這個的下一篇:https://ithelp.ithome.com.tw/articles/10283895


圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言