Quantcast
Channel: SQL.ru: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 7251

Сообщение 156 уровень 15.

$
0
0
ругается на неправильный синтаксис конструкции около последней скобки, что здесь не так, никак не могу понять?(

Create trigger PQTYCreator
on Performance
FOR INSERT
AS
if @@ROWCOUNT = 1

IF NOT EXISTS (select *
from PerformanceQty C, inserted i
where C.PlayID = i.PlayID )
insert into PerformanceQty(PlayID,Qty)

Viewing all articles
Browse latest Browse all 7251

Trending Articles