2015年4月1日

SQL Server 中同时操作的例子:

摘要: 在SQL 中同一逻辑阶段的操作是同时发生的。先有一个例子做为带入:declare @x as int =1;declare @y as int =2;set @x=@y;set @y=@x;select @x,@y;go-- 最后select 的结果是 x=2、y=2!这个结果在大家看来、来的是这么... 阅读全文

posted @ 2015-04-01 23:25 蒋乐兴的技术随笔 阅读(214) 评论(0) 推荐(0) 编辑

mysql alter table

摘要: 准备: create table t(x int,y int); 用法 1: 修改列的数据类 alter table t modify column y nvarchar(32); 用法2: 给表加一列 alter table t add column z int; 用法3: 删除... 阅读全文

posted @ 2015-04-01 22:52 蒋乐兴的技术随笔 阅读(249) 评论(0) 推荐(0) 编辑

导航