IT Community - Software Programming, Web Development and Technical Support

Mysql - what is the use of DO statement?

This is a discussion on Mysql - what is the use of DO statement? within the Database Support forums, part of the Web Development category; Hi... What is the use of "DO" statement in Mysql? Can you any one explain me with example? ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > Database Support

Register FAQ Members List Calendar Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 08-12-2007, 10:26 PM
write2ashokkumar write2ashokkumar is offline
D-Web Programmer
 
Join Date: Mar 2007
Posts: 85
write2ashokkumar is on a distinguished road
Default Mysql - what is the use of DO statement?

Hi...

What is the use of "DO" statement in Mysql? Can you any one explain me with example?


Regards,

S.Ashokkumar
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 08-14-2007, 12: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().
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/database-support/3284-mysql-what-use-do-statement.html
Posted By For Type Date
DiscussWeb IT Community - Technical Support and Technology Discussions This thread Refback 08-12-2007 11:27 PM

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drop view statement. Pvinothkumar Database Support 5 03-25-2008 08:27 PM
Create View Statement itbarota Database Support 5 03-25-2008 08:15 PM
Statement and Branch Coverage vadivelanvaidyanathan Software Testing 0 01-28-2008 09:13 PM
Statement Coverage vigneshgets Software Testing 2 01-24-2008 02:26 AM
What is the difference between a statement and a block? sundarraja C and C++ Programming 4 08-10-2007 10:18 PM


All times are GMT -7. The time now is 02:15 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0