Welcome to EMC Consulting Blogs Sign in | Join | Help

Browse by Tags

All Tags » SQL Server » Nugget
  • Editing Configuration files : SSIS Nugget

    Its been a long-g-g-g-g time since I did a SSIS-related post so here’s a little ditty that I picked up while reviewing some internal stuff today. Editing SSIS configuration (i.e. .dtsConfig) files isn’t particularly easy. Most people I see who try to do this use a traditional text editor like Notepad but that isn’t a great experience because the ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on August 4, 2009
  • String Aggregation in T-SQL & PL-SQL : SQL Nugget

    In my current day job I’m doing a lot of work against an Oracle back-end and I’ve just come across a situation where I need to do some string aggregation. Effectively I needed to turn this: Parent Child Charles William Charles Harry Anne Peter Anne Zara Andrew Beatrice Andrew Eugenie into ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on July 16, 2009
  • Making the case for expressions instead of parameterised SQL (and vice versa) : SSIS Nugget

    [Although I colloquially refer to myself on this blog as “SSIS Junkie” it won’t have escaped the notice of regular readers that I haven’t been talking about SSIS much lately, in fact nothing of real substance in regard to SSIS has appeared here since Nesting variables to calculate values on 24th October. The reason for that is that I simply ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on December 8, 2008
  • SSIS Nugget: Nesting variables to calculate values

    I was looking over a package today that a colleague had built and it contained the following code in a Script Task that was being used to return today’s day name: Public Sub Main() ' Dim sWeekday As String sWeekday = Now().DayOfWeek.ToString Dts.Variables(''User::DayName'').Value = sWeekday ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on October 24, 2008
  • SSIS Nugget: Conditionally email a file containing error rows

    Someone emailed me today asking: I have an SSIS package that outputs data that can’t be inserted into destination tables into flat log files [JT: I presume he means that error rows are redirected to a flat file] What is the easiest way to then after processing has completed: A) Check to see whether there has been any data that could not be ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on July 11, 2008
  • SSIS Nugget: Ensure your root folder is valid

    In the past I have advocated (and still do advocate) the use of a user variable in SSIS packages to store the path to a folder on the hard drive; I always use a variable called @[User::RootFolder] for this. Having this path available within a package variable enables you to dynamically set the location of files that your package may reference ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on May 19, 2008
  • SSIS Nugget: NEWID() function in the SSIS Pipeline

    Very short blog post this one. A guy on the SSIS Forum recently wanted to add a new GUID into the pipeline and was pertubed that there was no equivalent of T-SQL's NEWID() function in the SSIS Expression Language with which to do it. I agree that there SHOULD be a function to do it and I hope that one will one day appear. In ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on August 4, 2006
  • SSIS Nugget: Import data from a website

    An interesting problem has been posed on the SSIS forum at SQL Server Central. The user wants to download a file containing stock information from Yahoo finance and import the data into a database table.   That sounded like an interesting problem so I took up the challenge. The basis of my solution uses the code that Ashvini ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on May 31, 2006
  • SSIS Nugget: RetainSameConnection property of the OLE DB Connection Manager

    Did you know.... ...that you can run regular SQL Server transactions in SSIS over multiple tasks without requiring the use of Distributed Transaction Coordinator (DTC)? Well I didn't but thanks to that man again, Kirk Haselden, I do now. The default behaviour of a Connection Manager is that every task has its own connection which is why they ...
    Posted to SSIS Junkie (Weblog) by jamie.thomson on August 20, 2005
Powered by Community Server (Personal Edition), by Telligent Systems