9. A computer program product comprising a computer readable storage medium having computer usable program code executable by a processor to perform operations for sharing information between two or more separate SQL queries in a relational database management system (RDBMS), the operations of the computer program product comprising: maintaining a user-defined named memory variable and an associated value in from an allocated portion of a memory coupled to the RDBMS, said user-defined named memory variable facilitating the transfer of the associated value between two or more separate queries, said user-defined named memory variable defined in response to a SQL statement received from a client application coupled to the RDBMS, said associated value set in response to a SQL statement received from a client application coupled to the RDBMS and said named memory variable comprising a variable name, a data type, and variable attributes, wherein the variable attributes are set by a user and define one of a private named memory variable and a public named memory variable, said private named memory variable having a unique value for each database session and said public named memory variable having a common value for a plurality of database sessions and shared by a plurality of client applications communicating within the plurality of database sessions; accessing the associated value for the user-defined named memory variable in response to a first query referencing the user-defined named memory variable; sending a result for the first query, the result based on the associated value; accessing the associated value for the user-defined named memory variable in response to a second query referencing the user-defined named memory variable, the second query separate from the first query; and sending a result for the second query, the result based on the associated value.
9. A computer program product comprising a computer readable storage medium having computer usable program code executable by a processor to perform operations for sharing information between two or more separate SQL queries in a relational database management system (RDBMS), the operations of the computer program product comprising: maintaining a user-defined named memory variable and an associated value in from an allocated portion of a memory coupled to the RDBMS, said user-defined named memory variable facilitating the transfer of the associated value between two or more separate queries, said user-defined named memory variable defined in response to a SQL statement received from a client application coupled to the RDBMS, said associated value set in response to a SQL statement received from a client application coupled to the RDBMS and said named memory variable comprising a variable name, a data type, and variable attributes, wherein the variable attributes are set by a user and define one of a private named memory variable and a public named memory variable, said private named memory variable having a unique value for each database session and said public named memory variable having a common value for a plurality of database sessions and shared by a plurality of client applications communicating within the plurality of database sessions; accessing the associated value for the user-defined named memory variable in response to a first query referencing the user-defined named memory variable; sending a result for the first query, the result based on the associated value; accessing the associated value for the user-defined named memory variable in response to a second query referencing the user-defined named memory variable, the second query separate from the first query; and sending a result for the second query, the result based on the associated value. 13. The computer program product of claim 9 , further comprising storing named variable information for said user-defined named memory variables to a system catalog coupled to the RDBMS and wherein maintaining a user-defined named memory variable comprises referencing named variable information in said system catalog.