Forum Replies Created

Viewing 15 posts - 2,566 through 2,580 (of 5,841 total)

  • RE: SSMS 2012 Restarts Itself

    I would probably make sure I have installed all .NET Framework patches and especially upgrade my tools install to SQL 2012 SP1 CU(latest).

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: SSMS 2012 Restarts Itself

    See anything in the Windows Application Error log?

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: do I need locking or what's the best way to do this ?

    1) install a copy of SQL 2012 Books Online. It is an INCREDIBLE, FREE resource. In this case it is really perfect for you because it has a...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Deadlock Issue

    http://blogs.msdn.com/bartd/archive/2006/09/09/Deadlock-Troubleshooting_2C00_-Part-1.aspx

    Note there are 2 additional parts to this blog series.

    There is also several Profiler Events under the Locks category that can show detailed information about deadlocks.

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: How to sum in SQL removing varchar

    This is from my Common TSQL Mistakes SQL Saturday session, which I have presented over 50 times now at various venues. Hopefully you can adapt it to your needs...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Tracking running queries

    Yeah - sp_whoisactive is THE tool for monitoring current activity on a sql box. Here is a link to a 30-day blog post series he did on all the...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Out of the two given queries, which will perform faster!!!

    You do work in the second query which doesn't happen in the first. I see no reason to expect the second query to not be some (microseconds?) slower than the...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Droping out of a cusor

    Sean Lange (5/1/2013)


    Edward-445599 (5/1/2013)


    Hi what’s the best to way to drop out of a cursor if a condition is meet?

    Many thanks

    Are you sure you even need a cursor? Given that...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Disk_Queue_Length is CRITICAL or high

    There are quite a number of things that could be at fault here, especially given the clustering setup you have. I would review every error log you can get...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Performance Primary Keys creation

    GilaMonster (5/1/2013)


    Same thing. The only difference is in one you specify the PK name, in the other you get an automatically generated name. In all other aspects those two statements...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Aggregate issue

    JimS-Indy (4/30/2013)


    Kevin, the table build scripts for these four tables are probably 200 lines long, containing columns and foreign keys that are not relevant, and may be confidential. I know...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Aggregate issue

    we cannot make use of a picture of a schema to build a query from. I asked you specifically to supply what would enable us to help you. ...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Validate Disk Access Latency:No disks were found on which to perform cluster validation tests.

    TheSQLGuru (4/29/2013)


    some people create database names that REQUIRE brackets (like 12345), so I would try something like this:

    from [' + name + '].dbo.mytable ...

    same goes for table names too, btw

    How...

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Aggregate issue

    table scripts, sample data and expected outputs would be VERY helpful here. And if you want good performance too please include index scripts and numbers of rows per table....

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • RE: Validate Disk Access Latency:No disks were found on which to perform cluster validation tests.

    some people create database names that REQUIRE brackets (like 12345), so I would try something like this:

    from [' + name + '].dbo.mytable ...

    same goes for table names too, btw

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

Viewing 15 posts - 2,566 through 2,580 (of 5,841 total)