In this video I use the ALTER TABLE command to modify an existing field column. The command will allow you to change the data types, whether the field can be null, or even the primary key. When using the ALTER TABLE command you would use the keyword MODIFY to make changes to an existing column. Be careful when changing a data type of the null field as existing data may cause an error if not in compliance with the new change. The code I used to alter the Books table is :
ALTER TABLE BOOKS
MODIFY ISBN_10 VARCHAR(13);
This video is part of a series of videos with the purpose of learning the SQL language. For more information visit Lecture Snippets at http://lecturesnippets.com.
На этой странице сайта вы можете посмотреть видео онлайн SQL with Oracle 10g XE - Using ALTER TABLE to Modify Table Columns длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь lecture snippets 25 Июль 2011, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 21,062 раз и оно понравилось 67 зрителям. Приятного просмотра!