<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Aug 10, 2012, at 4:44 AM, Kay C Lan wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Actually, I've tested this more and even this:<br><br>UNLINK RECORDS (26,27) OF ozC FROM RECORD (170) OF newC</blockquote><blockquote type="cite"><div id=":no"><br>results in the same error:<br><br>Kernel error: 0x21502. It's too much values.<br><br>
It seems only single values are accepted.<br><br>UNLINK RECORD (26) OF ozC FROM RECORD (170) OF newC<br><br>UNLINK RECORD (27) OF ozC FROM RECORD (170) OF newC<br><br>Both of these work fine.<br><br>It's the first time I've tried to UNLINK multiple records at one time so I don't know if this ever worked, but certainly the examples on the Wiki page are misleading.<br>
<br></div></blockquote></div><div><br></div>There were some problems with that "multiple" (un)link statements - so there are some improvements and fixes in 5.0.<div><br></div><div>Most important changes is:</div><div><br></div><div>"EACH" clause must be mentioned explicitly!</div><div><br></div><div>1. LINK RECORD(1,2) .... WITH RECORDS(10,11).....</div><div>In case of implicit "each" idea - there is a problem - what do I mean - (1,10)(2,11) OR (1,10)(1,11)(2,10)(2,11)?</div><div><br></div><div>2. LINK RECORD( ... some query ...) ... WITH RECORDS( ... another query ...) ....</div><div>I don't know "cardinality" of that queries and it should not be a problem - I want to link that records strictly as I wrote - with or without "EACH".</div><div><br></div><div><br></div><div>I'm not sure about 4.9.1 but it worse to try explicit "EACH" syntax.</div><div>One more time, "EACH" means "crossing" behavior (the only valid one for not-matching size of record lists)</div><div>"NO EACH" means "corresponded" behavior.</div><div><br></div><div><div><div apple-content-edited="true">
<div>-- <br>Best regards,<br>Ivan Smahin<br>Senior Software Engineer<br>Paradigma Software, Inc<br>Valentina - The Ultra-Fast Database<br><a href="http://www.valentina-db.com/">http://www.valentina-db.com</a></div>
</div>
<br></div></div></body></html>