Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
INSERT INTO cannot be parameterized?
Message
From
16/09/2003 23:10:46
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00829582
Message ID:
00829719
Views:
25
>However, I want to give the same expression to SQLEXEC()... won't that need the "?"s?
>
>lnID = 5
>lcDate = {^ 2003/06/01}
>lcName = [Johny "Shortie" Smith's kid, ]+"[25 yrs old]"
>SQLEXEC( nConnHnd, "INSERT INTO MyTable ( TableID, Name ) VALUES ( ?lnID, ?lcName, ?lcDate )" )
>
>The parameterization should handle encoding so that string concatination can be avoided.


You can't pass three values to two fields!

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform