Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Types & SQL SELECTS
Message
De
12/05/1999 08:34:33
 
 
À
11/05/1999 18:15:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00217513
Message ID:
00217746
Vues:
11
>I have a table with character values and I want
>to extract them as integers.
>
>I'm basically doing something like
>SELECT VAL( Col1) AS FstCol, VAL( Col2) AS SecCol ;
> FROM TEST1 ;
> INTO TEST2
>
>Is there a way of controling the data type of
>a column with SQL SELECTs?
>
> ...kt
something like

select 000000.00 as FstCol...
union ;
SELECT VAL( Col1) AS FstCol, VAL( Col2) AS SecCol ;
FROM TEST1 ;
INTO TEST2

Arnon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform