DOCUMENT:Q136018 10-MAR-2000 [foxpro] TITLE :PRB: "Incorrect Syntax Near 'Like'" ODBC Error PRODUCT :Microsoft FoxPro PROD/VER:WINDOWS:3.0 OPER/SYS: KEYWORDS: ====================================================================== ------------------------------------------------------------------------------- The information in this article applies to: - Microsoft Visual FoxPro for Windows, version 3.0 ------------------------------------------------------------------------------- SYMPTOMS ======== The following error can occur when updating data from a memo field in a remote view to a SQL Server database table: Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server] Incorrect syntax near 'Like.' CAUSE ===== You are using the 16- or 32-bit 2.0 SQL Server ODBC drivers in Windows for Workgroups or Windows NT. The error occurs because the 2.0 ODBC drivers map the memo field incorrectly to the back end data source. NOTE: This is just one of several possible reasons for this error. WORKAROUND ========== There is no workaround under Windows version 3.11. However, if you are using Windows NT version 3.51, you can install the Windows 95 ODBC drivers. This will upgrade the 2.0 ODBC drivers to the 2.5 version. STATUS ====== This behavior is by design. Additional query words: VFoxWin connectivity text memo convert ====================================================================== Keywords : Technology : kbVFPsearch kbAudDeveloper kbVFP300 Version : WINDOWS:3.0 Issue type : kbprb ============================================================================= THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Copyright Microsoft Corporation 2000.