1. A computer-implemented method for using multiple plans in a database management system to access current data and history data, the method comprising: providing a first access plan for a query, the first access plan capable of accessing the current data; storing the first access plan as a first section in an application package; determining whether a bind option for the query is detected; in response to determining that the bind option is detected, providing a second access plan for the query, the second access plan capable of accessing the current data and the history data; and storing the second access plan as a second section in the application package.