extract spirit data stored proc