Jump to content

Question


SSScout

Recommended Posts

I tried to "spin off" a new thread, but got this in reply:

 

 

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

 

[Microsoft][ODBC SQL Server Driver]

Line 1: Incorrect syntax near 'em'. 

 

/forums/post_library.asp, line 91

 

Happened more than once. Waited. Tried changing the title, the message, same thing.

 

?Que?

 

 

 

Link to comment
Share on other sites

 

Apostrophe/single-quote as in:

What's up with Jimmy's tent?

 

Double quotes are OK.

 

As a (possible) workaround, try using two single quotes instead of one where desired to see if that works:

What''s up with Jimmy''s tent?

 

Depending upon what's going on behind the scenes with the parsing and database statements, the two single-quotes may magically turn into a single one.

 

The technical reason for the glitch is that a single quote is used as a string delimiter in SQL Server database statements and if code is not in place to look for and properly deal with single quotes in certain fields, then single quotes will mess up the database command used to create the topic.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...