Viewing 2 posts - 1 through 2 (of 2 total)
I took Shaun's recommendation and found a good article here: http://www.sqlservercentral.com/articles/TSQL/62867/.
I never heard of a Tally table before. This is good stuff. I already know places where I...
August 5, 2008 at 9:37 am
#853268
I'm having trouble understanding Step 4. Where do tables 'TAB' and 'Tally' come from?
Thanks,
Tim
Insert into SOURCE(Name, Age, Sex)
Select Name
, Age
, CHAR(ASCII(Sex) & 1) --extract and preserve the [Sex] field
From...
August 5, 2008 at 8:44 am
#853226