EXEC SQL BEGIN DECLARE SECTION;
    char *userid;
EXEC SQL END DECLARE SECTION;EXEC SQL CONNECT :userid; //username/pass@dbname