SQL with Oracle 10g XE - Using ALTER TABLE to Modify Table Columns

Publié le: 25 juillet 2011
sur la chaîne: lecture snippets
21,062
67

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.


Sur cette page du site, vous pouvez voir la vidéo en ligne SQL with Oracle 10g XE - Using ALTER TABLE to Modify Table Columns durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur lecture snippets 25 juillet 2011, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 21,062 fois et il a aimé 67 téléspectateurs. Bon visionnage!