Archive for January, 2007

Another use for a bitwise operator

Monday, January 29th, 2007

I have just finished the code for a new transactional replication setup.

Requirements were to be able to filter rows according to the destinations that formed part of the fullfilment of the order. This could theoretically include up to 10 destinations however in reality it tended to be 2 or 3. The data would be real-time messages flowing out of the mainframe into the SQL Server via BizTalk.

Pro SQL Server 2005 Replication (Definitive Guide) 

(more…)

A useful script to analyse current queries on your box…

Monday, January 22nd, 2007

Ever been stuck trying to figure out what people are doing on your server, but unable to tell from DBCC InputBuffer what statements the users are running? This is one of the most useful scripts I’ve come accross and helps enormously when trying to analyse what is happening on your SQL Server.

It is often the case that users will query your database with tools like MS Access or Business Objects which are quite difficult to track. Well this useful tool helps to solve that problem… 

SQL Server 2005 Administrator\'s Pocket Consultant (Pro-Administrator\'s Pocket Consultant) 

(more…)

Excel & SSIS (Part 1)

Monday, January 15th, 2007

Came across an irritating behaviour with the Excel source in SSIS. The Excel ODBC Jet Driver that SSIS uses has the annoying default configuration of only checking the first 8 lines in a spreadsheet, to evaluate the field length of any external columns in the Excel source task…

Professional Excel Development: The Definitive Guide to Developing Applications Using Microsoft Excel and VBA

(more…)