Viewing 15 posts - 56,491 through 56,505 (of 59,069 total)
What is the default value? That's what you have to put in the function. It can be a column name, another variable of the same or implicitly convertable type, or...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2007 at 7:05 am
Peter's method is absolutely a great way to take care of existing data. The problem is, wadaya gonna do with new data?
If you really need to do such a thing,...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2007 at 6:54 am
Lynn,
Too bad about that person. We've still got one like that, too. Dunno why they keep him around.
Say, that 3rd party app wouldn't happen to be a product called "Cost...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2007 at 6:46 am
Spot-on on all points, Matt. And, thanks for the reminder... I forgot that such tools just short office politics right straight to ground.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 1, 2007 at 5:49 am
2) Microsoft gave use the ability to force an index precicely because sometimes (granted VERY infrequently) it is... |
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2007 at 11:26 pm
Lynn,
Sorry, got a bit distracted... I think your co-worker is spending way too much time monitoring performance. HOWEVER, I've not had to walk in his/her shoes... it may be that...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2007 at 9:56 pm
Pet peeve... maybe a rant... (please forgive the forthcoming soapbox)... consider this carefully... no matter which "performance monitoring" tool you use, what good does it do you if you find a...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2007 at 9:46 pm
I am unable to duplicate the failure you say you are experiencing... that's not to say it's not happening... I just can't duplicate it because I don't have your data.
My...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2007 at 7:53 pm
Yes... it works fine... if you are only updating one row at a time... try updating more than one row at a time and see what happens... BOOOMM!
I'm looking at...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2007 at 7:20 pm
Nope... you made an unqualified statement with no conditions. And no one would force such an index as you have because everyone knows the bookmarks will kill any hope of...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2007 at 7:07 pm
Dunno about others but I only use DTS for one off, ad hoc copies of data. If it goes into production, I use either BCP or Bulk Insert. I don't...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2007 at 6:20 pm
You are missing joins between the PK of the INSERTed and DELETEd tables in all such SELECT's in the code you posted...
Recommend you change them all similar to the following...
--Jeff Moden Change is inevitable... Change for the better is not.
RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
April 30, 2007 at 6:09 pm
| Remember that the optimizer won't use an index if more than 8-15% of the total rows would be... |
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2007 at 5:42 pm
Now, there's a plug I can agree with... AND, if you take the time to study it in Books OnLine, you'll find that it's capable of doing such things as...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2007 at 6:14 am
Sreemati,
The list isn't what you think... it's a bit sarcastic and starts off with something like "#1. Write good code."
The big key is as I said... think columns, not rows. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 30, 2007 at 6:07 am
Viewing 15 posts - 56,491 through 56,505 (of 59,069 total)