Oracle Sql Loop Through Array Powershell If Statement