Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone using the _crypt.vcx library?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01182916
Message ID:
01182917
Views:
16
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform