MySQL Cookbook: Difference between revisions

From Littledamien Wiki
Jump to navigation Jump to search
No edit summary
Tag: wikieditor
No edit summary
Line 11: Line 11:
==See also==
==See also==
*[[MySQL Full-Text Search]]
*[[MySQL Full-Text Search]]
== Change the definer of a procedure ==
To see all definers:
<syntaxhighlight lang="mysql">
SHOW PROCEDURE status;
</syntaxhighlight>


[[Category:MySQL]]
[[Category:MySQL]]
[[Category:MariaDB]]
[[Category:MariaDB]]
[[Category:Web Development]]
[[Category:Web Development]]

Revision as of 15:42, 15 September 2024

Create table

CREATE TABLE IF NOT EXISTS `shipping_rates` (
	`id` int(11) NOT NULL auto_increment
	, `region` varchar(50) default NULL
	, INDEX `IX_shipping_rates_region` (`region` ASC) 
	, PRIMARY KEY  (`id`)
);

See also

Change the definer of a procedure

To see all definers:

SHOW PROCEDURE status;