Access @db consistantly. Pass all paramaterized values in arrays.