
Server side or client side cursors?
When accessing a SQL Server via VB 6 and ADO, it is almost always faster to
user Server Side stored procedures for data retrieval, update, and insert
operations. SQL Server will create a compiled script which will not need to
be recompiled. Also, a query plan will be generated to optimize the call.
With client side queries, the SQL server must interpret them each time. In
the worst case, the client side query is executed on the client, where all
of the required data must be passed to the client for filtering, sorting,
etc....
Regards,
Nick
Quote:
> Does anyone know when it is best to use server side queries and when it is
> best to use client side queries?
> We are building a system using VB6 accessing a SQL Server database.