where cust_name=@name #### select @cust_id = cust_id from x where cust_name=@name #### $dbh->{odbc_SQL_ROWSET_SIZE} = 2; #### if(@cust_id IS NULL)