Will existing DAO code work against a SQL Server?

后端 未结 4 1410
清歌不尽
清歌不尽 2021-01-03 08:14

If I transfer data from a Access MDB into a SQL Server, will DAO code in a VB app work against the SQL Server.

I realise there will need to be changes to the initial

4条回答
  •  有刺的猬
    2021-01-03 08:19

    Not sure if this applies to your scenario, but the SQL syntax in Access (at least the older versions) have slightly different syntax from SQL Server e.g the wildcard characters for LIKE in the old, old versions of Access use * instead of the % used by SQL Server.

    If you use SQL queries in your VB app, you might need to ensure that all SQL statements are SQL Server syntax-compliant.

    I mentioned this mainly because you mentioned DAO and VB (I'm assuming VB 5/6 rather than VB.NET) which are rather old technologies and the Access MDB might be in a similiarly old format.

提交回复
热议问题