Sql input configuration