Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Necesito saber
Message
 
À
22/08/2004 12:38:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00935323
Message ID:
00935712
Vues:
16
O Puedes usar la funcion CHARINDEX.

Ej.

Select * from Tabla where CHARINDEX(textoabuscar,CampoaBuscar)>0

Enmanuel

>>necesito saber si el comodin $ que se usa en el sql que maneja vfp se puede usar en el sql server y como.
>>
>>el comodin $ "utilizado para buscar un string en una cadena no importa el lugar donde se encuentre"

>
>En T-SQL: "LIKE" y "%" para siginificar multiples caracteres.
>
>SELECT t.title_id, t.title
>FROM authors a, titleauthor ta, titles t
>WHERE a.au_id = ta.au_id AND ta.title_id = t.title_id
>   AND a.au_lname LIKE @au_lname + '%'
>
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform