I had applicant project with multiple pages as the user will go through these pages to complete his applicant data then at the last page he will find submit the data.
My problem is that, I have multiple tables and when the user submit his data the data will inserted into it’s table , so how can I create one stored for all these table .
If you want to insert/update several tables at once, you would be better off using a stored procedure. Create/Read/Update/Delete (CRUD) stored procedure are generally good practice and reduce the risk of SQL injection attacks.
Here’s what your Create (insert) stored procedure might look like (it’s incomplete and unnormalized):
You could then call this stored procedure when someone submits a new application.