Viewing 15 posts - 47,941 through 47,955 (of 59,099 total)
No problem... it's easy either way... just needed to know which way. 🙂
See if this doesn't fit the bill... It does require a Tally table which you can get at...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 5, 2008 at 7:00 am
So? It's a great tool and it's a hell of a lot better than redistributing code everytime you need to make a change. Teach the users how to...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 5, 2008 at 6:39 am
vidhyasudha (10/5/2008)
Temp table will be the structure I mentioned. Two base tables doesn't share any relation. This is due to the fact that database is migrated to sql 2005...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 5, 2008 at 6:35 am
Do the Google search I spoke of... that will be one of the things that show up.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 6:32 pm
Heh. Thanks, Dugi... I appreciate the feedback. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 6:30 pm
GilaMonster (10/3/2008)
This one's pretty good. Read the comments on the blog post too, as the function needs a table creating.
Teach someone to fish... please see the following URL for how...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 6:12 pm
Grant Fritchey (10/2/2008)
First, try using BETWEEN instead of >= <= on the date fields.
Ummm... why, Grant? They BOTH appear in the >= <= form after the optimizer evaluates them....
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 5:51 pm
Aren't you forgetting something in that temp table?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 5:39 pm
Rich96 (10/4/2008)
That did it. Thanks Matt.. 5 stars.I finally found a table of characters.. if anyone is interested.
Cool. Thanks for the feedback.
If you ever need to make one...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 5:33 pm
Although it has worked very well in the present and in the past, I wonder if folks understand that Updating an alias is actually an undocumented feature? 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 5:07 pm
sql-oholic (10/2/2008)
I am trying to get # of rows for a table.
I used sp_spaceused, through which I get a number which is different compared to number I get when I...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 4:38 pm
Paul, is that correct? The date format is dd/mm/yyyy?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 4:33 pm
Rich96 (10/2/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 4:15 pm
Sure... but let me ask a question... what does "Duration" contain? It can't be the number of months because there's actually only 3 months between the two dates given.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 4:07 pm
zypsy (10/4/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
October 4, 2008 at 4:04 pm
Viewing 15 posts - 47,941 through 47,955 (of 59,099 total)