K
Kanad Maitra
I am running this query from ASP into an acces database.
insert into Campaign_m values( 21, '1', "Kanad's
Test", 'N', 'N' );
It gives me this error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few
parameters. Expected 1.
However if I run this within MS Access SQL Query it runs
perfectly.
I need to save the apostrophe in the database so I can't
use single quote - 'Kanad's Test'. If I do I get this
error.
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error
(missing operator) in query expression ''Kanad's
Test', 'N', 'N' );'.
Please can anybody help me?
insert into Campaign_m values( 21, '1', "Kanad's
Test", 'N', 'N' );
It gives me this error:
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E10)
[Microsoft][ODBC Microsoft Access Driver] Too few
parameters. Expected 1.
However if I run this within MS Access SQL Query it runs
perfectly.
I need to save the apostrophe in the database so I can't
use single quote - 'Kanad's Test'. If I do I get this
error.
Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E14)
[Microsoft][ODBC Microsoft Access Driver] Syntax error
(missing operator) in query expression ''Kanad's
Test', 'N', 'N' );'.
Please can anybody help me?