:皒祗想自私旳占有著袮
.Net Ajax SQLserver Flex UI JS 一样都不能少...
随笔- 67  文章- 0  评论- 13 
博客园  社区  首页  新随笔  联系  管理  订阅 订阅

SQL2000 增加自动排序列


select pid=identity(int,1,1),p_id,p_path,p_zoom,p_title,p_bewrite,a_id into TableBak 
from t_photo p,t_user u 
where a_id=17 and u.u_id=10 
select * from TableBak 
drop table TableBak

SQL查询增加序号

使用临时表
posted @ 2008-02-29 11:00 JoyBin 阅读(254) 评论(0) 编辑 收藏
刷新评论刷新页面返回顶部
程序员问答社区,解决您的IT难题
博客园首页博问新闻闪存程序员招聘知识库
Copyright ©2012 JoyBin