Forum Replies Created

Viewing 15 posts - 301 through 315 (of 1,170 total)

  • RE: Query performance extremely poor

    JoshDBGuy (7/29/2015)


    Igor Micev (7/29/2015)


    JoshDBGuy (7/29/2015)


    Igor Micev (7/29/2015)


    Hi All,

    Thanks for replying.

    Issue is resolved.

    The ssd disk has been going working worse and worse. Its response time has been changing in the last...

  • RE: Query performance extremely poor

    JoshDBGuy (7/29/2015)


    Igor Micev (7/29/2015)


    Hi All,

    Thanks for replying.

    Issue is resolved.

    The ssd disk has been going working worse and worse. Its response time has been changing in the last couple of weeks...

  • RE: Query performance extremely poor

    Grant Fritchey (7/28/2015)


    If the disk has gone bad, that should have shown up in the wait statistics. You didn't see any changes tehre at all?

    Exactly that. I later saw that...

  • RE: Query performance extremely poor

    Hi All,

    Thanks for replying.

    Issue is resolved.

    The ssd disk has been going working worse and worse. Its response time has been changing in the last couple of weeks having increments.

    Today...

  • RE: Query performance extremely poor

    GilaMonster (7/28/2015)


    What's changed?

    Compare query plans from before and now, see what's different. Compare your wait stats baseline to what you see now, see where the waits have increased.

    I did all...

  • RE: multiple instance on a SQL server

    sqlfriends (7/24/2015)


    Anyone installs multiple instances on a SQL server either virtual or physical?

    All my company's SQL server currently only have single default instance.

    I know we can install named instance besides...

  • RE: Getting duplicate data when connecting to another table.

    Try with this code in the WHERE clause

    where

    (up.UserId = @UserId or up.UserId = @SenderId)

    and

    up.IsProfilePic = 1

    and

    ...

  • RE: Performance Issues using DELETE

    SimonH (7/6/2015)


    Igor,

    I've not used delete on cascade.

    Looking into it this might work.

    I was under the impression this only worked if you had joins in your delete statement.

    Would I add this...

  • RE: Performance Issues using DELETE

    SimonH (7/6/2015)


    Igor Micev (7/6/2015)


    Is the table's PK a foreign key in other tables. Are some foreign keys using the CASCADE-ing?

    What about triggers?

    You can always perform the deletion in batches, let's...

  • RE: Performance Issues using DELETE

    Is the table's PK a foreign key in other tables. Are some foreign keys using the CASCADE-ing?

    What about triggers?

    You can always perform the deletion in batches, let's say each batch...

  • RE: integer lengths (II)

    Good discovery. Thanks.

  • RE: Issues with SQL Server 2008R2 Clustered Install on Server 2012

    Did you check the iSCSI initiator for the disks? Once we had to re-initiate in order to continue.

  • RE: JSON (SQL2016 CTP2)

    Nice question. Good to know the difference in modes for JSON and XML.

    This is first QotD touching SQL 2016.

  • RE: Disabling Indexes

    Great question! Thanks.

  • RE: Find Table dependency in SQL

    SELECT

    d.referenced_entity_name,

    o.type_desc,

    object_schema_name(d.referencing_id) As ReferencingSchema,

    object_name(d.referencing_id) AS ReferencingObject

    FROM sys.sql_expression_dependencies d

    INNER JOIN sys.objects o ON d.referenced_id=o.object_id

    LEFT OUTER JOIN sys.columns colz ON o.object_id = colz.object_id

    ...

Viewing 15 posts - 301 through 315 (of 1,170 total)