View Single Post
  #2 (permalink)  
Old 08-14-2007, 01:34 AM
it.wily it.wily is offline
D-Web Programmer
 
Join Date: Jul 2007
Posts: 89
it.wily is on a distinguished road
Default Re: Mysql - what is the use of DO statement?

Hi....

DO expr [, expr] ...

Do is a command which executes the expressions it doesn’t return any results. It is a shorthand for “Select” expr. It has the advantage of slightly faster if u do not care about the result.

DO is useful primarily with functions that have side effects, such as RELEASE_LOCK().
Reply With Quote