Php generates mysql Data Dictionary and phpmysql dictionary
It is necessary to generate a data dictionary from the mysql database to facilitate viewing database tables and fields. You o
Anyone familiar with Oracle knows that when the Oracle database cannot be started normally, you can use dul or other third-party tools to directly read data in the data file to save data and reduce losses, if the innodb engine is used in mysql, related records can be extracted if the
: Strict_trans_tables and Strict_all_tables. Strict_trans_tables enforces strict patterns on the tables that support transactions, and Strict_all_talbes performs strict mode on all tables.SET [global| SESSION] sql_mode=' strict_trans_tables '; MySQLSET [global| SESSION] sql_mode=' strict_all_tables ';3.ANSI mode:Change the syntax and behavior of the operation to make it more appropriate for standard SQL.Third, the data dictionary:A
CLUSTERID-------------------------------------------------AAA TABLEAAAA TABLEMethod 3: Use the data dictionary user_tables.SQL> select table_name from user_tables where rownum TABLE_NAME------------------AAAAAAAView table information in a specified databaseFor example, query the table in the database named mysql.Mysql> show tables from mysql;+ ------------------
The software mentioned below can be downloaded in the following link.You can use the following action to record the video to complete the relevant operation.Use PowerDesigner and pdmreader to reverse generate MySQL data dictionary. Wmv_ free high speed download | Baidu Cloud Network disk-Share UnlimitedHttp://pan.baidu.com/s/1bnvrObdDatabase reverse generation
Php generates a mysql database data dictionary. Php generates the mysql database data dictionary program code. the specific code is as follows :? Phpheader (Content-type: texthtml; charsetutf-8); ** php generates
The new feature of MySQL5 (data dictionary) has become more and more popular because of the use of metadata (metadata is the data about how to database, mySQL5 also designs a dedicated database in the product. the fixed name of this database is information_schema, which emerged as a central data
Label:Because the project development uses the more table, in order to obtain the data dictionary quickly, obtains the table structure and the table annotation through the PHP code way. The code is as follows: PHP/** * Generate MySQL data dictionary*/
Header("content-type:te
where TABLE_SCHEMA= ' Guifan ' or table_schema= ' test '
In the top right corner of the query results page, there is a button to export the function, click to select a variety of export formats, as shown in
Follow the instructions to export
OK, this is the data dictionary I want.
forget, there is no relationship, the operation of the following software will have a corresponding hint.3rd Step: Use Pdmreader software.Create a new project (in fact, there is a project by default), and then import the data dictionary, this button is very easy to find, I can not. Then select Import *.PDM file from PowerDesigner.I generally choose to "export the dicti
It is necessary to generate a data dictionary from MySQL database, which can be used to easily view database tables, fields and make a data dictionary. This article mainly for you in detail the PHP generated MySQL
How to obtain MSSQLServerOracelAccess data dictionary information? what if you forget the name of a database or table, or the structure of a given table (for example, what is its column name? MySQL solves this problem by providing several statements about the database and its supported tables.
You have seen show databases, which lists the DATABASES managed by
Sometimes we get other people's database, but there is no data dictionary, this PHP applet to help you easily solve.
Code is found on the web, of course, this code is only generated data dictionary, view, stored procedures and so on is wood.
$v) {$sql = ' SELECT * from '; $sql. = ' Information_schema. TABLES ';
This is a little trick.Use MySQL of the Information_schema in the COLUMNS Tableand the Navicat Quick Export Data dictionary with export function increatetemporarytable ' COLUMNS ' ( ' table_catalog ' varchar (+) NOT Nulldefault ', ' Table_schema ' varchar (+) notnulldefault ', ' table_name ' varchar (NOTNULLDEFAULT ', ' column_name ' varchar ( notnulldefault ',
Sometimes we get a database of others, but there is no data dictionary, this PHP applet to help you easily solve.
The code is found on the Internet, of course, this code is just generated data dictionary, view, stored procedures and so on is the wood Oh.
-->$v) {$sql = "select * from"; $sql. = "Information_schema.
Original: Using PowerDesigner and Pdmreader to reverse generate MySQL data dictionaryThe software mentioned below can be downloaded in the following link.You can use the following action to record the video to complete the relevant operation.Use PowerDesigner and pdmreader to reverse generate MySQL data
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.