Patent ID: 7921406

Claim:
A method of inserting a software function into a database, said method comprising: providing a software function that is implemented in a technical computing environment; storing the software function in a memory of a computing device having a processor coupled to the memory; selecting a target database where the software function is desired to be stored, wherein the target database is managed by a database management system that implements a database query language that differs from the technical computing environment; automatically identifying, by the processor, an interface type associated with the database management system of the selected target database; in response to a single action being performed, automatically generating in the technical computing environment by the processor: a first component containing the software function, and a second component acting as an interface between the target database and the first component, the second component using the interface type identified automatically by the processor as being associated with the database management system; and storing the first component and the second component in the target database, wherein the second component is used by the database management system to invoke the first component as at least one of: a stored procedure, and a database trigger of the target database.