06 2012 档案

用视图+存储过程解决复杂查询的排序分页问题
摘要:数据库中复杂的联查+筛选条件+排序+分页一直是比较头疼的问题为了模拟这个问题,首先建立两个表create table t_userType ( id int identity(1,1) not null primary key, name varchar(50))GOcreate table t_user ( id int identity(1,1) not null primary key, t_userTypeId int not null, name varchar(50), foreign key (t_userTypeId) references ... 阅读全文

posted @ 2012-06-10 13:26 石莹 阅读(2855) 评论(2) 推荐(0) 编辑

点击右上角即可分享
微信分享提示