Hello there
I have many systems written in VB6. All but one are front ends to a SQL Server 2000 db. The other front ends ACCESS 2000.
I have a ton of SQL statements in the code (albeit, simple statements). Most of the statements are SELECTs. Since I started this course I have been replacing a lot of recordset.addnew code with INSERT statements and a bunch of the EDIT functions with UPDATE statements. Yes, I have been applying what I have been learning. Thanks.
My question... In your learned opinion, which is more efficient; having the SQL statements in-line in the code, or saving them as stored procedures in the db and passing parameters to them at run time?
Bear in mind that I am a one man shop. Support time is always an issue.
I have many systems written in VB6. All but one are front ends to a SQL Server 2000 db. The other front ends ACCESS 2000.
I have a ton of SQL statements in the code (albeit, simple statements). Most of the statements are SELECTs. Since I started this course I have been replacing a lot of recordset.addnew code with INSERT statements and a bunch of the EDIT functions with UPDATE statements. Yes, I have been applying what I have been learning. Thanks.
My question... In your learned opinion, which is more efficient; having the SQL statements in-line in the code, or saving them as stored procedures in the db and passing parameters to them at run time?
Bear in mind that I am a one man shop. Support time is always an issue.