加序列号 select id=(select count(1) from tb where zhujian<=a.zhujian),* from tb a 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 thanks ,my computer bad.use xutao's computer.I can not zhongwei. select *, [id]=(select count(1) from jobs b where b.job_id>a.job_id)+1 from job --参考:http://blog.csdn.net/zlp321002/archive/2005/01/12/250961.aspx select identity(int,1,1) id,* into # from 表select * from # to : wgsasd311(自强不息) 这条语句在 TQuery 中好象不能运行啊。我也遇到这个问题。http://community.csdn.net/Expert/topic/4328/4328149.xml?temp=.989895 问下为什么一定要别名 求一SQL语句 如何执行查询语句的同时得取记录的条数?求SQL ****************关于中英文对照的问题?存储过程怎么实现???????????? SQL问题 如何在作业里添加try-catch 来获取异常信息 sql条件中带where与不带where的区别,请高手帮忙。谢谢!! sql的exec()执行带单引号的语句问题 如何把下列语句弄成主键 急急!!!请高手指点,如何导出表格?!! 这条SQL语句怎么写? 45个字段。50万条记录。查询时间60秒。如何提高查询速度?
http://blog.csdn.net/zlp321002/archive/2005/01/12/250961.aspx
我也遇到这个问题。
http://community.csdn.net/Expert/topic/4328/4328149.xml?temp=.989895