我试图与输出 SQL服务器 CREATE PROCEDURE sp_test1
@in_var VARCHAR(20),
@out_var VARCHAR(50) OUTPUT
AS
BEGIN
SELECT * FROM Company WHERE COM_ID=1
SELECT @out_var = 'Hello, ' + @in_var
END
我需要将3个表连接在一起,并从中获取日期,价格和客户ID。这里的介绍: First you need to figure out the customer id’s of anyone who purchased a product with the division of ‘Bike Accessories’ from Jan 1, 2012 till now. To get this you