Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

replace command in oracle sql

Status
Not open for further replies.

jjenright

Technical User
May 23, 2006
14
US
How do I convert the following Crystal 10 code to an SQL statement to be used in a view ?

replace(replace(replace(replace({VIEW_SPECIAL_MAIN.VEN_ITEM},"X","",1),"-",""),".","")," ","")

Thank You, John Enright
 
Do you mean that you intend to use a replace function within a View you are contructing on the database?

Posting the version of Oracle would be helpful, and since you are creating a View, this has nothing to do with Crystal, post in an Oracle forum on tek-tips for the best results, they have some amazing database programmers over there.

Oracle supports basically the same REPLACE syntax:


Note that you use single quotes, not double.

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top