随笔分类 - Database
How to Create/Drop Database, Table
摘要:SHOW ALL DATABASES SHOW {DATABASES | SCHEMAS} [LIKE 'pattern' | WHERE expr]SHOW DATABASES lists the databases on the MySQL server host. CREATE DATABASECREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db...
阅读全文
mysqladmin
摘要:The mysqladmin program is used to administrate various aspects of the MySQL database server. Using it, the administrator can perform tasks such as: create and delete databases, shutdown the database s...
阅读全文
HOW to login MYSQL, Help, and Select Database
摘要:LOGIN In CMD: >>mysql.exe –uroot –p >>Enter Password: ******** >>mysql> It’s like this:mysql -uusername -ppassword –hhostAttention: There is no blank after the parameters: -u, -p, –hThe MySQL client ...
阅读全文
MySQL workbench How to create a new model
摘要:->Create new EER (Extended Entity-Relationship) Model ->Click “+” at toolbar of Physical Schemata -> Double click “Add Table” -> Edit and Add columns -> Menu[Model] —[Create Diagram from Catalog O...
阅读全文
C# 读取 Access
摘要:通过using语句实现非GC资源的自动回收。 还需要有try…catch…之类的异常检测语句,检测file.exist。 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.OleDb; using Syste...
阅读全文
CRecordset类
摘要:CRecordset类 CRecordset类代表一个记录集.该类是MFC的ODBC类中最重要、功能最强大的类。10.5.1 动态集、快照、光标和光标库 在多任务操作系统或网络环境中,多个用户可以共享同一个数据源。共享数据的一个主要问题是如何协调各个用户对数据源的修改。例如,当某一个应用改变了数据源中的记录时,别的连接至该数据源的应用应该如何处理。对于这个问题,基于MFC的ODBC应用程序可以采取几种不同的处理办法,这将由程序采用哪种记录集决定。 记录集主要分为快照(Snapshot) 和动态集(Dynaset)两种,CRecordset类对这两者都支持。这两种记录集的不同表现在它们对别...
阅读全文
《SQL入门经典》学习笔记
摘要:RDBMS(relational database management system):关系型数据库管理系统很多公司的趋势是从客户端/服务器模式(Client/Server)转移到Web模式。Client/Server模式与Browser/Server模式构成了目前最流行的两大软件体系结构。C/S模式中,服务器端一般使用高性能计算机,并配合Oracle等大型数据库;客户端需要安装专门的软件。在这种结构下,可以再服务器端和客户端平衡服务处理量,但因为客户端安装了专门的软件,对平台有一定的限制要求,安装和维护的工作量大。ANSI(American National Standards Insti
阅读全文
浙公网安备 33010602011771号