Logo video2dn
  • Сохранить видео с ютуба
  • Категории
    • Музыка
    • Кино и Анимация
    • Автомобили
    • Животные
    • Спорт
    • Путешествия
    • Игры
    • Люди и Блоги
    • Юмор
    • Развлечения
    • Новости и Политика
    • Howto и Стиль
    • Diy своими руками
    • Образование
    • Наука и Технологии
    • Некоммерческие Организации
  • О сайте

Скачать или смотреть ADD and DROP a Constraint using ALTER TABLE command in SQL || Lesson 42 || DBMS || Learning Monkey |

  • Wisdomers - Computer Science and Engineering
  • 2021-10-25
  • 22294
ADD and DROP a Constraint using ALTER TABLE command in SQL || Lesson 42 || DBMS || Learning Monkey |
ADD and DROP a Constraint using ALTER TABLE command in SQLadd constraint primary keydrop constraint oracledrop constraint sql serveralter table in sqlalter table command in sqlsqlsql commandssql commands tutorial for beginnersdbmsdbms for placementsdbms for placement preparationlearning monkeylearning monkey dbmsgate csegate cse dbmsgate cse full coursegate cse free lecturesgate cse free online coachinggate cse free coursegate cs syllabus
  • ok logo

Скачать ADD and DROP a Constraint using ALTER TABLE command in SQL || Lesson 42 || DBMS || Learning Monkey | бесплатно в качестве 4к (2к / 1080p)

У нас вы можете скачать бесплатно ADD and DROP a Constraint using ALTER TABLE command in SQL || Lesson 42 || DBMS || Learning Monkey | или посмотреть видео с ютуба в максимальном доступном качестве.

Для скачивания выберите вариант из формы ниже:

  • Информация по загрузке:

Cкачать музыку ADD and DROP a Constraint using ALTER TABLE command in SQL || Lesson 42 || DBMS || Learning Monkey | бесплатно в формате MP3:

Если иконки загрузки не отобразились, ПОЖАЛУЙСТА, НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если у вас возникли трудности с загрузкой, пожалуйста, свяжитесь с нами по контактам, указанным в нижней части страницы.
Спасибо за использование сервиса video2dn.com

Описание к видео ADD and DROP a Constraint using ALTER TABLE command in SQL || Lesson 42 || DBMS || Learning Monkey |

ADD and DROP a Constraint using ALTER TABLE command in SQL

In this class, we will understand ADD and DROP a Constraint using ALTER TABLE command in SQL.

We have already discussed the concepts of ADD, DROP, and MODIFY columns of a table.

ADD and DROP a Constraint using ALTER TABLE command in SQL

This class will understand how to ADD and DROP a Constraint using ALTER TABLE command in SQL.

To understand, we will consider the user’s table as shown below.

The above is what we have considered in our previous class.

We haven’t created a primary key for the user’s table.

We will now alter the table by adding the id column as the primary key.
ADD Constraint

ALTER TABLE users ADD CONSTRAINT pk_users PRIMARY KEY (id);

In the above command, ADD CONSTRAINT is the keyword used to add a constraint.

Whenever we add a constraint, we have to give the name of the ‘constraint.’

In our case, we have given the name pk_users.

These names are significant because they are used in the future to change the constraints.

The new constraint has been added.

To check whether the constraint has been altered, let us insert the row as shown below.

DROP Constraint

ALTER TABLE users DROP CONSTRAINT pk_users;

The DROP CONSTRAINT is the keyword used to drop the constraint.

In the above command, the constraint name has been used.

By executing the above command, the primary key constraint will get dropped.

To check whether the constraint has been dropped or not, we will insert the row as shown below.


Even though the id value exists in the id column, the row will get inserted.


#learningmonkey #dbms #placements #gatecse #gatedbms #campusplacements

Link for playlists:
   / @wisdomerscse  


Link for our website: https://learningmonkey.in

Follow us on Facebook @   / learningmonkey  

Follow us on Instagram @   / learningmonkey1  

Follow us on Twitter @   / _learningmonkey  

Mail us @ [email protected]

Комментарии

Информация по комментариям в разработке

Похожие видео

  • О нас
  • Контакты
  • Отказ от ответственности - Disclaimer
  • Условия использования сайта - TOS
  • Политика конфиденциальности

video2dn Copyright © 2023 - 2025

Контакты для правообладателей [email protected]