MySQueaL Resources

resources for mysql admins and developers who are squealing for help

More Resources

Main Doc Pages
Comments
MySQL columns: everywhere I look are tables and columns; life is filled with databases of information to be ordered and grouped. (Berlin, Germany)

DO Statement

This MySQL statement suppresses the display of an expression's results. I can't think of much point to this one. Please let me know you can.

hits past month: 13 ;  last updated: may 4, 2009 - 2:34am ;  parent: Data Manipulation Statements

Syntax

DO expression[,  . . . ] | (statement)

Explanation

This MySQL statement suppresses the display of an expression's results. Multiple expressions may be given in a comma-separated list. As of Version 4.1 of MySQL, subqueries may be given.

Examples

DO (SET @company = 'Van de Lay Industries' );

The example above of this MySQL statement creates the @company variable with the value given, but without displaying any results.

Return to Data Manipulation Statements page of our MySQL Documentation