Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Join on different data types
Message
De
21/02/2005 17:17:05
Joel Hokanson
Services Integration Group
Bellaire, Texas, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00988924
Message ID:
00989037
Vues:
29
I am using the modify data command of the DBC and then select add remote view.

Where do I put the CAST(TableA.Vendor_number) as int

I thought I would try to change it in the JOIN tab by going to the bottom of the fields and building an expression.

I use cast( Original_ap_invoices.VENDOR_NUMBER) as int
and then hit verify and it says expression OK.

When I try to save the view it says incorrect syntax near expression ‘CAST’, expected ‘AS’

If I use cast( Original_ap_invoices.VENDOR_NUMBER as int)
then it tells me missing )


I am getting CLOSE, but close only counts in horse shoes, hand grenades and atomic bombs. With the SQL syntax it is 100% or ZERO.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform