1. A method for sharing information between SQL queries, in a relational database management system (RDBMS), the method comprising: maintaining a user-defined named memory variable and an associated value in an allocated portion of a memory coupled to the RDBMS, said named memory variable facilitating the transfer of the associated value between two or more separate queries, said named memory variable defined 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, the variable attributes set by a user and defining 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 named memory variable in response to a first query referencing the named memory variable; sending a result for the first query, the result based on the associated value; accessing the associated value for the named memory variable in response to a second query referencing the named memory variable; and sending a result for the second query, the result based on the associated value.