Viewing 15 posts - 51,646 through 51,660 (of 59,091 total)
I already did suggest a solution... lookup Crosstab in BOL and convert it to dynamic SQL.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 8:48 pm
Hi Tony... still not 100% clear on what the data file actually looks like... can it have more than on person in it and, if it does, will it look...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 8:45 pm
s43s (3/18/2008)
Thanks!!! 🙂
You bet... thank you for the feedback. If you want to learn more, take a look at Todd's code. It's a good example of what the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 8:36 pm
and i guarantee you the person that set the "requirement" can't read code and wouldn't know the difference
Heh... you must be having a bad day... No? I guarantee you...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 8:22 pm
Lynn Pettis (3/18/2008)
SELECT
*
FROM
dbo.tblData
WHERE
MonthID between ((3 * @Quarter) - 2) and (3 * @Quarter)
If MonthID is indexed, you still...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 8:10 pm
For your next post... read the article at the URL in my signature line.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 8:07 pm
How many of those "unique identifiers" and sections of names do you have in a file and are they all the same (not the names, the over all structure you...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 8:04 pm
I keep hoping that students will try harder than most of the current set of dummies that couldn't hit the floor with their hat and don't care if they can...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 7:57 pm
If 'FirstName LastName' is in a single column, then...
SELECT REPLACE(namecolumn,' ','')
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 7:12 pm
antonio.collins (3/18/2008)
if you open a word, excel, or even a text file and then click file>save, the file will...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 7:08 pm
In my table there for a single accountid there may be max of 72 account_serviceno(ie. most of the cases have upto 6 only) and out of these cases some...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 7:01 pm
Hi, Jeff...it's good to hear from you again ;=)
Good to "see" you again, too. You should come around more often... 😉
Ok... this should do it... this will work in...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 6:45 pm
Please see the following article... explains how to do it and how NOT to do it...
http://www.sqlservercentral.com/articles/Test+Data/61572/
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 5:31 pm
I take it you're talking about the following code?
SELECT TOP 10000 --<<<LOOK! CHANGE THIS NUMBER TO CHANGE THE NUMBER OF ROWS!
RowNum...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 4:59 pm
Lynn Pettis (3/18/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 18, 2008 at 4:32 pm
Viewing 15 posts - 51,646 through 51,660 (of 59,091 total)