mspatel
8 years agoContributor
Generic Function to Execute different SQL operations
Hi ,
Is it possible to have a single function that would handle most of the SQL queries. for now , i have seperate SQL function for different type of operations.
for example
- function that would just execute select
- function that would just handle insert
- function that would just handle delete
- function that would just handle Update
- function that would return count of records ,e.g count(*)
I would like to write something generic that would handle all of the above operations
Your help is appreciated