modified sqlsample
modified sqlsample