M
markmarko
My database will have tblSalesOrders and tblInstallationOrders. Often, a
SalesOrder will be associated with an InstallOrder (when our company sold the
service and installed it). Both of those tables will likely have 10's of
thousand, and eventually hundred of thousands of records.
After a SalesOrder is entered, user can click a button to create the
associated InstallOrder, which places the SalesOrderID into the Install order
record. So, if user is on a particular InstallOrder, finding the associated
Sales Order is easy enough, but what about the other way? Once the tables get
really large, if the user is on a SalesOrder (which does not have a field
referencing the InstallOrder) is there a problem with it searching through
all the records to find a matching InstallOrder. Will it really slow down?
My actual question is this... Would it be better to include a field in the
SalesOrder that can store the associated InstallOrderID, or to index the
field I already have in the InstallOrder which identifies the associated
SalesOrderID?
SalesOrder will be associated with an InstallOrder (when our company sold the
service and installed it). Both of those tables will likely have 10's of
thousand, and eventually hundred of thousands of records.
After a SalesOrder is entered, user can click a button to create the
associated InstallOrder, which places the SalesOrderID into the Install order
record. So, if user is on a particular InstallOrder, finding the associated
Sales Order is easy enough, but what about the other way? Once the tables get
really large, if the user is on a SalesOrder (which does not have a field
referencing the InstallOrder) is there a problem with it searching through
all the records to find a matching InstallOrder. Will it really slow down?
My actual question is this... Would it be better to include a field in the
SalesOrder that can store the associated InstallOrderID, or to index the
field I already have in the InstallOrder which identifies the associated
SalesOrderID?