创建一个名为FindCustomer存储过程,可以用它来找出SQL SERVER中的
创建语句:USE northwindGO CREATE PROCEDURE dbo. FindCustomer$CustomerID char(5)LIKESELECT contactName From Customers WHERE CustomerID=$CustomerID调用语句EXEC northwind.dbo. FindCustomer$CustomerID= ‘thecr’
创建语句:USE northwindGO CREATE PROCEDURE dbo. FindCustomer@CustomerID char(5)ASSELECT contactName From Customers WHERE @CustomerID=CustomerID调用语句EXEC northwind.dbo. FindCustomer@CustomerID= ‘thecr’
创建语句:USE northwindGO CREATE PROCEDURE dbo. FindCustomer@CustomerID char(5)ASSELECT contactName From Customers WHERE CustomerID=@CustomerID调用语句EXEC northwind.dbo. FindCustomerCustomerID= ‘thecr’
创建语句:USE northwindGO CREATE PROCEDURE dbo. FindCustomer@CustomerID char(5)LIKESELECT contactName From Customers WHERE CustomerID=@CustomerID调用语句EXEC northwind.dbo. FindCustomer@CustomerID= ‘thecr’
参考答案: