Posts Tagged ‘SQL’

SQL 2012 RC0

Microsoft has release SQL Server 2012 RC0. http://www.microsoft.com/download/en/details.aspx?id=28145 You can also get the RC0 release of PowerPivot for Excel 2010. http://www.microsoft.com/download/en/details.aspx?id=28150

Table Size History

When maintaining a data warehouse, it is import understand the size and disk requirements of your tables over time. My current client has asked that I generate a report showing table disk usage over time, so that we can predict table growth. I was looking around and found the procedure sp_spaceused. This returns the row [...]

Atlanta SQL Saturday #89 – Check out the BRAIN POWER!!!…

Tim Radney (Blog|Twitter:@TRadney), our wonderful and most excellent leader in organizing our SQL Saturday #89 up here in Atlanta, GA, blogged recently about the difficulties involved in organizing such an event.  That blog post can be found here.  What stands out for me and what I feel is important to note is the number of [...]

Table Auditing with XML

When working with meta data tables it can be very useful to track when people make changes to the data. How do you track any change against any number of columns for any table? I have implemented a fairly simple solution that uses triggers and stores all changes as XML into one change log table. [...]

Presenting @ Atlanta Microsoft BI user group

I will be presenting at the next Atlanta Microsoft BI user group. Monday, July 25th, 2011. http://atlantabi.sqlpass.org/ Topic: SSIS Logging and Auditing Framework Level: Beginer / Intermediate Meeting Place Matrix Resources 115 Perimeter Center Place Suite 250 (South Terraces Building) Atlanta, GA 30346 Overview: Proper logging in your SSIS packages can help save hours in [...]

Avoiding dups when querying sysssislog

Last year I blogged about Avoiding dups in Parent Packages, when using custom logging. Todd McDermind has a good post on how to query the sysssislog table, if you are using the built in SQL SSIS logging. http://toddmcdermid.blogspot.com/2011/04/transforming-ssis-sysssislog-entries.html

Parse XML in SSIS

One of the built in data sources in in SSIS is an XML document. I started writing a package to pull data from XML stored in a SQL table. I noticed that there were several little gotchas that I had to work around to get the data the way I wanted. The XML file can [...]

Looping through files on an FTP server

I have always know that that SSIS has an FTP control Flow task, but I have never tried to use.  Turn out that the task is fairly limited and can be a pain to work with.  I am attempting to get a list of all files, in a folder, on an FTP server.   The FTP [...]

Noir SQL… Or, a Hardboiled Approach to Getting the Job Done

You can tell a lot about my state of mind by the books I’m reading. Lately, it’s Urban Fantasy with a Noir feel to it. Specifically, I’m reading Mike Carey’s Felix Castor series, and I just finished a book by Richard Kadrey called Sandman Slim: A Novel. I love the anti-hero. The protagonist who is [...]

Advance Search – SQL Server

As a BI Consultant, I am frequently going into new databases and writing queries against unfamiliar data sources. I have created a stored procedure that goes against the system views to help quickly find a key word in a Table, View, Columns or Stored Procedure. Once the procedure has been created you can execute it [...]