摘要:
添加列: alter table tableA add columnA bit null 删除列: ALTER TABLE tableA drop column columnA 阅读全文
posted @ 2021-08-03 17:34
katesharing
阅读(731)
评论(0)
推荐(0)
摘要:
添加DEFAULT 约束: ALTER TABLE [dbo].[tableA] ADD CONSTRAINT [DF_tableA_columnA] DEFAULT ((11)) FOR [columnA] 撤销 DEFAULT 约束: ALTER TABLE [dbo].[tableA] dro 阅读全文
posted @ 2021-08-03 17:25
katesharing
阅读(801)
评论(0)
推荐(0)
摘要:
create procedure insertRecord as declare @ID int set @ID=1 while(@ID<82) begin INSERT INTO tableA (columnA,columnB,columnC,columnD, columnE,columnF) v 阅读全文
posted @ 2021-08-03 17:18
katesharing
阅读(156)
评论(0)
推荐(0)
摘要:
select columnA,columnB,columnC,columnD,columnE,columnF, COUNT(columnA) from tableA where ... group by columnA,columnB,columnC,columnD,columnE,columnF 阅读全文
posted @ 2021-08-03 17:03
katesharing
阅读(249)
评论(0)
推荐(0)
浙公网安备 33010602011771号