SQL Server Magazine May 2006

[Feature]
Here’s a script that you can use to compare the files in two directories.
By Dave Roth
Together, the suggestIntType and scanIntIndex procedures search for indexed integer columns in a database and determine whether the optimal data type is used for those columns.
By Eli Leiba
Learn the basics of setting up a Windows command shell scripting environment.
By Dick Lewis
Here’s a command-line script that uses the Penton.VBSort object to sort an input file and write it to an output file.
By Bill Stewart
[Reader to Reader]
VBScript’s logical operators can perform not only logical comparisons against text, numbers, and dates but also bit comparisons. Here’s a script that uses the AND operator to derive individual bit values from any decimal or hex number you specify.
By Readers
[Rem]
This month, learn how to determine whether a user is an administrator while addressing group-nesting and string-matching problems in searches and how to automatically set the DefaultUserName by using LastLogonName.vbs.
By Bill Stewart
[Snippets to Go]
This user-defined function works like the WScript.Sleep method but wakes the script up early if necessary.
By Jim Turner
|