sql:SET

Un article de Polydoc.

[modifier] Description

Déclare une variable utilisateur

[modifier] Notes

Une variable commance toujours par un @

[modifier] Exemples

SET @variable = 15;
SET @string = "Une chaîne";

Redéfinir une variable

@variable := (SELECT COUNT(*) FROM table);