Solved

isnull([columnname]) ==  TRUE ? "Unkown" : [columnname]

Posted on 2010-08-20
2
694 Views
Last Modified: 2013-11-10
I am learning SSIS and I came across an expression simlar to the example bellow used in a 'Derived Column' transformation.

isnull([columnname]) ==  TRUE ? "Unkown" : [columnname]

I why is a question mark and colon used? What do they do in the express?
0
Comment
Question by:Mr_Shaw
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
vdr1620 earned 500 total points
ID: 33486742
In SSIS ? - reprsents an IF and : - represents ELSE.. basically what yor seeing is an IF else condition..Its checking for a NULL values in the column..If that's TRUE then it results Unknown Else the column Value
0
 

Author Closing Comment

by:Mr_Shaw
ID: 33486881
thanks
0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

622 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question