boundaries file generator from SQL Server