Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using > in SQL Select
Message
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01412630
Message ID:
01412631
Vues:
48
>Hi,
>
>What should I use in the SQL Select (from VFP) that has ">" between two fields or field expressions. For example, I get error when using the following:
>
>
>select * from mytable where (field1 > field2)
>
>
>Thank you for any suggestions.

In this particular sample the syntax is correct. Are you sure that both fields are of the same type ? What are the types of these fields, may be > is not allowed for the particular type you're trying it.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform