So, with thirty or forty sheets, the foreground form is automatically generated. Only the generated entities and the table names in the database are regularly available. There are also operation entity classes, so I just conveys the table through
Just learning flex soon, this little example passes through the RemoteObject communication method. To achieve flex and MySQL database interaction.
1 using the test database in MySQL, the table name is admin. field in table: ID username userpwd
1. Unable to generate code using Ordesigner
Select the current *.ADMF file, and in the Properties window, make sure that the property of Custom Tool is alinqcodegenerator. If the entry is blank, please enter alinqcodegenerator manually.
Please
1. Add Field
ALTER TABLE DOCDSP Add Dspcode
CHAR (200)
2. Delete fields
ALTER TABLE table_name DROP COLUMN
column_name
3. Modify the field type
ALTER TABLE TABLE_NAME ALTER COLUMN
column_name New_data_type
4.sp_rename renamed
EXEC
SQL Server dynamic Row-column (parameterized table name, grouped column, row-column field, field value)
I. Content covered by this article (Contents)
What is involved in this article (Contents)
Background (contexts)
Implementation code (SQL
First, train of thought
Mongovue free version support MySQL import MONGO, so the idea is that SQL Server import MySQL, and then import MONGO from MySQL.
Second, prepare
1, install MySQL database (I am using Wamp, integrated mysql,phpadmin), if
I. BACKGROUND
In the performance tuning or need to understand a database table information, the most intuitive way is to list the data of all the table information, including: The number of records of the table, data capture space, index footprint,
SELECT Top 1000
O.name as table name
, I.name as index name
, i.index_id as index ID
, dm_ius.user_seeks as Search times
, Dm_ius.user_scans as scan times
, dm_ius.user_lookups as lookup times
, dm_ius.user_updates as update times
, the
Write a Perl script that is flexible enough to back up or restore.
1. Save Config.txt to C packing directory
Username:sa
password:passwd123!
Modify the contents of the document according to the actual situation
2. Executive bcp.pl
#! C:\Perl64\
ALTER DATABASE ACCP set Single_user with rollback immediate
Go
ALTER DATABASE ACCP SET emergency
Go
--See why the database is suspicious
DBCC CHECKDB (' ACCP ')
Go
---Read the newspaper what's wrong with the repair attempt
DBCC CHECKDB ('
Data tables can be divided into permanent tables and temporary tables, and temporary tables are automatically deleted when the user exits or the system resumes.
Temporary tables are divided into local temporary tables and global temporary tables,
The INFORMATION_SCHEMA database is MySQL-brought, which provides a way to access database metadata. Metadata is data about data, such as database name or table name, column data type, or access rights, and so on. Some other terms used to express
1. Automatic growth of data type processing
MySQL has an automatically growing data type, and the data value is automatically obtained when you insert a record without manipulating this field. Oracle does not have an automatically growing data type,
Data files for MySQL
First, the system parameter DataDir
In MySQL, each database will have a folder named after the database in the defined (or default) data directory, which is used to store various table data files in the database DataDir
In the previous article, we have learned how to install MySQL data, then how do we manage and use MySQL? MySQL is a set of database management system, in each MySQL server, support run to the library, each library is equivalent to a container, where
1. Create a table
MySQL Create a table is implemented through CREATE TABLE statement, syntax here is not introduced, very complex, you can go to the official online query, fortunately, we do not need to remember all the options, because most of the
MySQL View status
./mysqladmin-uroot-popen Extended-status
Then grep for Shell programming
Direct execution of EXTERNAL commands
./mysql-uroot-e "Show Master Status \g"
Parsing SQL statements
Explain ;
Explain partitions ;
View table
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service