Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFPOLEDB and UDF
Message
 
À
09/02/2005 12:03:03
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
00984375
Message ID:
00985289
Vues:
46
I created a DBC and added a stored procedure
FUNCTION NORSK(x)
RETURN CHRTRAN(x,ANSITOOEM('ÆØÅæøå'),'[\][\]')
then I could use a free table and index on this function.
open database data1
set collate to "machine"
use mytable
index on Norsk(name) tag name
I have never used stored procedures in DBC's, so this was new to me.




Aunes? We have many Aune here. Olav Egil Aune from Lillehammer and Per Aune from Røros.

Einar

>>Yes, this is just the same thing. You like to map the Ýý to II where I would say Yy. But how can you index a free table on TrMatch() using OLEDB ?
>
>I think the only hope of indexing on a UDF would be to use a Stored procedure. You might try creating a database container with your UDF, and use a connection string that points to that DBC. Then try to ExecuteNonQuery against the table using the UDF. This is a WAG, I admit.
>
>BTW, do you know any Aunes? <g>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform