What does the “@” symbol do in SQL?

前端 未结 7 2054
终归单人心
终归单人心 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 04:57

    @ followed by a number is the parameters in the order they're listed in a function.

提交回复
热议问题