![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
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... 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 |
#12
| |||
| |||
|
|
You betcha! That was automated too and is available as an add on package dubbed "RTFM". ![]() Andrew Giulinn wrote: 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... 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 |
#13
| |||
| |||
|
#14
| |||
| |||
|
|
Would this help? create function dbo.translate (str long varchar, orig long varchar, repl long varchar ) returns long varchar begin declare i int; declare lorig int; declare lrepl int; declare rslt long varchar; if str is null or orig is null or repl is null then return null end if; set lorig = length( orig ); set lrepl = length( repl ); if lorig <> lrepl then return null end if; set i = 1; set rslt = str; lp: loop if i > lorig then leave lp end if; set rslt = replace( rslt, substr(orig,i,1), substr(repl,i,1) ); set i = i + 1; end loop; return rslt end -- Chris Keating Sybase Adaptive Server Anywhere Professional Version 8 ************************************************** ************************** |
|
Sign up today for your copy of the SQL Anywhere Studio 9 Developer Edition =and try out the market-leading database for mobile, embedded and small to medium sized business environments for free! http://www.ianywhere.com/promos/deved/index.html ************************************************** ************************** |
|
iAnywhere Solutions http://www.iAnywhere.com ** Please only post to the newsgroup ** Whitepapers can be found at http://www.iAnywhere.com/developer ** EBFs can be found at http://downloads.sybase.com/swx/sdmain.stm ** Use Case Express to report bugs http://case-express.sybase.com ************************************************** ************************** |
![]() |
| Thread Tools | |
| Display Modes | |
| |