Viewing 15 posts - 47,236 through 47,250 (of 59,099 total)
Just to be sure, you're calling the WHILE loop the "procedural" code, right? If you're giving the "win" to the WHILE loop based on what you found in the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 1:15 pm
Heh... you don't actually believe the costs in the execution plan, do you? The execution plan for WHILE loops and other forms of RBAR are only for the FIRST...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 1:01 pm
I believe I'd put a default of ' ' on the nullable column... that way, if an explicit NULL is inserted on the column, it will be NULL... if the...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 11:55 am
BWAA-HAAA! CBAC would work! Maybe "Character Reading And Processing" fits better. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 11:48 am
Dooza (11/14/2008)
Invalid object name 'Master.dbo.SysColumns'.
I think my master database is screwed 🙁
We did have some problems a few weeks back with a maintenance...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 11:43 am
Loner (11/14/2008)
Don't even get me started with outsourcing. In my last company, I spent 4 days to finish a very complicated report. The outsourcing company had two...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 11:33 am
AndrewMurphy (11/14/2008)
"Um... for what? Using a paltry 40 MB of TempDB?"
...if you read the original message...he was getting TEMPDB full....the only reason TEMPDB was being returned to 40MB was...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 11:29 am
You bet... thank you for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 11:26 am
rosh (11/14/2008)
"Student","Subject", "Pass" , "Fail"....Looks like a homework question.....
Heh... and a "classic" homework question at that... that's why I asked "what have you tried so far". When people don't...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 11:21 am
Sure... you want all the rows of Summary Van No. to be the same?
Whichever, can you make it easy on me by providing the CREATE TABLE statement and some code...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 11:18 am
K. Brian Kelley (11/14/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 11:12 am
MikeM7 (11/14/2008)
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 10:57 am
Try the following...
SELECT COUNT(*) FROM Master.dbo.SysColumns
If it doesn't work, there are one of two problems... either you don't have the privs to read from the master database (very unusual) or...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 10:44 am
upperbognor,
Would you also post the code for the dbo.fn_patindexEnd function? Thanks.
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 10:21 am
Dooza... what version of SQL Server are you using? Also, just to be absolutely clear, would you post the exact code that you're using so I can try to...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 14, 2008 at 10:15 am
Viewing 15 posts - 47,236 through 47,250 (of 59,099 total)