开发者

`@` Symbol in mysql variable names

开发者 https://www.devze.com 2023-01-31 19:33 出处:网络
I have started maintaininga bunch of mysql stored开发者_如何学Python procs. Some variables (created with decalare statements) are accessed with the @ symbol and others without it. Whats the difference

I have started maintaining a bunch of mysql stored开发者_如何学Python procs. Some variables (created with decalare statements) are accessed with the @ symbol and others without it. Whats the difference


A variable with the @ at the beginning is session variable. It exists until the session end.

0

精彩评论

暂无评论...
验证码 换一张
取 消