Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.ms-sqlserver    |    Notorious Rube Goldberg contraption    |    19,505 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 17,716 of 19,505    |
|    phdate to Erland Sommarskog    |
|    Re: Number generator    |
|    11 Dec 09 18:26:18    |
      From: drscrypt@gmail.com              Erland Sommarskog wrote:        > A user-defined function cannot change state, so you are on the wrong       > track entirely.              The state changes are a by-product of my attempts to get it working in       lieu of alternatives involving cursors. Other solutions that avoid the       state change are most welcome.                     > Since you say "it needs to be a function", I am not going to show       > you any code now. You first have to back and change that requirement.                     Well, it is needed in several places, and I was looking for a way to       avoid copying code blocks all over the place and instead have something       that could be named. If you think there is a better alternative, please       do show some code. I can seek to relax the requirements on my end.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca