Let me be more specific. I have to maintain few records in a temporary table which is specific to a user and that session. So when ever user invokes a session, he has to execute the create statement to create the temporary tables and then perform DML queries. Instead is there any way out to automatically execute create statements whenever user invokes a session. For instance in Oracle the queries present in login.sql will be executed whenever user connects Oracle through SQL Plus.