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


"pravalli nagireddy" record is there in address column but i
want display only 'nagireddy' from the main string what is
query for that pls tell me

Answers were Sorted based on User's Feedback



"pravalli nagireddy" record is there in address column but i want display only 'nag..

Answer / yuvaevergreen

sel substr(address,index(address,' ')+1) from db.emp;
will give you the string after the first space in the string.

Is This Answer Correct ?    12 Yes 0 No

"pravalli nagireddy" record is there in address column but i want display only 'nag..

Answer / babu

Hi All,


SELECT SUBSTR('PRAVALLI NAGIREDDY',POSITION('' IN 'PRAVALLI
NAGIREDDY')+1) FROM TABLE_NAME

THIS IS THE CORRECT ANSWER.

IN TERADATA THE FUNCTION INSTR IS NOT WORK.

Is This Answer Correct ?    6 Yes 0 No

"pravalli nagireddy" record is there in address column but i want display only 'nag..

Answer / chandu

select substr("pravalli nagireddy",10,9) from <table_name>

Is This Answer Correct ?    11 Yes 6 No

"pravalli nagireddy" record is there in address column but i want display only 'nag..

Answer / tdguy

Use substr function to handle character manipulations.

Is This Answer Correct ?    2 Yes 0 No

"pravalli nagireddy" record is there in address column but i want display only 'nag..

Answer / kiran kumar

Sel address,index(address,' ') as r,substr(address,r+1) from tablename;

Is This Answer Correct ?    2 Yes 0 No

"pravalli nagireddy" record is there in address column but i want display only 'nag..

Answer / nani

select substr(address,position('n'in address))as first_name
from t1;

Is This Answer Correct ?    1 Yes 0 No

"pravalli nagireddy" record is there in address column but i want display only 'nag..

Answer / ankal

sel substr('pravalli nagireddy', index('pravalli nagireddy','n'));

Is This Answer Correct ?    2 Yes 3 No

"pravalli nagireddy" record is there in address column but i want display only 'nag..

Answer / nani

SELECT ARRDESS COLUMN FROM TABLE NAME WHERE ADDRESSCOLUMN='%
NAGIREDDY'

Is This Answer Correct ?    0 Yes 5 No

"pravalli nagireddy" record is there in address column but i want display only 'nag..

Answer / gvk

select substr("pravalli nagireddy",instr("pravalli
nagireddy",' '),10)from <tablename>

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More Teradata Interview Questions

What are the available primary index types?

0 Answers  


what is the query for retrieve the unique values(not display the duplicates values) from single table?

6 Answers   IBM,


Explain the parallel data extension in teradata?

0 Answers  


what is identity columns in teradata

2 Answers   Wipro,


What are the things to be considered while creating secondary index?

0 Answers  


In your project what type of issues and errors you facing in Teradata

1 Answers   iGate,


What is real time and near real time data warehousing?

0 Answers  


How to load specific no.of records using bteq, or fastload,or multiload

0 Answers   Infosys,


There is a load to the Table every one hour and 24/7.Morning trafic is high, afternoon trafiic is less, Night trafiic is high.According to this situation which Utility you use and how do you load,which utility used?

4 Answers   IBM,


Can we collect statistics on table level?

0 Answers  


Highlight a few of the important components of Teradata?

0 Answers  


Why MLOAD needs Work Tables?

5 Answers   Teradata,


Categories