On 19 Sep 2003 12:45:11 -0700 in comp.databases.ms-sqlserver,
ch********@aol.com (Cheryl) wrote:
Which method would give me the best performance for logging large
records into a database with over 25000 rows in SQL Server 2003?
Depends where the data is coming from, if from outside of SQL Server
then you would need ADO.
T-SQL will have to compiled before running, this is not really that
much of an overhead.
Stored procedures are written in T-SQL and as their name suggests,
stored on the server and pre-compiled. They will run ever so slightly
faster than just chucking T-SQL at the server... mostly.
ADO OTOH is just a method of connecting to the server and executing
either of the above.
--
A)bort, R)etry, I)nfluence with large hammer.