in reply to Re: Moving SQL from perl to Stored Procedures - MSSQL tricks, dynamic paging
in thread Moving SQL from perl to Stored Procedures
Could you show me how do you assign the sort_id in your first strategy? I don't have access to an SQL Server at the moment, but the difference in the speed of those two strategies sound too big. Do you use
?declare @paging_buffer table( sort_id int not null identity(1,1) PRIMARY KEY, user_id int not null, firstname varchar(50), lastname varchar(50) );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Moving SQL from perl to Stored Procedures - MSSQL tricks, dynamic paging
by imp (Priest) on Sep 09, 2006 at 16:05 UTC |