المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Special character ` in Visual Studio generated queries and how to remove it



C# Programming
08-27-2009, 12:06 AM
We have a DataSet with Table Adapters built for MSAccess using OLEDB. We are using Visual Studio 2005 and .Net 2.0.
When the designer creates insert, update and delete queries it encloses the table name and field names with a ` (ASCII char 96).

For example:

INSERT INTO `table` (`col1`, `col2`, `col3`) values (...)

Is there a reason for this character? Assuming it's for escape purposes, is there a setting to make Visual Studio use another character, eg "[" or "]"?
If there is no setting, is there a way to intercept the way the designer creates these queries?