Makes sql variables transparently handle pointers to underlying data types.