Jorge Paulino
asked on
Advantages and disadvantages of storage procedures
I have worked allot with SQL Server and I always used direct commands like sqlcommand, sqldatareader, etc, and never with storage procedures.
My question is: what the advantages and disadvantages of using then?
We have to create the storage procedures and the SQL instruction in the code, so why?
Any good example of it would be nice (VB).
Thanks
My question is: what the advantages and disadvantages of using then?
We have to create the storage procedures and the SQL instruction in the code, so why?
Any good example of it would be nice (VB).
Thanks
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Note that you can perfectly work and set up datareaders while using stored procedures. Using stored procedures simply means you have a nice clean separation between the Data Layer and the Object Layer...
agreed with racimo
ASKER
Thanks guys.
I'm going in the right way!
jpaulino
I'm going in the right way!
jpaulino