Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO Connection or run Stored Procedures

Status
Not open for further replies.

wassup

Technical User
Oct 3, 2000
52
GB


I am running ASP pages using IIS4 with the data in SQL Server 7

I currently have an asp script to login to the site. The script checks the user name and password are correct using an SQL select statement on the database

Would it be faster to run if I wrote a stored procedure to validate the login?


In general is it quicker to use a Stored Procedure than running ADO with an SQL query?
 
Generally, yes it is faster to use stored procedures since the code is already compiled...

For small queries and such, the difference won't be very noticeable, but every little bit helps!

:)
Paul Prewett
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top