Mysql
the_chose_one
高级java工程师、架构师
展开
-
mysql null排序
select * from t1 order by sname desc; +-----+-----+--------+ | sid | sno | sname | +-----+-----+--------+ | 103 | 203 | 徐文宇 | | 104 | 204 | kk | | 101 | 201 | NULL | | 103 | 203 | NULL转载 2013-03-07 10:55:48 · 336 阅读 · 0 评论 -
mysql和sqlserver循环插入数据
create table t1 ( sid int not null primary key, sname varchar(1000) not null )engine=innodb default charset=gbk; DELIMITER // create PROCEDURE proc1() BEGIN DECLARE i int DEFAULT 0;转载 2013-03-07 11:05:52 · 374 阅读 · 0 评论