Hi Guys,
I've got a request to optimize our local Inventory Tracking Database which is an absolute monster. I mean, I was asked to establish the relationships between tables, add indexes, change data types, basically change everything.
But here the problem I have.
Almost every table in this database is built out of make-table query, which in turn uses linked tables from the server (dbo_tables, read-only).Linked tables are updating every night with our ERP transactional data.
1. Creating the relationship, should the linked tables be included in a design?
2 .Since there is a business need, that all the tables should be constantly updated (previously they've been running a macro for all make-table queries), thinking how to update those tables without deleting them? (an update query wasn't working,” too complex parameters")
Please advise,
I've read all the articles and understand the concept, but I don't how to deal to deal with this particular case.
Thanks in advance!
Valeriya.
I've got a request to optimize our local Inventory Tracking Database which is an absolute monster. I mean, I was asked to establish the relationships between tables, add indexes, change data types, basically change everything.
But here the problem I have.
Almost every table in this database is built out of make-table query, which in turn uses linked tables from the server (dbo_tables, read-only).Linked tables are updating every night with our ERP transactional data.
1. Creating the relationship, should the linked tables be included in a design?
2 .Since there is a business need, that all the tables should be constantly updated (previously they've been running a macro for all make-table queries), thinking how to update those tables without deleting them? (an update query wasn't working,” too complex parameters")
Please advise,
I've read all the articles and understand the concept, but I don't how to deal to deal with this particular case.
Thanks in advance!
Valeriya.