[sql] add an environ virtual table

  Defect Number:
    Reviewed By:
   Testing Done: