问题: 这里只解决一个问题,到底什么是Access? 设计一个数据库管理系统,用access 在access里面设计好表,查询,然后再用vb做窗体做连接,跟在access里面设计窗体,报表 再调VBA来编代码有什么区别吗 我们是分成几个组做的,但其他人好像没这个意识,我觉得直
问题:
这里只解决一个问题,到底什么是Access?
设计一个数据库管理系统,用access
在access里面设计好表,查询,然后再用vb做窗体做连接,跟在access里面设计窗体,报表 再调VBA来编代码有什么区别吗
我们是分成几个组做的,但其他人好像没这个意识,我觉得直接在access里把一切都作好再调用 vb编码好像 更容易一点
我不明白,MDB到底是什么,假如说SQL是一个后台数据存储库,那ACCESS既是后台又是前台,这么说,SQL和ACCESS同样都可以被调用,那为什么还要SQL呢,ACCESS不是完全可以代替SQL了吗?
MDB 格式文件能否脱离 ACCESS 环境,在未装 ACCESS 的机器上被其他软件调用?
回答:
1、Access是 Microsoft Office 的一个组件,一个前后台结合的数据库“软件”。
也就是说Access既拥有用户界面(VB可以用来开发用户界面);也拥有逻辑、流程处理,即VBA语言(VB也可以用来做逻辑处理);又可以存储数据,即在“表”中存储数据。而所有这些都存储在一个 MDB 格式的文件中(当然,也可以是 MDE 等格式)。
回答上述问题: Access里面设计好界面,VB中必须建立ACCESS.APPLICATION才能调用,也就是说这基本是VBA编程,而不是VB编程。
2、Access不是一种存储格式,是一种软件。
请大家严格区分 Access 软件与 MDB 格式。以下的语句是错误的:“我用VB来开发MIS系统,数据存储在ACCESS中。”。VB下调用 MDB 格式(或 JET DB)只是调用一种格式的文件而已,并没有调用到 Access,其实官方说法叫 “VB 的 JET 应用”。另外,MDB 格式的文件也可以被其他开发工具,比如 DELPHI / PB / C / PHP / ASP / CGI / C# / J# / JAVA / VB.NET / C.NET.... 调用。但是被调用的只是 MDB 文件,很多 ACCESS 软件所具有的功能,这些开发工具是无法调用的。
也正因为如此,类似这样的问题“我的系统中没有安装 OFFICE ACCESS,是否能用 ASP 调用 ACCESS 数据库呢?”,答案是:当然可以,其实你根本没有使用 ACCESS 这个软件,只是使用了 MDB 这种数据库格式,而这种格式只要系统中有 OLE DB 引擎就可以支持。WINDOWS 98 以及以上版本的 WINDOWS 操作系统都内置支持 OLE DB 引擎。
3、Access 中的一些对象可以被 VB 调用,但是必须在调用的机器上安装 ACCESS 这个软件(COPY一个MDB文件是不够的)或者安装额外的 ActiveX 控件
4、这里指的纯 ACCESS 环境就是指没有使用任何其他软件,直接使用 ACCESS 界面以及存储格式的环境,也就是不能脱离 ACCESS 运行时的环境。上面说的 ASP + MDB / VB + MDB 等等都不是所谓的“纯 ACCESS 环境”。因此上述环境中出现的问题基本与 ACCESS 这个软件毫无关系。
5、“我不明白,MDB到底是什么”,回答上述问题:MDB 是一种文件格式,其中的数据以特定方式组织起来,而 ACCESS 这种软件的默认存储格式正好是 MDB
6、“假如说SQL是一个后台数据存储库,那ACCESS既是后台又是前台”,
回答上述问题: SQL 是“结构化查询语言”,请不要与 SQL SERVER 这种数据库软件混淆。SQL SERVER 是一种数据库软件,但是他没有“最终用户”界面,只有适合于开发者使用的界面,开发者可以使用其他编程工具来开发界面,比如用 VB VB.NET 等;而 ACCESS 这个软件本身就具有开发者使用的界面和适合于“最终用户”的界面,也就是我们通常说的前后台结合。
7、“那ACCESS既是后台又是前台,这么说,SQL和ACCESS同样都可以被调用,那为什么还要SQL呢,ACCESS不是完全可以代替SQL了吗”,
回答上述问题:请先参考回答3,ACCESS 的功能和 SQL SERVER 不同所以并不冲突,具体有什么不同请自行参考 ACCESS 的“帮助”以及 SQL SERVER 的“联机丛书”
8、“MDB 格式文件能否脱离 ACCESS 环境,在未装 ACCESS 的机器上被其他软件调用?”
回答上述问题:可以,这是因为有 JET DB 的支持,而 WINDOWS 98 以上默认就内置了 JET DB ,就像 98 以上的机器默认就可以浏览网页,而 windows 95 的机器必须安装浏览器才能浏览网页一个道理。
本文作者:未知
The steps for upgrading MySQL database include: 1. Backup the database, 2. Stop the current MySQL service, 3. Install the new version of MySQL, 4. Start the new version of MySQL service, 5. Recover the database. Compatibility issues are required during the upgrade process, and advanced tools such as PerconaToolkit can be used for testing and optimization.

MySQL backup policies include logical backup, physical backup, incremental backup, replication-based backup, and cloud backup. 1. Logical backup uses mysqldump to export database structure and data, which is suitable for small databases and version migrations. 2. Physical backups are fast and comprehensive by copying data files, but require database consistency. 3. Incremental backup uses binary logging to record changes, which is suitable for large databases. 4. Replication-based backup reduces the impact on the production system by backing up from the server. 5. Cloud backups such as AmazonRDS provide automation solutions, but costs and control need to be considered. When selecting a policy, database size, downtime tolerance, recovery time, and recovery point goals should be considered.

MySQLclusteringenhancesdatabaserobustnessandscalabilitybydistributingdataacrossmultiplenodes.ItusestheNDBenginefordatareplicationandfaulttolerance,ensuringhighavailability.Setupinvolvesconfiguringmanagement,data,andSQLnodes,withcarefulmonitoringandpe

Optimizing database schema design in MySQL can improve performance through the following steps: 1. Index optimization: Create indexes on common query columns, balancing the overhead of query and inserting updates. 2. Table structure optimization: Reduce data redundancy through normalization or anti-normalization and improve access efficiency. 3. Data type selection: Use appropriate data types, such as INT instead of VARCHAR, to reduce storage space. 4. Partitioning and sub-table: For large data volumes, use partitioning and sub-table to disperse data to improve query and maintenance efficiency.

TooptimizeMySQLperformance,followthesesteps:1)Implementproperindexingtospeedupqueries,2)UseEXPLAINtoanalyzeandoptimizequeryperformance,3)Adjustserverconfigurationsettingslikeinnodb_buffer_pool_sizeandmax_connections,4)Usepartitioningforlargetablestoi

MySQL functions can be used for data processing and calculation. 1. Basic usage includes string processing, date calculation and mathematical operations. 2. Advanced usage involves combining multiple functions to implement complex operations. 3. Performance optimization requires avoiding the use of functions in the WHERE clause and using GROUPBY and temporary tables.

Efficient methods for batch inserting data in MySQL include: 1. Using INSERTINTO...VALUES syntax, 2. Using LOADDATAINFILE command, 3. Using transaction processing, 4. Adjust batch size, 5. Disable indexing, 6. Using INSERTIGNORE or INSERT...ONDUPLICATEKEYUPDATE, these methods can significantly improve database operation efficiency.

In MySQL, add fields using ALTERTABLEtable_nameADDCOLUMNnew_columnVARCHAR(255)AFTERexisting_column, delete fields using ALTERTABLEtable_nameDROPCOLUMNcolumn_to_drop. When adding fields, you need to specify a location to optimize query performance and data structure; before deleting fields, you need to confirm that the operation is irreversible; modifying table structure using online DDL, backup data, test environment, and low-load time periods is performance optimization and best practice.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Dreamweaver CS6
Visual web development tools

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Atom editor mac version download
The most popular open source editor

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.
