TRUNCATE TABLE Persons_backup Read More
posted @ 2016-10-27 23:11 婧児 Views(237) Comments(0) Diggs(0)
alter table Persons add datenow date DEFAULT GETDATE() null, datetimenow datetime DEFAULT GETDATE()null insert into Persons(LastName) values('test') Read More
posted @ 2016-10-27 23:03 婧児 Views(2139) Comments(0) Diggs(0)
以上SQL中,Persons表中的Id字段必须为主键,才能更新Orders表的外键信息 Read More
posted @ 2016-10-27 18:10 婧児 Views(253) Comments(0) Diggs(0)
posted @ 2016-10-27 17:17 婧児 Views(184) Comments(0) Diggs(0)
Sqlcompletefree SQLSERVER中SQL代码自动提示填充,自动格式化SQL语句工具Sqlcompletefree。方便开发操作。 Read More
posted @ 2016-10-27 10:14 婧児 Views(1476) Comments(0) Diggs(0)
SET ANSI_PADDING OFFGOPRINT 'Testing with ANSI_PADDING OFF'GO CREATE TABLE WebsitesPaddingOFF (id int IDENTITY(1,1) NOT NULL,name char(16) NULL, url v Read More
posted @ 2016-10-27 00:06 婧児 Views(292) Comments(0) Diggs(0)