Home  >  Article  >  Database  >  Summarize the points to note about databases and tables

Summarize the points to note about databases and tables

零下一度
零下一度Original
2017-06-15 15:07:03945browse

Create database Create a database that saves employee information create database employees; Other related commands show databases; View all current databases use employees; "Use" a database to make it the current database naming rules The database name must not exceed 30 characters, and the variable name is limited to 29 characters Must only contain A–Z, a–z, 0–9, _63 characters in total You cannot leave spaces between characters in the object name Must not have the same name as other user-defined objects You must ensure that your fields do not conflict with reserved words, database systems or common methods Maintain consistency in field names and types. Be sure to ensure consistency when naming fields and specifying data types for them. If

1. MySQL database, table management, database addition, deletion, modification and query

Summarize the points to note about databases and tables

Introduction: You must ensure that your fields do not conflict with reserved words, database systems or common methods. Keep field names and types consistent. Be sure to ensure consistency when naming fields and specifying data types for them. If the data type is an integer in one table, don't change it to a character type in another table

2. MySQL - Query the specified database, Does the table exist

Summarize the points to note about databases and tables

Introduction: MySQL - Sample code to query whether the specified database and table exist , if necessary, please refer to

3. Several problems encountered when using mysql

Introduction: First MySQL is not visual and can be operated through the command line, including creating databases, tables, adding data, etc. Wouldn't that be very inconvenient?

4. Create dynamic MSSQL database tables

Introduction: The following is to use SQL statements to create databases, tables, and storage Procedures, views, indexes, rules, methods to modify tables, view data, etc.

5. Chapter 3 SQL Server Data Management

Introduction: From the beginning of this chapter, you will be exposed to SQL statements The use of , first introduces the use of SQL statements for data insertion, modification and deletion operations. 3.1 Introduction to SQL When performing data management, if every time you create a database, table or read data from the database, you need to do it manually in SQL Server Management Studio. Not only will the management be inconvenient, but the storage will also be

6. Chapter 1 SQL Server Database Basics

Introduction: Database (Database) technology is one of the technologies that program developers must master. Survey data shows that more than 70% of current application software needs to use a database system. That is to say, most application systems need to classify, store and retrieve databases. This chapter will introduce the basic operations of SQL Server database, such as establishing databases, tables, and table operations

[Related Q&A recommendations]:

php - Mysql development database naming convention issues

Batch management of mysql database issues

The above is the detailed content of Summarize the points to note about databases and tables. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn