Forum Replies Created

Viewing 15 posts - 19,546 through 19,560 (of 22,202 total)

  • RE: Conditional WHERE with CASE

    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)...

  • RE: SQL server performance monitor

    Too true. You're right. I keep forgetting those things are in there.

  • RE: SQL server performance monitor

    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...

  • RE: SQL Spelling mistakes

    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...

  • RE: How to Identify in how many Storedprocedures hasa sp been called?

    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...

  • RE: Rebuilding Indexes

    And do a search on the site here. There are a bunch of useful articles and scripts on this topic.

  • RE: log file

    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...

  • RE: Delete rows using join query

    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...

  • RE: remote sql

    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...

  • RE: SQL 2008

    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...

  • RE: real use of indexes

    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...

  • RE: SQL Server 2005 Video Tutorials

    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...

  • RE: CSI -are they for real?

    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...

  • RE: Update Query Help

    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...

  • RE: Update Query Help

    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...

Viewing 15 posts - 19,546 through 19,560 (of 22,202 total)