Это должно помочь вам начать работу, но ваше предложение WHERE нуждается в работе.
SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO
SET ANSI_PADDING ON
GO
SET NOCOUNT ON
GO
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[theSprocName]') AND type in (N'P', N'PC'))
DROP PROCEDURE [dbo].[theSprocName]
GO
CREATE PROCEDURE dbo.theSprocName
@brand varchar(250) -- change to suit the anticipated width.
AS
BEGIN
SELECT SomeField1, SomeField2
FROM cars
-- specify what criteria to filter by.
-- WHERE cars.brand
END
GO