Home All Groups Group Topic Archive Search About

stored procedure or activex for adodb connection

Author
10 Mar 2006 9:43 PM
Sue
which is better practise - stored procedure or activex to create a
adodb connection for visual basic applications that can be called from
multiple applications? thank you very much.

Author
10 Mar 2006 11:57 PM
ralph
"Sue" wrote:

> which is better practise - stored procedure or activex to create a
> adodb connection for visual basic applications that can be called from
> multiple applications? thank you very much.
>

Tough to reply as these are not the same thing.

A stored procedure is a query that is already compiled and runs on the
server. Such queries are generally faster than commands from a Data Access
Library. SPs should always be your first choice.

As for creating ADO Connections, manage them in your middle layer. Either an
ActiveX Exe or Dlls.

-ralph