Getting the dump record from sql as associative array