Connector/Net Visual Studio Integration
1837
You can also set all the options directly in the SQL Editor, using the standard
CREATE PROCEDURE
or
CREATE FUNCTION
statement. However, it is recommended to use the Properties window instead.
To save changes you have made, use either Save or Save All buttons of the Visual Studio main
toolbar, or press S.
Figure 20.17. Stored Procedure SQL Saved
To observe the runtime behavior of a stored routine and debug any problems, use the Stored
Procedure Debugger (available in Connector/Net 6.6 and higher). See
Section 20.2.3.8, “Debugging
Stored Procedures and Functions”
for details.
20.2.3.6. Editing Triggers
To create a new trigger, right-click the node of the table in which to add the trigger. From the node's
context menu, choose the Create Trigger command. This command opens the SQL Editor.
To modify an existing trigger, double-click the node of the trigger to modify, or right-click this node and
choose the Alter Trigger command from the context menu. Either of the commands opens the SQL
Editor.
To create or alter the trigger definition using SQL Editor, type the trigger statement in the SQL Editor
using standard SQL.
Note
Enter only the trigger statement, that is, the part of the
CREATE TRIGGER
query
that is placed after the
FOR EACH ROW
clause.
All other trigger properties are set in the Properties window. These properties are:
• Definer
• Event Manipulation
• Name
• Timing
Some of these properties can have arbitrary text values, others accept values from a predefined set. In
the latter case, set the desired value using the embedded combo box.
The properties
Event Table
,
Schema
, and
Server
in the Properties window are read-only.
To save changes you have made, use either Save or Save All buttons of the Visual Studio main
toolbar, or press S. Before changes are saved, you will be asked to confirm the execution of
the corresponding SQL query in a confirmation dialog.
To observe the runtime behavior of a stored routine and debug any problems, use the Stored
Procedure Debugger (available in Connector/Net 6.6 and higher). See
Section 20.2.3.8, “Debugging
Stored Procedures and Functions”
for details.
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...