sql语句

1 返回插入的id号
2 insert into t_users(username,password) output inserted.id values("admin","123456");

 

1 清除自动增长ID记录(执行后该表的所有数据丢失)
2 truncate table tbName

 

posted @ 2015-05-19 08:33  取经路上  阅读(125)  评论(0编辑  收藏  举报