MySQL basic command (ii)

Source: Internet
Author: User

1. Show procedure status like ' stored procedure name '--queries the basic information of the stored procedure.
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7D/57/wKiom1bmXT7x9CUNAAAcQsD3QiU300.png "title=" 1.PNG " alt= "Wkiom1bmxt7x9cunaaacqsd3qiu300.png"/>

2. Show create procedure stored procedure name--specific definition of query stored procedure
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/7D/57/wKiom1bmXeaSaF9DAAAgojWFN1M177.png "title=" 2.PNG " alt= "Wkiom1bmxeasaf9daaagojwfn1m177.png"/>

3. Select * FROM INFORMATION_SCHEMA. Routines where routine_name= ' stored procedure name '--you can also use this command to get more detailed information because all of the functions and stored procedure information is present in the Routines table.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7D/57/wKiom1bmYjjAzBNxAAAl9xmShzY459.png "title=" 3.PNG " alt= "Wkiom1bmyjjazbnxaaal9xmshzy459.png"/>

4. Show triggers--queries all the trigger information in the database.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/7D/57/wKioL1bmfhOwFV-vAAAjbiElxvg038.png "title=" 4.PNG " alt= "Wkiol1bmfhowfv-vaaajbielxvg038.png"/>
5. Select * from information_schema.triggers where trigger_name= ' trigger name '--you can also use this command to get more detailed information, Because all the trigger information is present in the triggers table.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/7D/59/wKiom1bmflTAroYTAABNdCFHn8E178.png "title=" 5.PNG " alt= "Wkiom1bmfltaroytaabndcfhn8e178.png"/>

6. SELECT @ @tx_isolation--View the isolation level of the database.
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7D/5B/wKioL1bmtMqDBsH1AAAHol5N0ok599.png "title=" 6.PNG " alt= "Wkiol1bmtmqdbsh1aaahol5n0ok599.png"/>


This article is from the "Bronze Gong" blog, please be sure to keep this source http://jaeger.blog.51cto.com/11064196/1751041

MySQL basic command (ii)

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.