Table of Contents

Using MS-SQL as collection database

Tested Environment: Windows XP and Windows 2003 Server

Tested MS-SQL installation: Microsoft SQL server 2005 Express

Tested C++ Compiler: Microsoft Visual C++ 2008 Express Edition

Build time setup

my $host = "localhost,1660"; # Need to look up your SQL server and see what port is it using.
my $user = "sa";
my $pwd = "[When installing the MSSQL, you will be asked to input a password for the sa user, use that password]";
my $database = "[Create a database in MSSQL and use it here]";
use DBI;
use DBD::ADO;
Win32::OLE->Option(CP => Win32::OLE::CP_UTF8);

Runtime setup