Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How do u set a default value to a column if the column value
is NULL?

Answer Posted / subhash

we can use
NullToValue(Col_Name, Default_Value)
or
NullToempty(Col_Name)functions in tranformaer stage.

Or
If the source is sequential file then, we have an option in
seq file ==> Formats ===> Filed Defaults ==>"Null Field
Value" --> we can set default value for it.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate between hash file and sequential file?

1011


If you want to use a same piece of code in different jobs, how will you achieve this?

1232


How a server job can be converted to a parallel job?

1052


what are the errors,warnings in datastage

2630


What are the job parameters?

1170


How will you load you daily/monthly jobs datas in to Fact and Dimension table using datastage.

3420


what is the use of skid in reporting?

2317


How do you schedule or monitoring the job?

1147


What is job control?

1051


How complex jobs are implemented in datstage to improve performance?

975


What all are the different way to run a job?

1040


What are iconv and oconv?

1190


What are data elements?

1116


What are the repository tables in datastage?

1264


Have you used Unstructured data?

1274