I am building up a command that in the end looks like this:
INSERT INTO ApiAuditLog (ID, Action, Ip, Parameters, Outcome) VALUES ('9', 'GetDocumentIndexes', '127.0.0.1', '?group=AuthLetters&q=%7BServiceCenter,NC,eq%7D;%7Bmem_name,JOHN,like%7D&maxHits=14', '401');
This inserts fine through an editor like DBVisualizer or TOAD.
But within my .Net program,
on
cmd.ExecuteNonQuery();
or
ExecuteScalar();
it gives - invalid character error?
Is Action being a keyword something to do with it?