THE SQL Server Blog Spot on the Web

Welcome to - The SQL Server blog spot on the web Sign in | |
in Search

Browse by Tags

All Tags » Tools » Scripts » Perl   (RSS)
  • Find the complete call tree for a stored procedure

    Would it be nice to print out the complete call tree of a stored procedure? By complete call tree, I mean the following:   ·              At the very top level, the call tree should identify all the procedures that are called ...
    Posted to Linchi Shea (Weblog) by Linchi Shea on October 22, 2009
  • Performance impact: file fragmentation and SAN - Part VI

    A script to fragment a test file Well, this post won't cover any actual test results and is not specific to SAN. But in the spirit of full disclosure, I've attached the script I used to control the fragmentation level of the test files mentioned in this series of posts. The script is written in Perl, but can be easily done in any ...
    Posted to Linchi Shea (Weblog) by Linchi Shea on December 30, 2008
  • A Little Bit Scripting Saves the Day

    Recently, I got sucked into importing Excel sheets into a database. I had thought, well that's easy with a tool such as SQL Server 2000 DTS Import/Export Wizard or SQL Server 2005 Import/Export Wizard. Needless to say, the Excel import business ran into a snag. With the error messages from the wizard not being really helpful, I ditched the wizard ...
    Posted to Linchi Shea (Weblog) by Linchi Shea on March 5, 2007
  • Parse the sqlio.exe Output

    Let's say you run sqlio.exe as follows: D:\sqlIO -kW -t32 -s30 -dE -o1 -fsequential -b8 -BH -LS Testfile.dat The output typically may look like this: sqlio v1.5.SG using system counter for latency timings, 1999980000 counts per second 32 threads writing for 30 secs to file E:Testfile.dat using 8KB sequential IOs enabling multiple I/Os ...
    Posted to Linchi Shea (Weblog) by Linchi Shea on February 21, 2007
  • Msql -- A Little Wrapper Goes a Long Way

    Have you ever run into a situation where you'd like to search many of your SQL Server instances to look for a specific piece of information? Ideally, you should maintain an inventory database of all your SQL Server instances so that all you need to do is query that database. In case you don't have such an inventory (shame on you!) or the inventory ...
    Posted to Linchi Shea (Weblog) by Linchi Shea on January 9, 2007
Privacy Statement