Delete Data from the Table with Management Studio GUI

Microsoft SQL Server 2017 for Everyone Manipulating Tables and Data
1 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$69.99
List Price:  $99.99
You save:  $30
€60.12
List Price:  €85.89
You save:  €25.76
£51.90
List Price:  £74.14
You save:  £22.24
CA$96.58
List Price:  CA$137.98
You save:  CA$41.40
A$97.67
List Price:  A$139.53
You save:  A$41.86
S$89.40
List Price:  S$127.72
You save:  S$38.32
HK$548.43
List Price:  HK$783.50
You save:  HK$235.07
CHF 54.91
List Price:  CHF 78.44
You save:  CHF 23.53
NOK kr648.04
List Price:  NOK kr925.82
You save:  NOK kr277.77
DKK kr449.21
List Price:  DKK kr641.76
You save:  DKK kr192.54
NZ$119.70
List Price:  NZ$171.01
You save:  NZ$51.30
د.إ257.03
List Price:  د.إ367.21
You save:  د.إ110.17
৳8,591.71
List Price:  ৳12,274.39
You save:  ৳3,682.68
₹6,696.53
List Price:  ₹9,566.88
You save:  ₹2,870.35
RM277.51
List Price:  RM396.47
You save:  RM118.95
₦95,999.68
List Price:  ₦137,148.28
You save:  ₦41,148.60
₨19,486.09
List Price:  ₨27,838.46
You save:  ₨8,352.37
฿2,282.60
List Price:  ฿3,261
You save:  ฿978.39
₺3,212.98
List Price:  ₺4,590.17
You save:  ₺1,377.18
B$350.92
List Price:  B$501.33
You save:  B$150.41
R1,143.09
List Price:  R1,633.05
You save:  R489.96
Лв117.58
List Price:  Лв167.97
You save:  Лв50.39
₩105,134.12
List Price:  ₩150,198.04
You save:  ₩45,063.92
₪200.41
List Price:  ₪286.31
You save:  ₪85.90
₱4,307.95
List Price:  ₱6,154.48
You save:  ₱1,846.53
¥11,138.47
List Price:  ¥15,912.78
You save:  ¥4,774.31
MX$1,209.50
List Price:  MX$1,727.94
You save:  MX$518.43
QR255.88
List Price:  QR365.56
You save:  QR109.67
P940.86
List Price:  P1,344.14
You save:  P403.28
KSh9,061.60
List Price:  KSh12,945.70
You save:  KSh3,884.10
E£3,654.73
List Price:  E£5,221.27
You save:  E£1,566.54
ብር11,283.86
List Price:  ብር16,120.49
You save:  ብር4,836.63
Kz63,908.98
List Price:  Kz91,302.46
You save:  Kz27,393.48
CLP$62,795.02
List Price:  CLP$89,711.02
You save:  CLP$26,916
CN¥475.09
List Price:  CN¥678.73
You save:  CN¥203.64
RD$4,117.62
List Price:  RD$5,882.57
You save:  RD$1,764.94
DA9,324.74
List Price:  DA13,321.63
You save:  DA3,996.88
FJ$154.10
List Price:  FJ$220.15
You save:  FJ$66.05
Q533.66
List Price:  Q762.41
You save:  Q228.74
GY$14,642.50
List Price:  GY$20,918.76
You save:  GY$6,276.25
ISK kr8,633.96
List Price:  ISK kr12,334.76
You save:  ISK kr3,700.80
DH643.99
List Price:  DH920.02
You save:  DH276.03
L1,211.53
List Price:  L1,730.83
You save:  L519.30
ден3,705.86
List Price:  ден5,294.31
You save:  ден1,588.45
MOP$564.73
List Price:  MOP$806.79
You save:  MOP$242.06
N$1,142.67
List Price:  N$1,632.46
You save:  N$489.78
C$2,575.76
List Price:  C$3,679.82
You save:  C$1,104.05
रु10,658.33
List Price:  रु15,226.84
You save:  रु4,568.51
S/238.37
List Price:  S/340.55
You save:  S/102.17
K305.36
List Price:  K436.25
You save:  K130.88
SAR262.32
List Price:  SAR374.76
You save:  SAR112.44
ZK1,317.51
List Price:  ZK1,882.25
You save:  ZK564.73
L314.84
List Price:  L449.79
You save:  L134.95
Kč1,458.08
List Price:  Kč2,083.06
You save:  Kč624.98
Ft21,371.05
List Price:  Ft30,531.38
You save:  Ft9,160.33
SEK kr650.91
List Price:  SEK kr929.92
You save:  SEK kr279
ARS$98,056.37
List Price:  ARS$140,086.53
You save:  ARS$42,030.16
Bs483.59
List Price:  Bs690.88
You save:  Bs207.28
COP$257,848.84
List Price:  COP$368,371.27
You save:  COP$110,522.43
₡31,846.95
List Price:  ₡45,497.60
You save:  ₡13,650.64
L1,862
List Price:  L2,660.12
You save:  L798.11
₲433,945.47
List Price:  ₲619,948.67
You save:  ₲186,003.20
$U2,797.79
List Price:  $U3,997.01
You save:  $U1,199.22
zł254.31
List Price:  zł363.32
You save:  zł109
Already have an account? Log In

Transcript

You guys Continuing from our last video where we did a few SQL commands to delete some records, we will look at how we can go about deleting records using the editor itself. So if we right click our table and once again go to Edit top 200 rows from this view, you can actually select the row that you would like to remove and go ahead and right click and press delete or just press Delete on your keyboard. So we can go about removing student number 11 and we just press Delete and at least here it will ask Are you sure you want to delete these rules so you can just click Yes, and then it will do the script in the background and readjust accordingly. A script is a nice automated way to effect multiple changes multiple times but by writing it one time, however, if you use the editor and you had a million rows, it would be a bit more difficult to comb through these rows to find the one that you want to delete or you could actually just modify the SQL statement to find the exact rules that you want to delete.

And then you could just select them all and press Delete. It's a matter of which one is more efficient to do remember that scripts are actually shareable. So if you do it on your machine, you can share with somebody else who may have the same problem or need as you do with their database.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.