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

CAN ANY ONE SEND ME THE CODE FOR THE BELOW
1).REMOVE '_' FROM TELE PHONE "323-237-2323" AND SHOULD
DISPLAY OUT PUT AS "323237232"
2). NEED TO ONLY "COMPANY.COM" FROM EMAIL
FILED "TEST@COMPANY.COM"

Answer Posted / venkateswara rao

--Written in sqlserver
declare @num varchar(100) ='323-237-2323'
, @str varchar(100) ='TEST@COMPANY.COM'
, @ind int

set @ind= CHARINDEX('@',@str)
select SUBSTRING(@str,@ind+1,LEN(@str))
print @ind
select REPLACE(@num,'-','')

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the ETL Testing Operations?

1100


when will use SQL override in a lookup transformation?

2342


tell me few points when u become TL

2609


How to fine tune mappings?

997


what are the concerns of OLTP and DSS systems?

2004


What is etl process? How many steps etl contains?

1083


Explain etl?

1031


Do we need an etl tool?

1058


can Informatica be used as a cleansing tool? If yes, give examples of transformations that can implement a data cleansing routine.

2016


How to recover a workflow? What are the different approaches?( In prod i.e no access to modify)

1258


What is the difference between round-robin partitioning and hash partitioning?

1031


What is staging area referring to?

1212


Explain about hash partitioning?

1051


When do we analyze the tables?

1020


When do we use dynamic cache and static cache in connected and unconnected lookup transformations? Difference between stop and abort

1025