使用Exists关键字检查所查的数据是否存在
摘要:Create Procedure AddUniqueProduct @ProductName NVarchar(80), @UnitPrice Money AS if Exists BEGIN select ProductName From Products Where ProductName =@ProductName Return 1 END...
阅读全文
posted @ 2005-03-26 10:00