Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transferring VFP memo to SQL...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00888843
Message ID:
00889081
Vues:
16
Sylvain,

The parameters aren't evaluated but passed to ODBC. For SQL Server sp_executesql system stored procedure used in this case as result.

>Hi Sergey,
>
>I'm not knowing much in SPT but does this parameter tells SPT to evaluate the variable/field ?
>
>Thanks
>
>>>Transferring some records from VFP to SQL 2000, using SQL pass through. The record contains a memo field with customer service notes. Some of the notes contain ‘---‘ and carriage returns and line feeds. How can I transfer this using SQL pass through?
>>
>>You can use SPT parameters (?).
TEXT TO lcSql TEXTMERGE NOSHOW
>>INSER INTO mytable (..., sqltext,...) VALUES (..., ?mytable.mymemo,...)
>>ENDTEXT
>>lnResult = SQLEXEC(lnConn, lcSql)
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform