Again, carefule here - if this returns false p_query_string won't be initialized (also, p_ is for parameters, not locals :))