Hi, I'm an MSAccess developer who is about to start using SQL Server. I have done numerous searchs and haven't found what im after.
Im just wondering if it is possible to have a generic stored procedure that would accept 5 parameters to update a particular field value, in a particular table for a particular record
eg pass in the tablename, primarykey field name, primarykey field value, field to be updated name and field value.
My idea was to use an access database as a front end and use a pass through query to update the field value. Just wondering if this can be done, or do i have to look at using specific procedures for each field or even ado to update just one field in a record.
I would prefer to update on a field level and not update the entire record each time as some of the tables have a large number of fields and we can have situations where many users are editing the same record at the one time.
Any advice / recommendations would be greatly appreciated, and please go easy as im a newby when it comes to SQL server.
Diana
Im just wondering if it is possible to have a generic stored procedure that would accept 5 parameters to update a particular field value, in a particular table for a particular record

eg pass in the tablename, primarykey field name, primarykey field value, field to be updated name and field value.
My idea was to use an access database as a front end and use a pass through query to update the field value. Just wondering if this can be done, or do i have to look at using specific procedures for each field or even ado to update just one field in a record.
I would prefer to update on a field level and not update the entire record each time as some of the tables have a large number of fields and we can have situations where many users are editing the same record at the one time.
Any advice / recommendations would be greatly appreciated, and please go easy as im a newby when it comes to SQL server.
Diana