Create fn for returning raw JDBC string