取最后10条记录

[ 2004-09-09 01:27:18 | Author: zhenhua ]
Font Size: Large | Medium | Small
取最后10条
select * from (select * from t_log order by id desc) where ROWNUM<=10 order by id


去所有权限
update t_user_right t set canadd = 0 where rightcid in (SELECT cid FROM t_right WHERE isenabled = 1 AND instr(tracemark,'RT0073')>0)

Comments Feed Comments Feed: http://www.zhenhua.org/feed.asp?q=comment&id=195
UTF-8 Encoding Trackback URL: http://www.zhenhua.org/trackback.asp?id=195

There is no comment on this article.

If you feel this site you find this information helpful, please click on the donation, which is voluntary,Thank you.
Post Comment
Smilies
[arrow] [biggrin] [confused] [cool]
[cry] [eek] [evil] [exclaim]
[frown] [idea] [lol] [mad]
[mrgreen] [neutral] [question] [razz]
[redface] [rolleyes] [sad] [smile]
[surprised] [twisted] [wink]
Enable UBB Codes
Auto Convert URL
Show Smilies
Hidden Comment
Username:   Password:   Register Now?
Security Code * Please Enter the Security Code