Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Xbase Codebase > Re: Index on an...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 4 Topic 286 of 307
Post > Topic >>

Re: Index on an Unicode field (CodeBase6.5)

by Andrew Clay <andy@[EMAIL PROTECTED] > Nov 6, 2007 at 03:49 PM

In article <1194342367.999671.27790@[EMAIL PROTECTED]
>,
 razvanprodana@[EMAIL PROTECTED]
 wrote:

> On 19 Okt., 17:29, Andrew Clay <a...@[EMAIL PROTECTED]
> wrote:
> > In article <1192797746.362900.168...@[EMAIL PROTECTED]
>,
> >
> >  razvanprod...@[EMAIL PROTECTED]
 wrote:
> > > Hi,
> >
> > > Is any possibility in CodeBase to create an index on an Unicode
field?
> >
> > > N. Prodana
> >
> > I haven't tried it, but there seems to be some source code for it in
the
> > Codebase code.
> 
> Hi,
> 
> Of course, I tried to change the source code but it looks very
> complicated because the expressions don't sup****t the unicode type.
> By example, I need to define an index like: "STRW(ID_LANGUAGE, 5,
> 0)+SUBSTRW(TEXT, 0, 100)" where ID_LANGUAGE is a numerical field and
> the TEXT is a unicode field.
> An expression like "STR(ID_LANGUAGE, 5, 0)+SUBSTR(TEXT, 0, 100)"  is
> not useful because converts the unicode text into an ANSI text.
> 
> Maybe I'm trying to find a solution on a wrong direction. Any other
> ideas?
> 
> N. Prodana

That wasn't the question you originally asked. STR and SUBSTR do not 
produce Unicode output, so yes I imagine you'll have to write the extra 
functions you need. Sorry I can't be of more help.
Andy.

-- 
Andrew Clay
 




 4 Posts in Topic:
Index on an Unicode field (CodeBase6.5)
razvanprodana@[EMAIL PROT  2007-10-19 05:42:26 
Re: Index on an Unicode field (CodeBase6.5)
Andrew Clay <andy@[EMA  2007-10-19 17:29:24 
Re: Index on an Unicode field (CodeBase6.5)
razvanprodana@[EMAIL PROT  2007-11-06 01:46:07 
Re: Index on an Unicode field (CodeBase6.5)
Andrew Clay <andy@[EMA  2007-11-06 15:49:50 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 22:15:37 CDT 2008.