John Cassell
Well-known member
- Joined
- Mar 20, 2007
- Messages
- 65
- Programming Experience
- Beginner
Hello,
I am still fairly new to VB and SQL and I have always ignored it when I have seen "Stored Procedures" mentioned. Today I stumbled across an explanation of it and it claimed to retrieve data from SQL much faster and more efficiently than normal queries so I suddenly became very interested..
What it didn't tell me was how much of a benefit it would give me and I was wondering in what parts of my app should I be thinking of using it?
For example, my app will eventually include a reporting function and a likely scenario would be to retrieve hundreds of jobs from a table containing thousands of records...
I guess this would be a good place to use a stored procedure instead of a normal select statement but I also have very small requests to the DB such as telling me whether a particular user is logged in or not.
Could someone just give me a bit of advice on this please?
Thanks very much
John
I am still fairly new to VB and SQL and I have always ignored it when I have seen "Stored Procedures" mentioned. Today I stumbled across an explanation of it and it claimed to retrieve data from SQL much faster and more efficiently than normal queries so I suddenly became very interested..
What it didn't tell me was how much of a benefit it would give me and I was wondering in what parts of my app should I be thinking of using it?
For example, my app will eventually include a reporting function and a likely scenario would be to retrieve hundreds of jobs from a table containing thousands of records...
I guess this would be a good place to use a stored procedure instead of a normal select statement but I also have very small requests to the DB such as telling me whether a particular user is logged in or not.
Could someone just give me a bit of advice on this please?
Thanks very much
John