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...


Frnds....

i have one doubt

we have the num like this +913757575......i want to remove
91 and i want lo load remaining data to the target table..

whinch function we can use in teradata?????


Plz let me know..
thanks in advance

Answers were Sorted based on User's Feedback



Frnds.... i have one doubt we have the num like this +913757575......i want to remove 91 and ..

Answer / tdguy

Substr function would be suitable for this requirement.
Even if the column type is integer, substr can be used.
Implicit casting takes place. But trim function should be
used to avoid leading spaces.
example: column name - phoneno - type integer
value: - 913757575
SEL SUBSTR(TRIM(PHONENO),3,7) FROM TABLE;
Above sql will give you the correct output.

Is This Answer Correct ?    7 Yes 0 No

Frnds.... i have one doubt we have the num like this +913757575......i want to remove 91 and ..

Answer / hanumanth

Hi we can use substr function in teradata

like

sel c1,substr(c1,4,13)from table.

like this we can load

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More Teradata Interview Questions

Can we load a Multi set table using MLOAD?

2 Answers  


Explain the term 'tables' related to relational database management system?

0 Answers  


hi frnds i want to learn teradata utilities and teradata dba real time. i have 1+ years of experience in teradata. so i want to go deeply in Tearada. plz let me know at my email id who r best to learn from. im lookng for a realtime guy in HYD or Banglr. Thanks in advance. yedu my email-id: jakkayedukondalu@gmail.com@gmail.com

0 Answers  


What tools would you use for that?

0 Answers  


Describe the set operators in teradata.

0 Answers  


How to view every column and the columns contained in indexes in teradata?

0 Answers  


What is a node in teradata?

0 Answers  


plz explain parlla distribution and subtable concept in teradata

3 Answers   TCS,


Which is more efficient group by or distinct to find duplicates?

0 Answers  


What are the different table types supported by teradata?

0 Answers  


What is meant by a Parsing Engine?

0 Answers  


can we load 10 millions of records into target table by using tpump?

1 Answers   HP,


Categories