<em id="0a85b"><option id="0a85b"></option></em>

<abbr id="0a85b"></abbr>

      <nobr id="0a85b"></nobr>
        <tr id="0a85b"></tr>
        9久久伊人精品综合,亚洲一区精品视频在线,成 人免费va视频,国产一区二区三区黄网,99国产精品永久免费视频,亚洲毛片多多影院,精品久久久无码人妻中文字幕,无码国产欧美一区二区三区不卡
        學習啦>學習英語>專業英語>計算機英語>

        數據庫中alter的用法

        時間: 長思709 分享

          數據庫中alter的用法的用法你知道嗎?下面小編就跟你們詳細介紹下數據庫中alter的用法的用法,希望對你們有用。

          數據庫中alter的用法的用法如下:

          To add a column to an existing table, the ALTER TABLE syntax is:

          ALTER TABLE table_name

          ADD column_name column-definition;

          For example:

          ALTER TABLE supplier

          ADD supplier_name varchar2(50);

          This will add a column called supplier_name to the supplier table.

          Syntax #2

          To add multiple columns to an existing table, the ALTER TABLE syntax is:

          ALTER TABLE table_name

          ADD ( column_1 column-definition,

          column_2 column-definition,

          ...

          column_n column_definition );

          For example:

          ALTER TABLE supplier

          ADD ( supplier_name varchar2(50),

          city varchar2(45) );

          This will add two columns (supplier_name and city) to the supplier table.

          Modifying column(s) in a table

          Syntax #1

          To modify a column in an existing table, the ALTER TABLE syntax is:

          ALTER TABLE table_name

          MODIFY column_name column_type;

          For example:

          ALTER TABLE supplier

          MODIFY supplier_name varchar2(100) not null;

          This will modify the column called supplier_name to be a data type of varchar2(100) and force the column to not allow null values.

          Syntax #2

          To modify multiple columns in an existing table, the ALTER TABLE syntax is:

          ALTER TABLE table_name

          MODIFY ( column_1 column_type,

          column_2 column_type,

          ...

          column_n column_type );

          For example:

          ALTER TABLE supplier

          MODIFY ( supplier_name varchar2(100) not null,

          city varchar2(75) );

          This will modify both the supplier_name and city columns.

          Drop column(s) in a table

          Syntax #1

          To drop a column in an existing table, the ALTER TABLE syntax is:

          ALTER TABLE table_name

          DROP COLUMN column_name;

          For example:

          ALTER TABLE supplier

          DROP COLUMN supplier_name;

          This will drop the column called supplier_name from the table called supplier.

          Rename column(s) in a table

          (NEW in Oracle 9i Release 2)

          Syntax #1

          Starting in Oracle 9i Release 2, you can now rename a column.

          To rename a column in an existing table, the ALTER TABLE syntax is:

          ALTER TABLE table_name

          RENAME COLUMN old_name to new_name;

          For example:

          ALTER TABLE supplier

          RENAME COLUMN supplier_name to sname;

          This will rename the column called supplier_name to sname.

        數據庫中alter的用法

        數據庫中alter的用法的用法你知道嗎?下面小編就跟你們詳細介紹下數據庫中alter的用法的用法,希望對你們有用。 數據庫中alter的用法的用法如下: To add a column to an existing table, the ALTER TABLE syntax is: ALTER TABLE table
        推薦度:
        點擊下載文檔文檔為doc格式
        543128 主站蜘蛛池模板: 蜜桃视频在线观看免费网址入口| 国产精品国产精品国产精品| 国产精品无码午夜福利| 欧美在线观看网址| 91久久亚洲综合精品成人| 国产午夜亚洲精品国产成人| 欧美变态另类z0z0禽交| 日韩中文字幕一区二区不卡| 男女激情一区二区三区| 老色鬼永久精品网站| 婷婷色婷婷深深爱播五月| 人人做人人妻人人精| 免费无码高潮流白浆视频| 少妇办公室好紧好爽再浪一点| 女被男啪到哭的视频网站| 国产成人精品2021欧美日韩| 亚洲色大成网站WWW永久麻豆| 老司机午夜福利视频| 国产精品午夜剧场免费观看| 亚洲国产精品VA在线看黑人| 香蕉久久夜色精品国产成人| 国产成人av免费观看| 激情五月日韩中文字幕| 国产免费无遮挡吃奶视频| 国产三级精品在线免费| 新久久国产色av免费看| 国产精品久久久久无码网站| 少妇中文字幕乱码亚洲影视| 亚洲国产亚洲国产路线久久| 国产精品va在线观看无码不卡| 国产一区二区三区色成人| 亚洲成A人片在线观看无码不卡 | 亚洲午夜片| 一本精品99久久精品77| 国产无套中出学生姝| 亚洲AV成人片不卡无码| 欧美~日韩~国产~中文字幕| 国产色悠悠在线免费观看| 国产高清视频一区三区| 亚洲综合一区二区精品导航| 少妇潮喷无码白浆水视频|