Update SQLManager to use newer SQL syntax