Forum Replies Created

Viewing 15 posts - 21,871 through 21,885 (of 22,197 total)

  • RE: Can u help me in increasing the performance of this query

    I've only spent five minutes looking at this, but the first two things I'd check would be the parallelism threshold on your server and the cluster on the Subscriber table.

    I'd...

  • RE: Formatting a View (sp_addextendedproperty)?

    sp_addextendedproperty is for putting descriptions, etc., on to your SQL server objects. It doesn't do any kind of formatting of any kind. It's for creating meta-data about your database objects....

  • RE: Combine Two Columns to create a unique key cluster

    And get a copy of Inside SQL Server 2005: The Storage Engine by Kalen Delaney

  • RE: Create stored procedure error

    Have you runa a DBCC CHECKDB against the database as it suggests?

    Other than that, I'd want to see the code to try to figure out where the error lies.

    You might...

  • RE: script 1911

    Not at all. If I thought I had something really cool & wonderful I'd be crushed. Instead, what I've got is a bit of a hack based on other people's...

  • RE: script 1911

    It's not a terribly well written script. We had a specific need and wrote it to meet that need and then stopped. We're extremely dilligent about keeping reserved words &...

  • RE: Trigger + store procedure parameters

    I'm fairly certain you can only get the columns available from the inserted table within a trigger and not any parameters within a stored procedure. You either have to simply...

  • RE: Server roles members report

    This should do it:

    SELECT

    p.name,m.name

    FROM

    sys.server_principals p

    JOIN

  • RE: paging the sqlserver2005 way

    Oops. Misunderstood. Sorry.

    What about referencing the CTE within a second subselect & get the count that way?

    Psuedo-code:

    <paging logic>

    JOIN (SELECT COUNT(*) FROM cteTable) AS t2

    That way, it's all part of the...

  • RE: Profiler Trace is not showing any activity

    It wasn't in the Audit event, no. But it was in the TSQL batch that immediately followed it.

  • RE: does rowlock hurt?

    Well, the short answer is, it depends. What, you expected yes or no?

    Seriously though, I think it'll be OK, but I'd keep a close eye on it. As long as you're...

  • RE: does rowlock hurt?

    As long as you're only actually locking a row, for updates, it should actually perform faster. If you're updating multiple rows, you'll either get an outrageous number of row locks...

  • RE: Profiler Trace is not showing any activity

    I'm not sure. Do you have any filters in place that might prevent the event from being captured?

    I've never tried this before, but I just set "Audit Add Login to...

  • RE: paging the sqlserver2005 way

    You can only use the CTE in the statement subsequent to it's definition. You can use it more than once within that statement but you can't use it in two...

  • RE: What do your developers use ?

    We definately give the developers a copy of SSMS. In fact, they've got a Development server on their machines. They can't build structures into the dev servers, but we encourage...

Viewing 15 posts - 21,871 through 21,885 (of 22,197 total)