Store the number of records of the table into the variable

xiaoxiao2021-03-06  67

Store the number of records of the table into the variable:

Declare @MAX INT

SELECT @ max = count (*) from tblpricelistgroupItem where bus_code = '11000'

Print @max

转载请注明原文地址:https://www.9cbs.com/read-112193.html

New Post(0)