what about create one stored procedure handle all select and insert and delete in my database table and take the name of the table and the id of the process that i want to do it (insert - update - delete ) and this stored procedure detect the fields of the table and the primary key .
instead of creating stored procedures to insert , update and delete to every table
if i make this stored procdure it will affect on performance or not ????
incase of i want to deal with any table i will ask him about fields ,primary key ,foreign key and so on
after that i will make my process of (update-select - delete)
instead of creating stored procedures to insert , update and delete to every table
if i make this stored procdure it will affect on performance or not ????
incase of i want to deal with any table i will ask him about fields ,primary key ,foreign key and so on
after that i will make my process of (update-select - delete)