Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Link Server + VFP Data
Message
From
27/05/2005 00:34:51
 
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
01017988
Message ID:
01018010
Views:
19
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform