uses SQL2003 flag instead of useArray and implements proper setValue for Arrays