ReportDr00
IS-IT--Management
Hi
Firstly i would like to thank all who assisted with my previous query.
I have another scenario and i would like to share it and get some thoughts on it.
I have a service table and description table. description is a code table and service table has field that points to description table like below
service table
service id,
description id
service date
serviceupdatedate
description table
description id
description
In description table, i have same descriptions for different id's and these id's were referenced in service table.
Service id description id servicedate svcupdatedate
1 1 1/1/09 3/1/09
2 2 5/10/09 7/1/09
3 3 7/19/09 8/10/09
description id description
1 office visit
2 flu shot visit
3 office visit
I would like to have only one description per descirption id and update reference in service table as well
results should be
Service id description id servicedate svcupdatedate
1 1 1/1/09 3/1/09
2 2 5/10/09 7/1/09
3 1 7/19/09 8/10/09
description id description
1 office visit
2 flu shot visit
really appreciate if you share your thoughts on accomplishing this.....
regards
armani
Firstly i would like to thank all who assisted with my previous query.
I have another scenario and i would like to share it and get some thoughts on it.
I have a service table and description table. description is a code table and service table has field that points to description table like below
service table
service id,
description id
service date
serviceupdatedate
description table
description id
description
In description table, i have same descriptions for different id's and these id's were referenced in service table.
Service id description id servicedate svcupdatedate
1 1 1/1/09 3/1/09
2 2 5/10/09 7/1/09
3 3 7/19/09 8/10/09
description id description
1 office visit
2 flu shot visit
3 office visit
I would like to have only one description per descirption id and update reference in service table as well
results should be
Service id description id servicedate svcupdatedate
1 1 1/1/09 3/1/09
2 2 5/10/09 7/1/09
3 1 7/19/09 8/10/09
description id description
1 office visit
2 flu shot visit
really appreciate if you share your thoughts on accomplishing this.....
regards
armani