Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Anyone using the _crypt.vcx library?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01182916
Message ID:
01182917
Vues:
17
You can use SPT parameters
lcPassword = ...
lcSql = "INSERT INTO mytabel (password) VALUES (?lcPassword)
lnRetVal = SQLEXEC(lnConn, lcSql)
...
>
>When I am using this library to store encrypted passwords in SQL Server, sometimes the encypted string has embedded single quotes. This screws up the INSERT command in SQL because it uses the single quotes to enclose the string. Are there work arounds to this? One was to replace the single quote with 2 single quotes, this singles to SQL Server that it is not an end of string terminator... any others?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform