buffered-sql question