Viewing 15 posts - 19,546 through 19,560 (of 22,202 total)
One way you can do this, and it's a bit problematic let me say up front, is to do something like this (p-code):
WHERE... 1 = CASE WHEN (ColA IS NULL)...
September 18, 2008 at 7:45 am
Too true. You're right. I keep forgetting those things are in there.
September 18, 2008 at 6:44 am
To determine what's happening with the system, yes, you use Perfomance Monitor. For a detailed look inside the databases, to get individual query performance and behavior, then you use a...
September 18, 2008 at 6:22 am
Or, write all your code in a syntax checking tool like Visual Studio Team System Database Edition. I can't even save a script with bad syntax without getting an alert...
September 18, 2008 at 5:52 am
Yet another option is to look at the execution plans. sys.dm_exec_cached_plans has a column usecounts that shows how many times a plan has been used. This won't be perfect because...
September 18, 2008 at 5:50 am
And do a search on the site here. There are a bunch of useful articles and scripts on this topic.
September 18, 2008 at 5:45 am
1. Answered
2. It depends on the database recovery mode. If it's in simple recovery, there's nothing for you to do because the log is being flushed of all committed transactions...
September 18, 2008 at 5:43 am
You can't delete multiple tables at once. Each table will get deleted individually. However, you can use a select statement and joins to determine the data to be deleted. This...
September 18, 2008 at 5:42 am
You have to log in to your work network, usually through a Virtual Private Network (VPN) connection. Once you're connected to your work network, you access the server the same...
September 18, 2008 at 5:32 am
I've only started testing filestream but, other than what Gail has already outlined, there are no other restrictions on columns in the table. That's a big part of the idea...
September 18, 2008 at 5:30 am
Although, with the ordered guid introduced in 2005, you can get a lot less rearrangement if you put the guid into a clustered index. It's still a bit wide. There's...
September 17, 2008 at 5:36 am
Another vote for jumpstarttv. I did a bunch of work for Andy on a series of videos introducing execution plan concepts. There are going to over 500 videos there by...
September 16, 2008 at 8:05 am
NPR did a report on it several weeks ago. According to the report the show has a pretty firm basis in reality, but instead of a few people in one...
September 16, 2008 at 6:58 am
Yeah, open the query plan you posted. It's right there on top, including all the syntax except the query name to create it.
Here's the code (I used SQL 2008 to...
September 15, 2008 at 12:57 pm
No, you can't index a query (per se), but it's suggesting an index on the table within the query. That bookmark lookup is costing you. If that index, with the...
September 15, 2008 at 12:44 pm
Viewing 15 posts - 19,546 through 19,560 (of 22,202 total)