Login or Sign Up to become a member!
LessThanDot Sit Logo

LessThanDot

Data Management

Less Than Dot is a community of passionate IT professionals and enthusiasts dedicated to sharing technical knowledge, experience, and assistance. Inside you will find reference materials, interesting technical discussions, and expert tips and commentary. Once you register for an account you will have immediate access to the forums and all past articles and commentaries.

LTD Social Sitings

Lessthandot twitter Lessthandot Linkedin Lessthandot friendfeed Lessthandot facebook Lessthandot rss

Note: Watch for social icons on posts by your favorite authors to follow their postings on these and other social sites.

Your profile

    Search

    XML Feeds

    Google Ads

    « The Lazy DBA Series: Email me, I’m broke!The Lazy DBA Series: Monitoring »
    comments

    This version of SQLCop contains several bug fixes as well as some new features. Many of the items changed in this version were based on feedback received by you, our users. We encourage people to post comments so that we can improve the application.

    If you previously downloaded the original version of SQLCop, you should manually download and install this new version: http://sqlcop.lessthandot.com/

    Fixes:
    1. This version of SQL Cop works with databases that have a binary collation.

    2. There was a "load nodes" problem that occurred when your firewall was blocking your connection to our site. This version of the application does require an internet connection the first time it is run so that an XML file can be downloaded. After this first download, you no longer need an internet connection. Without a connection to the internet, you will not see the blog or wiki article that explains the problems, but you will still be able to list the occurrences of the problem in your database.

    3. A database connection parameter was changed which will allow SQL Cop to run quicker.

    4. Some people were seeing "stub" instead of "No Problems Found". This item has been corrected.

    Updates
    SQL Cop now checks a very small XML file on startup that is located on our server. If the connection to the server fails, the local version of the issues XML file is used. If SQL Cop can download the configuration xml file, we compare versions of the application and versions of the issues xml. If there is a new application, the user is notified and prompted to download the newer version. If there is a newer version of the issues xml file, it is downloaded and stored automatically.

    Checks
    We added new checks for:
    Code

    • Procedures with dynamic sql
    • Procedures using dynamic sql without sp_executesql

    Table/View

    • Unnamed Constraints

    Indexes

    • Forwarded Records

    Configuration

    • Ad Hoc Distributed Queries
    • CLR
    • Database and log files on the same physical disk
    • Database Mail
    • Deprecated Features
    • Instant File Initialization
    • Max Degree of Parallelism
    • OLE Automation Procedures
    • Service Account
    • SMO and DMO
    • SQL Server Agent Service
    • xp cmdshell

    A new category was added for Health with the following checks.

    • Buffer cache hit ratio
    • Page life expectancy

    This brings the total number of issues checked to 50 for SQL 2008 and 49 for SQL 2005.

    About the Author

    George has been developing software professionally for 19 years, first for the department of defense, and then for various other companies. In 1998, George started his software company, Orbit Software, specializing in School Bus Transportation software. His specialty is refining SQL Server queries to deliver optimal performance.
    Social SitingsTwitterLTD RSS Feed
    Instapaper

    1 comment

    Comment from: SQLDenis [Member] Email
    SQLDenis hehe I ran some of those dynamic SQL checks on an older database (not developed by me) and found this gem

    sp_executesql 'exec(''select * from..'''+ @bla +')'''

    because you know that sp_executesql is superior to exec if you don't use the parameters correctly sigh


    Thanks again for all the work you have been putting into this tool


    08/23/10 @ 10:12

    Leave a comment


    Your email address will not be revealed on this site.

    Your URL will be displayed.
    (Line breaks become <br />)
    (Name, email & website)
    (Allow users to contact you through a message form (your email will not be revealed.)