I need this to return a boolean value if the following condition is met but I keep getting syntax errors
declare @OverLimit bit = 0
declare @var int
set @var = Select count(pkid)
From Clicks
If @var > 720,000 then
@OverLimit = 1
Select @OverLimit