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 to add zero "0" before record in a field?

Answers were Sorted based on User's Feedback



How to add zero "0" before record in a field?..

Answer / santhu

Sorry its not String we shoud use str("0",1)

Is This Answer Correct ?    8 Yes 0 No

How to add zero "0" before record in a field?..

Answer / ranjan

use the below function to add "0" in transformer

"0" : fieldname

Is This Answer Correct ?    12 Yes 6 No

How to add zero "0" before record in a field?..

Answer / santhu

Ranjan is right but when we want add 4 zeros("0")then By Using String Function we can do that

String("o",1):Column name
Here 1 is how many zeros we want

Is This Answer Correct ?    3 Yes 1 No

How to add zero "0" before record in a field?..

Answer / dhanasekar

Str(%string%,%repeats%) is the function used in transformer to repeat a string for a number of times we required.

%String%-> represents the string we want to repeat
%repeats%->its a no represents how many times the string to be repeated.

Example: Str("0",1):Column_name

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More Data Stage Interview Questions

How to read multiple files using a single datastage job if files have the same metadata?

0 Answers  


Explain ibm infosphere information server and highlight its main features?

0 Answers  


How many Nodes configuration file you used in your last project?

1 Answers  


How can remove duplicates in a file using UNIX?

3 Answers   Cap Gemini,


How did you reconcile source with target?

3 Answers   HP,


In Informatica,for the table I can find coreesponding dependent mappings.Likewise can I find the dependent jobs with all the information by using the table name

0 Answers   TCS,


I have a few records just I want to store data in to targets cycling way how?

0 Answers   Polaris,


in oracle target stage when we use load option and when we use upsert option?

0 Answers  


How we can covert server job to a parallel job?

0 Answers  


how to cleansing data

6 Answers   Cap Gemini,


A job is having only 2 stages I/p dataset and target table.Job is taking very long time to load 50 million records.How to improve performance of this job.

3 Answers   IBM,


what is the new version in Datastage ? what is the diff b/t New vesion & 7.5 version?

12 Answers   Wipro,


Categories