Viewing 15 posts - 47,836 through 47,850 (of 59,064 total)
No... number of rows. For example, if you have a table of names, if the insert has names that start with every letter of the alphabet, that would be...
October 8, 2008 at 6:09 am
Ahmad Osama (10/7/2008)
The answer is... whichever one that implies a temporal order for when the inserts occurred. In other words, either an IDENTITY column or some temporal column such...
October 7, 2008 at 10:53 pm
rbarryyoung (10/7/2008)
Jeff Moden (10/7/2008)
BWAA-HAA! Did you leave any redmarks on your cheeks from the slingshot kickback? :hehe:Is that the tough chewy part?
OMG! I'm clutching my sides with tears...
October 7, 2008 at 9:04 pm
BWAA-HAA! Did you leave any redmarks on your cheeks from the slingshot kickback? :hehe:
October 7, 2008 at 8:50 pm
Almost perfect... well done. Now, lemme ask you a question... what do you think will happen when the year in your data changes? 😉
October 7, 2008 at 8:48 pm
Ah crud... my fault... that's what I get for posting without being under the influence of coffee.
Lemme see what I can do about this... haven't had to do it in...
October 7, 2008 at 8:45 pm
I agree with Jack... the best way for you to learn this one is to try it on your own, first. Read about "Triggers" and the "INSERTED/DELETED" tables that...
October 7, 2008 at 8:38 pm
Lynn Pettis (10/7/2008)
Jeff Moden (10/7/2008)
jcrawf02 (10/7/2008)
Or are we waiting for Porkslinger 😛 to give us another followup article?
Heh... what an idea... maybe I'll title it "Porkslinger: Have Chops, Will...
October 7, 2008 at 8:21 pm
J (10/7/2008)
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...
October 7, 2008 at 8:07 pm
TenDayIT...
As it turns out, your original code had the same flaw as the modified code... bad Dynamic SQL if more than 1 parameter is provided.
I can help, but I need...
October 7, 2008 at 7:57 pm
tendayit (10/7/2008)
Hi,Please find attached the modified code.
Thanks
Tendayi
Your new proc delivers bad SQL if more than one input parameter is provided... here's what the Dynamic SQL it creates looks like when...
October 7, 2008 at 7:17 pm
Heh... I recognize that, Clint. And, I'm not being evasive about code. I just recognize that you're both intelligent as well as being a bit new to SQL....
October 7, 2008 at 6:50 pm
jcrawf02 (10/7/2008)
Jeff Moden (10/6/2008)
This forum is a bit odd... it sometimes turns left parenthesis into smiley faces.I'm sorry, is that one statement or two? 😀
Heh... now that I...
October 7, 2008 at 6:42 pm
Viewing 15 posts - 47,836 through 47,850 (of 59,064 total)