~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to docs/dynamic.rst

  • Committer: Brian Aker
  • Date: 2010-12-07 09:12:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1985.
  • Revision ID: brian@tangent.org-20101207091212-1m0w20tck6z7632m
This is a fix for bug lp:686197

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Dynamic SQL
2
2
===========
3
3
 
4
 
In Drizzle you can use the EXECUTE command along with :doc:'user defined variables <variables>'
 
4
In Drizzle you can use the EXECUTE command along with user defined variables
5
5
to create SQL in a dynamic manner on the server. An exmaple of this is:
6
6
 
7
7
SET @var= "SELECT 1";