Viewing 15 posts - 49,711 through 49,725 (of 59,099 total)
Here's an example of what I'm talking about... go look at the nightmare code behind sp_MsForEachTable and sp_SpaceUsed... both can be replaced with this relatively simple and very fast...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 7:11 am
sp_MSforeachtable is nothing more than a cursor/RBAR on steroids...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 7:06 am
habib_nub (6/25/2008)
i want to insert multiple data into multiple tables column
You need to include a wee bit more info about what you want to do than that. Otherwise,...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 6:51 am
Sorry... you are talking about "Table Variables"... best to look up about those in Books Online and take a look at the following article...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 6:47 am
Change the default setting will likely open a huge can of worms for you... lot's of other folks code depends on NULLs not being equal to anything and changing that...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 6:45 am
That's what happens when you "send" it to just one person, Venki... why don't you post the procedure here so we can all lend a hand... 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 6:40 am
Studying the code for sp_help and sp_SpaceUsed will give you a wealth of knowledge about system "tables"... the code sucks (especially for sp_SpaceUsed) but where they get some of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 6:28 am
Umm... I don't email reports or even let folks know when something has been updated... because it's always updated (with a few exceptions of course).
Favorite "trick" is to write an...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 6:24 am
Oh yeah... I'm a bit lazy myself... that's why I wrote a little ditty that also adds the commas to the column names... 😀
I've got one for INSERT/SELECTs... writes the...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 6:03 am
That would be true... and, except for what may occur on Inserts, indexes don't harm another's query.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 5:56 am
No... I've verified that sp_help is bound to Alt-F1... it just doesn't work for me. I highlight the table name as you suggested and press Alt-F1... all that happens...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 5:54 am
Nice article, Austin... title is just a bit deceiving, though. Most of the article talks about how to setup a report instead of about how to email. From...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 5:35 am
Paul McKay (6/25/2008)
I basically deconstructed the entire query and re-wrote it the way I would.
That is sometimes the best and easiest thing to do. Thanks for the feedback, Paul.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 5:12 am
Thanks for the feedback, Jonatan. As a summer worker, though, you are allowed to make a suggestion here and there, aren't you?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 5:05 am
I have the Developers Edition for 2005 which is supposedly the same as the Enterprise Edition... the Alt F1 trick doesn't work for me.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 25, 2008 at 5:03 am
Viewing 15 posts - 49,711 through 49,725 (of 59,099 total)