FOLLOW US

Showing posts with label SSIS. Show all posts
Showing posts with label SSIS. Show all posts

Friday, January 18, 2013

List All SSIS Packages Deployed On Your Integration Server


One way of checking wich SSIS packages you've deployed on your integration server and wich version build numbers they have is by running a TSQL query against the MSDB database on the server where your integration services  is running.

I found the following blogpost with a very usefull TSQL script:

http://blog.hoegaerden.be/2010/01/10/list-all-ssis-packages-deployed-on-your-integration-server/

NOTE: the query was written for SQL Server 2008. For SQL Server 2005: sysssispackagefolders => sysdtspackagefolders90 and sysssispackages => sysdtspackages90.

Tuesday, April 10, 2012

BI Architects visited the Microsoft SQL Server 2012 symposium

Yesterday a delegation of BI Architects visited the Microsoft SQL Server 2012 symposium at the Media Plaza in Utrecht.

During the symposium Microsoft presented the new version of their informationplatform SQL Server 2012. Richard Chin, general manager SQL Server strategy at Microsoft, kicked off the symposium with a keynote. After the keynote the symposium was divided into three blocks: Breakthrough insight with SQL Server 2012, Delivering Mission Critical Confidence to the Modern Enterprise and Building the Modern Enterprise with Hybrid IT.

A view at the stunning Media Plaza during the Microsoft SQL Server 2012 symposium.

As BI Architects we were mostly interested in the block concerning business intelligence, Breakthrough insight with SQL Server 2012. This block included a keynote from Marcel Westra, technology specialist BI at Microsoft NL, explaining the vision behind SQL Server 2012 and demonstrating the new features like PowerView and the integration of Hadoop (Big Data).

All of the speakers outlined five points off improvement for SQL Server 2012:

  • Greater availability. Deliver the required 9s and data protection with AlwaysOn, delivering added functionality over CTP3 that allows customers to experience multiple, readable secondaries for distributed scale of reporting and backup workloads and support for FileTable and FILESTREAM which brings first-class HA to complex data types.
  • Blazing-fast performance. More effectively govern performance in multi-tenancy environments like private cloud. Resource Governor enhancements include support for 64 resource pools, greater CPU usage control, and resource pool affinity for partitioning of physical resources and predictable resource allocation.
  • Rapid data exploration. Empower end users with new insights through rapid data exploration and visualization. Discover new insights at the speed of thought with more feature/functionality in Power View, the highly interactive, familiar browser-based data exploration, visualization, and presentation experience for end users.
  • Credible, consistent data. In addition to CTP3 functionality delivered for Data Quality Services and Master Data Services, customers can better support heterogeneous data within Data Warehouses through new Change Data Capture (CDC) support for Oracle.
  • Optimized productivity. Optimize IT and developer productivity across server and cloud with the new SQL Server Data Tools, a unified development experience for database and business intelligence projects, and cloud-ready capabilities within SQL Server Management Studio for snapshot backups to the Windows Azure Platform. Additionally, SQL Server 2012 offers a new version of Express – LocalDB. SQL Express LocalDB is a lightweight version of Express with all its programmability features, yet runs in user mode with a fast, zero-configuration installation and short list of pre-requisites. For more information and to try it out, go here.

There are three main editions planned for SQL Server 2012: Standard, Business Intelligence (new) and Enterprise. Business Intelligence adds better reporting via PowerView, PowerPivot for SharePoint Server, Data Quality Services, Master Data Services, and an In-Memory Tabular BI Semantic Model.

For more information about the new features go here.

All of the keynotes will be posted online by Microsoft,  keep watching this blog to find out were you can watch them!

Update:
The videos aren't online yet, but Microsoft sended the presentation to us in the PDF file format. Download the 15 MB zip file from this link.

Tuesday, April 3, 2012

Query to find the size of the database and database file


Technique 1:


     EXEC sp_helpdb


Technique 2: For a specific database:
sp_helpdb'adventureworks'



And you get the following output: (this one gives you the database and data file information for a specific database)


Technique 3: be in the context of the database and run sp_spaceused
Gives you the database size and certain more properties of it:


     EXEC sp_spaceused
This is what you get:


Technique 4: use sys.master_files


SELECTDB_NAME(database_id)AS DatabaseName,
Name AS LogicalName,
size*8/1024 Size_in_MB,
max_size
FROM sys.master_files
WHEREDB_NAME(database_id)='AdventureWorks'
GO




If you liked this post, do like us on FaceBook at http://www.facebook.com/pages/BI-Architects/249973345047634?sk=wall

Tuesday, February 28, 2012

BI solution delivers insight on CXL P&L attributes

BI Architects develops Business Intelligence (BI) solutions for its customers ranging from commodity trading and enterprise risk to project management.

In this video blog I want to present a BI solution we have developed for one of our customers, that uses Triple Point’s Commodity XL (CXL), giving essential insight in the in the causes of the position and mark to market movements, including physical operations (P&L attributes).

The presentation depicted below describes our customer's needs, CXL and the solution itself.



For more information on our CXL BI solution for gaining insight on P&L attributes, please contact our sales manager Erik Rongen-Kleintjens via E.Rongen-Kleintjens@bi-architects.nl .

For more information on Triple Point’s Commodity XL (CXL) software, go to tpt.com .

Tuesday, January 10, 2012

Operators (SSIS Expression)

This post describes which operators you can use within the SSIS expression language.

Operator
Description
Cast (SSIS Expression): Convert SSIS Data Types
Converts an expression from one data type to a different data type.
() (Parentheses) (SSIS Expression)
Identifies the evaluation order of expressions.
+ (Add) (SSIS Expression)
Adds two numeric expressions.
+ (Concatenate) (SSIS Expression)
Concatenates two expressions.
- (Subtract) (SSIS Expression)
Subtracts the second numeric expression from the first one.
- (Negate) (SSIS Expression)
Negates a numeric expression.
* (Multiply) (SSIS Expression)
Multiplies two numeric expressions.
/ (Divide) (SSIS Expression)
Divides the first numeric expression by the second one.
% (Modulo) (SSIS Expression)
Provides the integer remainder after dividing the first numeric expression by the second one.
|| (Logical OR) (SSIS Expression)
Performs a logical OR operation.
&& (Logical AND) (SSIS Expression)
Performs a logical AND operation.
! (Logical Not) (SSIS Expression)
Negates a Boolean operand.
| (Bitwise Inclusive OR) (SSIS Expression)
Performs a bitwise OR operation of two integer values.
^ (Bitwise Exclusive OR) (SSIS Expression)
Performs a bitwise exclusive OR operation of two integer values.
& (Bitwise AND) (SSIS Expression)
Performs a bitwise AND operation of two integer values.
~ (Bitwise Not) (SSIS Expression)
Performs a bitwise negation of an integer.
== (Equal) (SSIS Expression)
Performs a comparison to determine if two expressions are equal.
!= (Unequal) (SSIS Expression)
Performs a comparison to determine if two expressions are not equal.
> (Greater Than) (SSIS Expression)
Performs a comparison to determine if the first expression is greater than the second one.
< (Less Than) (SSIS Expression)
Performs a comparison to determine if the first expression is less than the second one.
>= (Greater Than or Equal To) (SSIS Expression)
Performs a comparison to determine if the first expression is greater than or equal to the second one.
<= (Less Than or Equal To) (SSIS Expression)
Performs a comparison to determine if the first expression is less than or equal to the second one.
? : (Conditional) (SSIS Expression)
Returns one of two expressions based on the evaluation of a Boolean expression.


SSIS Carriage Return in MesageSource 'Send Mail Task'

Yesterday I faced a layout problem within the 'Send Mail Task' in BIDS. The task had to report status information in a mail in a readable manner. I composed the context of the mail in a variable wich is set bij an 'Execute SQL Task' in a 'Foreach Loop Container' which fills the variable by means of a Result Set.

Initially I composed the status information one after another and it became one big lumb of text which was not readable. So I had to insert 'Carriage Returns' in order to get new status information on a new line.

By adding CHAR(13) to a text in a SQL statement you can add 'Carriage Returns' to a text so you can make it more readable.

Example:
SELECT 'This is a example text.' + CHAR(13) + 'And this must be on a new line!' + CHAR(13) + 'And this must be on another new line!'

If you put this in a variable and put the content of this variable into the MessageSource property of the 'Send Mail Task' through a exception you will get the following result:

This is a example text.
And this must be on a new line!
And this must be on another new line!

Hope this helps!

Thursday, December 8, 2011

SSIS datatypes VS SQL Server datatypes

Often it can be extremely confusing when you encounter SSIS data types.  At first glance they seem to be nothing like SQL Server data types.  That's why I wanted to write this blogpost,  below a conversion chart of SSIS data types to SQL Server data types.  This information is readily available on MSDN but it always seems difficult to find.  

SSIS Data Type
SSIS Expression
SQL Server
single-byte signed integer
(DT_I1)

two-byte signed integer
(DT_I2)
smallint
four-byte signed integer
(DT_I4)
int
eight-byte signed integer
(DT_I8)
bigint
single-byte unsigned integer
(DT_UI1)
tinyint
two-byte unsigned integer
(DT_UI2)

four-byte unsigned integer
(DT_UI4)

eight-byte unsigned integer
(DT_UI8)

float
(DT_R4)
real
double-precision float
(DT_R8)
float
string
(DT_STR, «length», «code_page»)
char, varchar
Unicode text stream
(DT_WSTR, «length»)
nchar, nvarchar, sql_variant, xml
date
(DT_DATE)
date
Boolean
(DT_BOOL)
bit
numeric
(DT_NUMERIC, «precision», «scale»)
decimal, numeric
decimal
(DT_DECIMAL, «scale»)
decimal
currency
(DT_CY)
smallmoney, money
unique identifier
(DT_GUID)
uniqueidentifier
byte stream
(DT_BYTES, «length»)
binary, varbinary, timestamp
database date
(DT_DBDATE)
date
database time
(DT_DBTIME)

database time with precision
(DT_DBTIME2, «scale»)
time(p)
database timestamp
(DT_DBTIMESTAMP)
datetime, smalldatetime
database timestamp with precision
(DT_DBTIMESTAMP2, «scale»)
datetime2
database timestamp with timezone
(DT_DBTIMESTAMPOFFSET, «scale»)
datetimeoffset(p)
file timestamp
(DT_FILETIME)

image
(DT_IMAGE)
image
text stream
(DT_TEXT, «code_page»)
text
Unicode string
(DT_NTEXT)
ntext


Hope this helps!