The syntax differences between SQL Server and access are listed below to facilitate Query when you change the program database.
Date separator number
Access: pound sign (#)
SQL Server: marker (')
BooleanConstant
Access: True, false; On, off; yes, no; INTEGER:-1 (true), 0 (false ).
SQL Server: INTEGER: 1 (true), 0 (false)
String connection
Access: and (&)
SQL Server: plus sign (+)
Wildcard
Access: The asterisk (*) matches zero or more characters.
Question mark (?) Matches a single character.
Exclamation point (!) This means that the instance is not in the list.
The pound sign (#) indicates a single number.
SQL Server: percent sign (%) matches zero or more characters.
The underscore (_) matches a single character.
The prefix (^) indicates that it is not in the list.
No character corresponding to the pound character.
Drop Index
Access: drop index <index Name> On <Table Name>
SQL Server: drop index <Table Name>. <index Name>
Add an ID column to a table
Access: alter table <Table Name> Add <column Name> counter (1, 1)
SQL Server: ALTER TABLE <Table Name> Add <column Name> bigint identity (1, 1) not null