Viewing 15 posts - 196 through 210 (of 311 total)
Exact space in varchar ?
OK, let's say you saw the obvious patterrn for telephone numbers in North America:
NPA.CON.NNNN 10 digits, right ?
NPA numbering plan agreement (ASA area code)
CON Central Office...
October 7, 2008 at 9:12 am
Another use.
Generating Universal Product Code numbers.
UPC-12 is PPPPPP-NNNNN-C (hyphens added for clarity)
P: 6 digit company prefix assigned by EAN Council
N: 5 digit sequential number
C: check digit, based on modulo-10 calculation.
The...
October 7, 2008 at 8:51 am
Running total scenario will very quickly solve that, as well.
It is just that until I have added enough purchase qties equal to the inventory quantity, I do not know when...
October 7, 2008 at 8:02 am
Rats !
Another application where I was dead sure the only way to do it was a double set of cursors: calculating the FIFO value of an inventory.
Outer loop: items in...
October 7, 2008 at 6:47 am
Hilarious !
Especially at 08:35 in the morning.
Keep 'em comin' too !
October 7, 2008 at 6:36 am
Thanks for the help.
Still, the thought process of whoever came up with this one remain baffling. Same as for the guy who figured out that nitroglycerin, an unstable explosive, could...
October 6, 2008 at 3:46 pm
OK,
Back from the dentist ...
Got it to work.
I am not only mystified by the blinding speed, but more so by how it is achieved. In short, despite the explanation given...
October 6, 2008 at 3:17 pm
That was fast !
I am going to that link and check out how I can take advanage of it.
Thanks
October 3, 2008 at 2:15 pm
Jeff, when you get that place straightened out, write it all down and publish it as "Tales from the deep Kimchie"; sounds like it would be best seller!
YES !!!...
October 3, 2008 at 8:49 am
Jackall,
If "your" developers ignore your advice, you can bet there will always be one if not two who will decide that "selectthisandthat" is not legible enough and improve the casing....
October 2, 2008 at 9:22 am
"This way I can just tell the developer to run stored procedure 'dbo.selectthisandthat' and not have to worry about them calling 'dbo.SelectThisAndThat' and getting potential cache misses."
Would it be so...
October 2, 2008 at 9:09 am
"For the latter, lookup the old IBM card sorter... such an algorithym beats even the shell sort."
Can you provide a URL reference if there is one you find the best...
October 2, 2008 at 8:58 am
"'dbo.selectthisandthat"
For my taste, I find this harder to read (mid-50 eyesight and all), it requires more attention to figure out the meaning of the name. I feel something is lost...
October 2, 2008 at 8:22 am
Naming stored procedures:
[font="Courier New"]
stp_ prefix, arbitary, to avoid using "sp".
the name of the application module...
October 1, 2008 at 9:30 am
Try...Catch instead of @li_RetCode for error handling...
I forgot this is part of the SS2K5 forum. Mentioning the new way of doing things is a valid point as I thought I...
September 29, 2008 at 8:13 am
Viewing 15 posts - 196 through 210 (of 311 total)