Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What's the difference between @ and @ @ in MySQL?

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)05/31 Report--

This article is mainly about "what's the difference between @ and @ @ of MySQL". Interested friends might as well take a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn "what's the difference between @ and @ @ of MySQL"!

The difference between @ and @ @ in MySQL

@ x is a user-defined variable (User variables are written as @ var_name)

@ x is a global or session variable (@ @ global @ @ session)

Reference: 6.1.4 Server System Variables

Select @ @ log_error

Mysql > SET @ t1room0, @ t2room0, @ t3room0

Mysql > SELECT @ t1vision = (@ t2rang1) + @ t3purl 4jcgi t1jue t2jingt3

At this point, I believe you have a deeper understanding of "what's the difference between @ and @ @ of MySQL". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report