Forum Replies Created

Viewing 15 posts - 5,371 through 5,385 (of 7,636 total)

  • RE: How to script object level permission in SQL 2005?

    The script generator associates the permissions with the object scripts. So, when you are generating you script of the objects, you have to be sure to set the Include...

  • RE: Adding column takes forever

    My guess would be that something is using the table and has a schema lock on it as a consequence (note that opening the table, or opening the designer on...

  • RE: Agent won't start in cluster

    Are you receiving any messages? Anything in the system event log, or the SQL Server log?

  • RE: XML Mapping Problem

    dnlandes (9/30/2008)


    With this data and this map I get all the info in a table. Yay! But It puts OfficeTradingAs on one row then moves to the next row and...

  • RE: Parameter Sniffing with sp_ExecuteSQL ?

    Just to clarify some stuff that may not have been clear:

    1) This is a vendor-product generated query, I cannot rewrite it. I have sent suggestions to the vendor...

  • RE: How to install SQL Management Object

    SSMS (Management Studio) uses SMO (SQL Management Objects) directly, so the SMO libraries are installed anywhere that SSMS can run.

    If you are doing development, you might need a separate SDK,...

  • RE: Optimizing a Stored Procedure

    GilaMonster (10/7/2008)


    That query still can't use any indexes due to the leading wildcards on almost all of the filters.

    Do your users really enter middle portions of account numbers, phone numbers...

  • RE: Locking server

    If this is for SQL Server 2000, then you have posted it in the wrong forum as this is a SQL Server 2005 forum. Nonetheless, since it is already...

  • RE: Locking server

    Much better, thanks.

    Just checking: is this really for SQL Server 2005 and not SQL Server 2000?

  • RE: Optimizing a Stored Procedure

    Andrew Gothard (10/6/2008)


    Adding indexes to the system would not be an option for a couple of reasons;

    1) If - as is extremely likely - the app's a...

  • RE: Locking server

    This is just a copy of what you had in your original post, it is not useable.

    Please see this link for more information on how to ask for help in...

  • RE: Passing array To Stored Procedure

    No. You can update all of the fields in a table at once, but you do need a separate Update statement for each different table.

  • RE: Indexes on Columns

    this should make it easier:

    SELECT o.name as TableName, c.name as ColumnName, i.name as IndexName

    , o.schema_id, i.object_id, c.column_id, i.index_id

    , i.type_desc as IndexType, ic.is_included_column

    FROM (sys.columns c

    Join sys.objects o ON c.object_id =...

  • RE: "SELECT TRIGGER"

    You just need to filter the trace correctly. Once you do that, the trace will produce no more data than a TRIGGER ON SELECT would.

  • RE: Passing array To Stored Procedure

    Yes, multiple update statements inside a single transaction.

    Alternatively, write a stored procedure to do this, and pass your array in as an XML variable.

Viewing 15 posts - 5,371 through 5,385 (of 7,636 total)