1. A computer-implemented method comprising: identifying a remote stored procedure stored in a remote database management system; and automatically generating a local stored procedure stored in a local database management system, the automatic generating including: gathering remote metadata corresponding to the remote database management system and the remote stored procedure; gathering local metadata corresponding to the local database management system; creating a call statement to the remote stored procedure based on the gathered remote metadata, the call statement mapping one or more input values to one or more input parameters corresponding to the remote stored procedure; and setting one or more local stored procedure values, the setting including mapping one or more remote stored procedure results to one or more local stored procedure.