問題文
A nightly job runs a stored routine through a prepared statement, reads the false that the call returned as a sign that the database refused the work, and skips the rows that in fact arrived later in the sequence. On the interface's own terms, what holds here and why?
選択肢
- It reports the outcome of the whole sequence of results, because the statement gathers the shape of every result that the routine names before it hands the value that the caller reads back
- It reports the outcome of the whole sequence of results, because a routine that yields rows anywhere in its sequence has to hand a value of true back, and only the driver settles the order of the results
- It reports the form of the first result alone, because the caller has to ask the statement for a result set or for an update count, and every result behind it waits for a further step of the reading
- It reports the form of the first result alone, because a value of false is defined to stand for a result set that the driver has already drained, and the caller must read the update count from that point on