dbTalk Databases Forums  

ORACLE TRANSLATE function VS ASA ?????? function

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss ORACLE TRANSLATE function VS ASA ?????? function in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Timrek
 
Posts: n/a

Default ORACLE TRANSLATE function VS ASA ?????? function - 04-04-2006 , 05:11 PM






I need the equivalent function for ASA :

ORACLE : translate function
ASA : ??????????? what is the equivalent function.
I need to translate accent caracters.

Reply With Quote
  #2  
Old   
Sybase newsgroups
 
Posts: n/a

Default Re: ORACLE TRANSLATE function VS ASA ?????? function - 04-04-2006 , 05:34 PM






In article <4432e0ea.513.1681692777 (AT) sybase (DOT) com>, Timrek says...
Quote:
I need the equivalent function for ASA :

ORACLE : translate function
ASA : ??????????? what is the equivalent function.
I need to translate accent caracters.
We might be able to help more if we knew the translate function does?

--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).


Reply With Quote
  #3  
Old   
Daniel Coppersmith
 
Posts: n/a

Default Re: ORACLE TRANSLATE function VS ASA ?????? function - 04-04-2006 , 05:50 PM



takes characters in one string and replaces them 1:1 for those in another.


select ('abba', 'abc', 'def' ) from dual

returns deed because the first "a" is the first character in "abc" and
it's replaced with the first character in "def" which is a "d")







Sybase newsgroups wrote:
Quote:
In article <4432e0ea.513.1681692777 (AT) sybase (DOT) com>, Timrek says...
I need the equivalent function for ASA :

ORACLE : translate function
ASA : ??????????? what is the equivalent function.
I need to translate accent caracters.

We might be able to help more if we knew the translate function does?


Reply With Quote
  #4  
Old   
Reg Domaratzki \(iAnywhere Solutions\)
 
Posts: n/a

Default Re: ORACLE TRANSLATE function VS ASA ?????? function - 04-04-2006 , 05:51 PM



The CSCONVERT function translates characters from one character set to
another, but I'm not familiar with what the Oracle translate function does,
so I've no idea if this is what you're looking for.

See the following section in the docs :

ASA SQL Reference
SQL Functions
Alphabetical list of functions
CSCONVERT function [String]

--
Reg Domaratzki, Sybase iAnywhere Solutions
Sybase Certified Professional - Sybase ASA Developer Version 8
Please reply only to the newsgroup

iAnywhere Developer Community : http://www.ianywhere.com/developer
iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals
ASA Patches and EBFs : http://downloads.sybase.com/swd/base.do
-> Choose SQL Anywhere Studio
-> Set filter to "Display ALL platforms IN ALL MONTHS"


<Timrek> wrote

Quote:
I need the equivalent function for ASA :

ORACLE : translate function
ASA : ??????????? what is the equivalent function.
I need to translate accent caracters.



Reply With Quote
  #5  
Old   
Bob
 
Posts: n/a

Default Re: ORACLE TRANSLATE function VS ASA ?????? function - 04-04-2006 , 07:02 PM



What about the REPLACE() function?

REPLACE ( original-string, search-string, replace-string )

Bob


"Daniel Coppersmith" <daniel_AT_infrontsoftware_DOT_com (AT) N0SPAM (DOT) com> wrote in
message news:4432d9e5$1 (AT) forums-2-dub (DOT) ..
Quote:
takes characters in one string and replaces them 1:1 for those in another.


select ('abba', 'abc', 'def' ) from dual

returns deed because the first "a" is the first character in "abc" and
it's replaced with the first character in "def" which is a "d")







Sybase newsgroups wrote:
In article <4432e0ea.513.1681692777 (AT) sybase (DOT) com>, Timrek says...
I need the equivalent function for ASA :

ORACLE : translate function
ASA : ??????????? what is the equivalent function.
I need to translate accent caracters.

We might be able to help more if we knew the translate function does?




Reply With Quote
  #6  
Old   
Andrew Giulinn
 
Posts: n/a

Default Re: ORACLE TRANSLATE function VS ASA ?????? function - 04-04-2006 , 08:20 PM



Just to clarify: I assume you mean

select TRANSLATE('abba','abc','def') from dual

"Daniel Coppersmith" <daniel_AT_infrontsoftware_DOT_com (AT) N0SPAM (DOT) com> wrote in
message news:4432d9e5$1 (AT) forums-2-dub (DOT) ..
Quote:
takes characters in one string and replaces them 1:1 for those in another.


select ('abba', 'abc', 'def' ) from dual

returns deed because the first "a" is the first character in "abc" and
it's replaced with the first character in "def" which is a "d")







Sybase newsgroups wrote:
In article <4432e0ea.513.1681692777 (AT) sybase (DOT) com>, Timrek says...
I need the equivalent function for ASA :

ORACLE : translate function
ASA : ??????????? what is the equivalent function.
I need to translate accent caracters.

We might be able to help more if we knew the translate function does?




Reply With Quote
  #7  
Old   
Daniel Coppersmith
 
Posts: n/a

Default Re: ORACLE TRANSLATE function VS ASA ?????? function - 04-04-2006 , 08:49 PM



Yes. As in all my software, I have implemented the elusive RTUM
technology in Oracle as well.

All the software can Read The Users' Mind. As such, I have to type
much much less.

In fact, often times, entire applications are written as:


// Do it.

Neat technology!









Andrew Giulinn wrote:
Quote:
Just to clarify: I assume you mean

select TRANSLATE('abba','abc','def') from dual

"Daniel Coppersmith" <daniel_AT_infrontsoftware_DOT_com (AT) N0SPAM (DOT) com> wrote in
message news:4432d9e5$1 (AT) forums-2-dub (DOT) ..
takes characters in one string and replaces them 1:1 for those in another.


select ('abba', 'abc', 'def' ) from dual

returns deed because the first "a" is the first character in "abc" and
it's replaced with the first character in "def" which is a "d")







Sybase newsgroups wrote:
In article <4432e0ea.513.1681692777 (AT) sybase (DOT) com>, Timrek says...
I need the equivalent function for ASA :

ORACLE : translate function
ASA : ??????????? what is the equivalent function.
I need to translate accent caracters.
We might be able to help more if we knew the translate function does?




Reply With Quote
  #8  
Old   
Andrew Giulinn
 
Posts: n/a

Default Re: ORACLE TRANSLATE function VS ASA ?????? function - 04-04-2006 , 11:21 PM



Beautiful - when are you free to help out with our project?

"Daniel Coppersmith" <daniel_AT_infrontsoftware_DOT_com (AT) N0SPAM (DOT) com> wrote in
message news:44331419$1 (AT) forums-1-dub (DOT) ..
Quote:
Yes. As in all my software, I have implemented the elusive RTUM
technology in Oracle as well.

All the software can Read The Users' Mind. As such, I have to type much
much less.

In fact, often times, entire applications are written as:


// Do it.

Neat technology!









Andrew Giulinn wrote:
Just to clarify: I assume you mean

select TRANSLATE('abba','abc','def') from dual

"Daniel Coppersmith" <daniel_AT_infrontsoftware_DOT_com (AT) N0SPAM (DOT) com> wrote
in message news:4432d9e5$1 (AT) forums-2-dub (DOT) ..
takes characters in one string and replaces them 1:1 for those in
another.


select ('abba', 'abc', 'def' ) from dual

returns deed because the first "a" is the first character in "abc" and
it's replaced with the first character in "def" which is a "d")







Sybase newsgroups wrote:
In article <4432e0ea.513.1681692777 (AT) sybase (DOT) com>, Timrek says...
I need the equivalent function for ASA :

ORACLE : translate function
ASA : ??????????? what is the equivalent function.
I need to translate accent caracters.
We might be able to help more if we knew the translate function does?




Reply With Quote
  #9  
Old   
Breck Carter [Team iAnywhere]
 
Posts: n/a

Default Re: ORACLE TRANSLATE function VS ASA ?????? function - 04-05-2006 , 09:22 AM



On 4 Apr 2006 20:21:11 -0800, "Andrew Giulinn"
<NO.oscar.SPAM (AT) NOSPAM (DOT) dsa.com.au> wrote:

Quote:
Beautiful - when are you free to help out with our project?
He already has... go have a look, it's all done



--
Breck Carter [Team iAnywhere]
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
The book: http://www.risingroad.com/SQL_Anywhe...ers_Guide.html
breck.carter (AT) risingroad (DOT) com


Reply With Quote
  #10  
Old   
Andrew Giulinn
 
Posts: n/a

Default Re: ORACLE TRANSLATE function VS ASA ?????? function - 04-05-2006 , 10:13 PM



Good grief - you're right!

See you then - I'm off to the pub.

I assume your work comes with 24/7 support Daniel?

"Breck Carter [Team iAnywhere]" <NOSPAM__bcarter (AT) risingroad (DOT) com> wrote in
message news:h1d732lg8ep5a6a2h1vdneli98oe0b5u5i (AT) 4ax (DOT) com...
Quote:
On 4 Apr 2006 20:21:11 -0800, "Andrew Giulinn"
NO.oscar.SPAM (AT) NOSPAM (DOT) dsa.com.au> wrote:

Beautiful - when are you free to help out with our project?

He already has... go have a look, it's all done



--
Breck Carter [Team iAnywhere]
RisingRoad SQL Anywhere and MobiLink Professional Services
www.risingroad.com
The book:
http://www.risingroad.com/SQL_Anywhe...ers_Guide.html
breck.carter (AT) risingroad (DOT) com



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.