Viewing 15 posts - 751 through 765 (of 1,473 total)
This may not be what was happening here, but I had a somewhat similar issue on Friday using nested derived tables. It made me ask a question that I've...
February 7, 2009 at 10:11 am
I don't know if changing the structure of this trigger is a consideration... but you really don't want to use loops and dynamic sql in triggers. It will likely...
February 7, 2009 at 9:26 am
First, let me say, good post. Sample data, table definitions,expected results and a clear description of the problem.
This should work for you. Please note that the clustered index...
January 30, 2009 at 10:04 pm
r.hensbergen (1/29/2009)
souLTower (1/29/2009)
January 29, 2009 at 10:25 pm
Oops, sorry for the double post, my internet freaked out last night. To be honest, I'm not sure how you'd use FMTONLY to do it, but I do...
January 29, 2009 at 10:06 pm
Thanks for the feedback sar_kan25. Glad we could help.
January 29, 2009 at 9:36 pm
I actually read a thread the other day where Jeff was comparing the -.5 as int method with the other 3 main methods, and he seemed to be in favor...
January 29, 2009 at 9:42 am
Yeah, I'd say those functions are the vast majority of your problem.
January 29, 2009 at 8:39 am
From a quick first glance, yes.
Function calls in your where clause are usually a performance killer (do they do data access? Post them if possible.)
Convert'ing datetimes to varchars will...
January 29, 2009 at 8:07 am
The following is probably wrong, because I don't know what your data or table structure actually looks like, and I really don't think you gave us enough information to accurately...
January 28, 2009 at 10:10 pm
Get rid of your extra quotes.
delete FROM tableName where path like '%'+@path +'%'
January 28, 2009 at 9:13 pm
SET FMTONLY ON
http://technet.microsoft.com/en-us/library/ms173839.aspx
Ran across this one as one of our client side apps was running it on its own and it drove me NUTS until I managed to catch it...
January 28, 2009 at 9:09 pm
I actually heard about persisted computed the other day and haven't had a chance to look into exactly how one sets them up yet. I'd be interested to see...
January 27, 2009 at 9:52 pm
Here's another way to do it. (Not saying it's any better) If you're doing this on a whole column, you're likely going to want to look...
January 27, 2009 at 6:44 pm
Viewing 15 posts - 751 through 765 (of 1,473 total)