Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
WEBVTT
00:00.480 --> 00:03.660
We're going to show how to add data in the database.
00:05.180 --> 00:17.090
Select the table, selected script as, insert to, new query Editor, from that query, we can add data
00:17.960 --> 00:22.490
even if there is another way we can add data where you right-click
00:22.490 --> 00:26.870
on the table, then you select Edit data.
00:27.590 --> 00:29.270
You can add data from there.
00:29.420 --> 00:31.660
But this is another way of adding data in the database.
00:32.090 --> 00:37.460
You create a query, then you write code of adding data in the database.
00:38.410 --> 00:47.930
You will rwite the code: use Point-of-sale as a database, go, inset into the table [table name], item
00:47.930 --> 00:48.650
size.
00:49.310 --> 00:55.310
Then the you can see the column item says value
00:55.310 --> 00:58.100
We can add for example, kilogramme, then go.
00:58.130 --> 00:59.750
If you click execute.
01:00.290 --> 01:05.600
It shows that one row is affected, which means it saves successfully.
01:05.900 --> 01:08.510
We can add more data like one litre,
01:09.040 --> 01:10.670
two litre for example.
01:11.420 --> 01:14.690
Yeah, it's being saved in the database as you can see.
01:14.720 --> 01:20.540
When it's writtenone affected, it means it's added to one row in the database.
01:20.780 --> 01:24.540
Then you can close when you finish with adding data in the database.
01:24.560 --> 01:26.600
This is a one way of adding data.
01:26.600 --> 01:35.600
You can also : right-click, then you click on edit top twenty row, for example, you can add
01:35.600 --> 01:35.930
data.
01:35.930 --> 01:37.700
from there you can add data.
01:37.940 --> 01:42.860
That's the two way you can add data from the database.
01:44.240 --> 01:51.940
But if you have like a Point-of-sale application, C Sharp application, you can use it
01:51.950 --> 01:54.290
you can use it for adding data.
01:54.500 --> 01:58.970
This is the way you use for adding data using SQL Server query.
01:59.870 --> 02:01.550
You can add more data.
02:02.660 --> 02:04.970
If you add the data you click on execute.
02:04.970 --> 02:10.010
It shows the row affected, which means the data is inserted in the database successfully.
02:11.070 --> 02:11.540
Right-Click
02:11.540 --> 02:12.470
on the table.
02:12.740 --> 02:20.210
If you click on edit top twenty rows, you can add data from there without writing code. But writting codes
02:20.210 --> 02:21.440
right-Click
02:21.440 --> 02:27.650
on the table, then select the script of adding data
02:27.650 --> 02:35.990
right-Click on the table, then select top 1000 row or select a top 200 rows.
02:35.990 --> 02:38.510
It will show you all data in the database.
02:39.470 --> 02:42.440
That's the way you can see the data in the database.
02:42.980 --> 02:53.780
If you try to add also more data in the table: item size, Insert into item size, Column name then value.
02:54.680 --> 03:00.410
For example, we add a can of coke, for example.
03:00.710 --> 03:02.840
A can we add it as a size.
03:03.260 --> 03:06.070
We're going to use that size
03:06.080 --> 03:16.280
As I told you in the relationship or in designing process, it will help .
03:16.490 --> 03:22.900
for not writting same size in the table. Not to repeat writing something many times when adding data in the database.
03:23.020 --> 03:23.480
Right-Click
03:23.480 --> 03:24.890
then.
03:26.200 --> 03:30.990
You selected the query for adding data, then you can write the code yourself, or right-click
03:31.300 --> 03:31.570
Right-Click
03:31.570 --> 03:36.490
on the table, then you select edit top 200 rows.
03:36.610 --> 03:38.710
It will show you where you can edit and add data.
03:38.720 --> 03:42.260
You can add data from there without writing code.
03:42.490 --> 03:43.520
Thank you so much.
03:44.020 --> 03:45.430
Hope you enjoyed this course.
03:45.460 --> 03:48.190
See you for the next lecture bye.4149
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.