On 4/28/2010 1:48 PM, Gary Chambers wrote:<br /><blockquote
cite="mid:z2i302670f21004281048n3ed3d9aew9203d8cceec79f74@mail.gmail.com"type="cite"><pre wrap="">pen? </pre> <pre
wrap="">
The clouds parting, choirs of angels singing, and fireworks
celebrating the veil of my obtuseness being lifted, and my grasp and
command of SQL to be complete and infinite. None of which appears
will ever happen...
-- Gary Chambers
/* Nothing fancy and nothing Microsoft! */
</pre></blockquote> You now what <b><u>might </u></b>work <br /><br /> Insert into useraddrs(userid, addrdesc, city,
stprov)<br /> select u.userid, 'Home', c.cityname, c.stateabbr FROM users u, cities c<span class="moz-txt-citetags"><br
/></span>WHEREu.userid NOT IN (SELECT userid FROM useraddrs) <br /> and cid IN (select round(random()*10000)::int as
numfrom generate_series(1,100000)) rand ) <br /><br /> As you don't care if a record repeats<br /><br /> All legitimate
MagwerksCorporation quotations are sent in a .PDF file attachment with a unique ID number generated by our proprietary
quotationsystem. Quotations received via any other form of communication will not be honored. <br /><br />
CONFIDENTIALITYNOTICE: This e-mail, including attachments, may contain legally privileged, confidential or other
informationproprietary to Magwerks Corporation and is intended solely for the use of the individual to whom it
addresses.If the reader of this e-mail is not the intended recipient or authorized agent, the reader is hereby notified
thatany unauthorized viewing, dissemination, distribution or copying of this e-mail is strictly prohibited. If you have
receivedthis e-mail in error, please notify the sender by replying to this message and destroy all occurrences of this
e-mailimmediately. <br /> Thank you. <br />