Viewing 15 posts - 47,866 through 47,880 (of 59,099 total)
ggraber (10/8/2008)
I just presented this concept at work using your split csv example.
I was just trying to think what other examples...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2008 at 6:01 pm
PIVOT would likely be slower than a good ol' Cross-Tab. See the following... peformance charts are near the end of the article...
http://www.sqlservercentral.com/articles/T-SQL/63681/
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2008 at 5:47 pm
If we knew more about the process that requires this action to occur, we might be able to help better. It's difficult to imagine a call recorder that would...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2008 at 6:28 am
Actually, why does this need to be done in a trigger? This sounds like a process specific to a particular proc and should probably on be done from a...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2008 at 6:24 am
UNION will disappoint you because it will be slow and it will blow away data, in this case, quite unexpectedly. If you want the output in sorted order, you...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2008 at 6:19 am
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 8, 2008 at 6:09 am
See? Pork chops RULE!
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2008 at 11:35 pm
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2008 at 9:04 pm
BWAA-HAA! Did you leave any redmarks on your cheeks from the slingshot kickback? :hehe:
--Jeff Moden
Change is inevitable... Change for the better is not.
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? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
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...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2008 at 8:07 pm
Viewing 15 posts - 47,866 through 47,880 (of 59,099 total)