There are two resource types used in the CUBRID. The first one is the link identifier for a database connection, the second a resource which holds the result of a query.