Encoding form data for SQL Server input and output to HTML (246069)
The information in this article applies to:
- Microsoft Internet Information Services 5.0
This article was previously published under Q246069 SUMMARY
When you are working with records in a database using Microsoft Active Server Pages
(ASP) for Internet Information Services (IIS), errors may occur when the text has
not been properly formatted for creating a SQL Server clause.
For example, when you create an ASP page to store information posted from an HTML
form to a database, you may see an error message similar to the following:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error (missing operator) in query expression '<SQL Text>'.
/<path>/<filename.asp>, line <nnn>
REFERENCESMicrosoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements.
For more information about Microsoft scripting technologies, visit the Microsoft Developer Network web site:
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbinfo KB246069 kbAudDeveloper |
---|
|