Viewing 15 posts - 48,256 through 48,270 (of 59,102 total)
PaulB (9/18/2008)
abba (9/18/2008)
Syntax will probably be the least of your concerns.:w00t: I respectfully disagree 🙂
I'll agree with that disagreement... syntax changes will be a doozy. Wait until...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2008 at 2:31 pm
Jason Wisdom (9/18/2008)
TempDB is so much more important in SQL 2005 than it was in earlier versions.
And the default settings of 8MB / 1MB with 10% growth is...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2008 at 2:26 pm
Ummm... that'll find the last date a table was SELECTED from?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2008 at 2:20 pm
If the data is on a SAN, the SAN comes with software to make it easy to do this. Once it's setup (read the documentation that came with the...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2008 at 2:15 pm
Without a bit more info about the table and the reason for the update, best I can say is...
SET ROWCOUNT 100000
SELECT 1
WHILE @@ROWCOUNT > 0
BEGIN
.... do your update
END
SET ROWCOUNT 0
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2008 at 2:11 pm
Matt Miller (9/18/2008)
Jeff Moden (9/17/2008)
Mark (9/17/2008)
DECLARE @S VARCHAR(30)SET @S='99202 10060 99000 A6402'
SELECT LEN(@S)-LEN(REPLACE(@S,' ','')) AS NumberOfSpaces
THAT's the way to do it... no RBAR, no join! 🙂
Except...It will return the wrong...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 18, 2008 at 1:12 pm
Thanks!
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2008 at 9:51 pm
Heh... Got it. Thanks. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2008 at 9:50 pm
Yeaup... still RBAR... but the Tally table get's cached... While loop doesn't. 'Course, you knew that.
If you don't like the Thorn character (used it mostly for visual), Tab character...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2008 at 9:45 pm
The problem is the Cross-Apply's... they resolve to a single row in the execution plan. Query may run ok when running from QA because of cache and stats... likely...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2008 at 9:07 pm
karthikeyan (9/17/2008)
I hope i have explained enough. Inputs are welcome !
Also i wanted to know whether the way which i...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2008 at 8:58 pm
A bit more info is required... please see the link in my signature for faster, better, tested answers....
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2008 at 8:52 pm
Dunnor if it works in Integration Services, but I Use STUFF to quickly add a couple of dashes.
--===== Setup a simple test.
-- This is NOT...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2008 at 8:49 pm
When "rebuilding" and index, the index is NOT available for use. That is also true when using DBCC DBReIndex. They are, however, available if you use DBCC IndexDefrag.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2008 at 8:43 pm
What a cool thing to say, James. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
September 17, 2008 at 8:24 pm
Viewing 15 posts - 48,256 through 48,270 (of 59,102 total)