Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How inserting function in SQL???
Message
De
17/03/1999 09:15:46
Larry Santos
Local Data System
Philippines
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00198513
Message ID:
00198519
Vues:
17
thanks,

could u tell me what is the function of AS in sql?

Thanks again...

>You should be able to do it exactly as in your example. You can use AS to give the result of the function a field name, like this:
>
>SELECT *, MyFunction() AS mycolumn ...
>
>VFP will probably choose the size and type of the field based on the result of myfunction() in the first row returned, so you may want to make sure the string it returns is always the same size.
>
>>Hi to all.
>>
>> Can i insert a function in SQL or select statement?
>>
>>e.g. select [field1], field[2], myfunction() from mydatabase ....
>>
>>Thanks,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform