Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Link Server + VFP Data
Message
De
27/05/2005 00:34:51
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Import/Export
Divers
Thread ID:
01017988
Message ID:
01018010
Vues:
20
yes serg i use the OLEDB driver for VFP 9.

Still this code has an error result
Select   *
  FROM OPENQUERY( LNK_VINS,
     'SELECT CAST(EVL(chkdate, NULL) AS date) 
        FROM paytran where !deleted()')
order by 1
-------------
Server: Msg 8114, Level 16, State 10, Line 1
Error converting data type DBTYPE_DBDATE to datetime.
I serg resolve it but i think it not a good idea. I really what cause the error.
Select *
FROM OPENQUERY( LNK_VINS,
   'SELECT 
	   ALLTRIM(STR(YEAR(chkdate))) + "-" + ALLTRIM(STR(MONTH(chkdate))) +"-" + ALLTRIM(STR(Day(chkdate))) as chkDate FROM paytran where !deleted() ') 
Roses are #FF0000 Violets are #0000FF all my base are belong to you
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform