Q
SSIS can export data into excel files, and SSRS can also do this. Which way is better / more appropriate in which circumstances?
SSIS and SSRS - QA from the BI class
Labels: business intelligence, sql server, SSIS, SSRS
Me and Adam talking Silverlight, C#4, .NET4 and VS2010
Figure: Me and Adam Cogan had a great but exhausting day, talking about current technologies in Sydney
When Adam went to the Pub, I ran to the university UTS to teach Business Intelligence - Cubes
Labels: conferences
SQL Server Integration Services - QA from the 1st BI class
Q1 How to trigger SSIS/SSRS jobs manually/on-demand without using the SQL Agent. How can I let end users trigger dtsx packages. Are there API hooks that I could run from a VBScript form (ideally) or perhaps .NET
Q2 I would like to know how you loop through different directory and upload files from various directories using SSIS. It will be great if you can give some demo.
Labels: business intelligence, sql server, SSIS, SSRS
Don't be lazy. Avoid the type "Tuple"
*Updated* 27. September 2010: Updated the comparison between anonymous types and Tuple's from blog comments
*Updated* 6. July 2017: Microsoft released C#7 that has a tuple type and tuple literal which resolves my below issues. https://blogs.msdn.microsoft.com/dotnet/2017/03/09/new-features-in-c-7-0/
Attention: From a Clean Code perspective I would consider the Primitive Obsession smell with tuples.
Tuple is a new type introduced in .NET4. My first impression of it was great, because it's a nice and easy way to group elements of a different type together. Sweet!
My first experience using the Tuple type was using it as a return value from a few methods, where I previously had an "out" parameter before, like this…
string errormsg; User user; bool success = AuthenticationService.GetUser(usercode, out user, out errormsg);Figure: Bad example - We should avoid "out" parameters, because it means we return 2 objects from a method.
Labels: .NET4, c#, readibility
SQL Server - Generate triggers for your "LastModified" columns with a fancy SQL script!
Every table in our database should have a "LastModified" column to record the last modified time of each row.
Figure: Sample table with a LastModified column
Our rule "Do you have standard Tables and Columns?" says the column should be called "DateModified" which has the same purpose.
How do you populate that field?
Labels: sql server, tip
Latest Posts
Popular Posts
-
It's easy I thought, just select the Property of the EntityType and set the Default Value in the Properties window to: DateTime.Now ...
-
I am *very* keen on automating tests, so I was looking into unit testing a WCF service. If I say "unit test", I mean a fast ,...
-
Had some discussions about Lists and controls, like Listbox and Listview, and sometimes its difficult to distinguish those. System.Win...