O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding to the cart

For the inserting of products into the database, I want to do things a little different. Basically, when it comes to SQL, I have known two types of people. The people who think databases are a necessary evil and should be used for data storage only and the people who love databases and who think all logic should be in the database's stored procedures and functions. Personally, I am somewhere in the middle. The database certainly has its place when it comes to business logic, but I prefer to keep it to a minimum. Anyway, for the insertion of products, I do want to use a stored procedure. We are going to send a user ID and a product ID to the database and let the database figure out whether to insert the product for the user ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required