SQL statements in ASP - beware the apostrophe
One of the most common problems encountered in ASP when using SQL statements, is the existence of an apostrophe (i.e. single quotation mark) in an SQL query string. I say problem because SQL Server (or any T-SQL database server) interprets single quotes as the representation of a string value - that is, as delimiters. Therefore to avoid conflict between single quote delimiters and apostrophes we need to let ASP know that we want an actual apostrophe and not the end of the string. My short tutorial will show you how.....so let's get started
- Visit Site:
- SQL statements in ASP - beware the apostrophe
- Filed in:
-
ASP / Tutorials & Tips / Development
- Platforms:
-
- Databases:
-
- Date Added:
- Aug 15, 2008
- Last Updated:
- Jan 28, 2009
License and Pricing Information
Freeware
Price: $0.00 USD
| Publisher site visits: | 250 |
|---|---|
| Average rating: | 0.00 |
| Total ratings: | 0 |
Publisher Info
- Author:
- George Grubar
Other listings by this publisher
- How to crop an image using Javascript and ASP
- How to create your own AJAX drop-down menu
- Select and Display database records in ASP.NET
- Build a Drop Down menu using an ASP Recordset
- How to delete database record in ASP - 3 simple steps
- How to update a database record in ASP
- How to validate an email address using ASP
- Update records in ASP.NET using a Repeater
