×

System, method and computer program product for host variable support

  • US 6,360,225 B1
  • Filed: 09/25/1997
  • Issued: 03/19/2002
  • Est. Priority Date: 09/29/1994
  • Status: Expired due to Term
First Claim
Patent Images

1. A method for providing a common interface for submitting database statements to a plurality of heterogeneous database management systems, wherein data associated with a client is distributed among said plurality of heterogeneous database management systems, comprising the steps of:

  • (a) simulating support of host variables in database statements submitted to any of said heterogeneous management systems which does not support host variables, by;

    (1) determining whether a host variable referenced in a database statement issued by said client is invariant between statements;

    (2) if said host variable is invariant between statements, then replacing in said database statement said host variable with a literal value of said host variable;

    (3) if said host variable is not invariant between statements, then determining whether said host variable is invariant within a loop iteration; and

    (4) if said host variable is invariant within a loop iteration, then replacing in said database statement said host variable with a literal value of said host variable during each loop iteration.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×