简体   繁体   English

将 MS Access Web 应用程序转换为 SQL Server Web 应用程序

[英]Converting an MS Access web app to an SQL Server web app

I have an ASP.Net web application that runs off of Access databases.我有一个运行 Access 数据库的 ASP.Net Web 应用程序。 I want to convert the application to run off of SQL Server.我想将应用程序转换为运行 SQL Server。 Will this be a simple process to do?这是一个简单的过程吗? I am thinking that it only involves changing the queries that run on an Access format so they can run on an SQL Server.我认为它只涉及更改以 Access 格式运行的查询,以便它们可以在 SQL Server 上运行。

Is it that simple or is there be more to it?是这么简单还是还有更多?

  1. Migrate DB to SQL Server with MS SQL Server Migration Assistant for Access使用 MS SQL Server 迁移助手将 DB 迁移到 SQL Server 以进行访问
  2. Review migrated DB and verify that tables have been migrated and that column data types have been set properly.查看迁移的数据库并验证表是否已迁移且列数据类型已正确设置。
  3. Modify connection string in web.config so that it is now pointing to the SQL Server DB修改 web.config 中的连接字符串,使其现在指向 SQL Server DB
  4. Review your query code and modify as necessary.查看您的查询代码并根据需要进行修改。 The T-SQL used in SQL Server will be different from the JET SQL used in Access. SQL Server 中使用的 T-SQL 将与 Access 中使用的 JET SQL 不同。 Do a search for Quick-Access-JET-SQL-to-T-SQL-Cheatsheet and you'll find a list of differences.搜索 Quick-Access-JET-SQL-to-T-SQL-Cheatsheet,您将找到差异列表。

Microsoft SQL Server Migration Assistant for Access 用于 Access 的 Microsoft SQL Server 迁移助手

SQL Server Connection Strings SQL Server 连接字符串

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM