Re: strategies for paging



Why are you formatting data in the back end? The basic principle of a
tiered architecture is that display is done in the front end and never
in the back end. This is a more basic programming principle than just
SQL and RDBMS.


Even a hobbyist would no better.

Google search, "rogerson", it returns 1,710,000 rows, are you seriously saying you would pass all 1.7 million rows from the SQL Server to the middle tier or client only to take the first 10?

Do you not think it makes more resource sense to select just the page of results you need and pass that back from the SQL Server instead? That would be 10 rows instead of 1.7 million going across that network link to the middle tier.

in the back end. This is a more basic programming principle than just
SQL and RDBMS.

Not sure what principles you are drawing that statement from but in my client server training I was taught to do the processing where it is most appropriate for resource and maintainability reasons.

--
Tony Rogerson, SQL Server MVP
http://sqlblogcasts.com/blogs/tonyrogerson
[Ramblings from the field from a SQL consultant]
http://sqlserverfaq.com
[UK SQL User Community]


"--CELKO--" <jcelko212@xxxxxxxxxxxxx> wrote in message news:1191027456.763592.265890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
or any other advice? <<

Why are you formatting data in the back end? The basic principle of a
tiered architecture is that display is done in the front end and never
in the back end. This is a more basic programming principle than just
SQL and RDBMS.


.



Relevant Pages

  • Re: MSHFlexgrid not displaying data from ADO data control
    ... >> MSHflexgrids display any data. ... >> The MSHflexgrids data sources are ADO data controls which are ... >> programmatically assigned a connection string to an SQL 7 Server through ... >> The SQL Server uses windows network authentication to allow access and I ...
    (microsoft.public.vb.general.discussion)
  • Re: MSHFlexgrid not displaying data from ADO data control
    ... > MSHflexgrids display any data. ... > The MSHflexgrids data sources are ADO data controls which are ... > programmatically assigned a connection string to an SQL 7 Server through ... > The SQL Server uses windows network authentication to allow access and I ...
    (microsoft.public.vb.general.discussion)
  • Re: ODBC Timeout problems but very hard to pin down
    ... APP 1: Access 2000 database ... I ran SQL Profiler to capture the ... validated by SQL Server. ... As it happens, the default display contains ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: word interfacing with sql server report service
    ... Probably questions best asked in a SQL newsgroup. ... toolbox items like a 'word' document that you can drop onto a sql server ... feature I could use that will display the paragraphs prior to when the ... When generating these reports, they will be exported to word 2003 or 2007 ...
    (microsoft.public.word.vba.general)
  • Re: Text file inported to sql2005 table
    ... It's not the issue of display length. ... cursor out, it shows the entire row again. ... When I use sql query analyzer to select, I don't see the who field. ... Links for SQL Server Books Online: ...
    (microsoft.public.sqlserver.security)