2017年10月20日

SQL Server 資料欄位add, update and drop

新增欄位
alter table Fulfillment
add last_upadte_timestamp Datetime(7);

修改欄位名稱
ALTER TABLE Customer CHANGE Address Addr char(50);

修改欄位型態
ALTER TABLE Fulfillment ALTER COLUMN EmpID int


移除欄位
alter table [XXXXXXXX].[dbo].[XXXXXXX]
drop column last_upadte_timestamp ;

ALTER TABLE MEN DROP COLUMN Lname

沒有留言:

張貼留言

<Javascript> How to uncompressed GZIP at front-end using Javascript

It's been a while I haven't share my coding work. In this article I would like to share how to receive a Gzip file via stream, unzip...