Solved

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

Posted on 2010-08-20
2
688 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
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

770 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