What does the “@” symbol do in SQL?

前端 未结 7 2030
终归单人心
终归单人心 2020-11-28 04:16

I was browsing through the questions and noticed this:

SELECT prodid, issue
FROM Sales 
WHERE custid = @custid 
AND datesold = SELECT MAX(datesold) 
                 


        
7条回答
  •  执笔经年
    2020-11-28 05:02

    You may be used to MySQL's syntax: Microsoft SQL @ is the same as the MySQL's ?

提交回复
热议问题