I'm trying to create a procedure in SQL Server 2012, but it's giving the following error in signing it.
Mensagem 2715, Nível 16, Estado 3, Procedimento MINHAPROCEDURE, Linha 6
Column, parameter, or variable #1: Cannot find data type long.
Parameter or variable '@IDCatOrigem' has an invalid data type.
Mensagem 2715, Nível 16, Estado 3, Procedimento MINHAPROCEDURE, Linha 6
Column, parameter, or variable #2: Cannot find data type long.
Parameter or variable '@IDCatDestino' has an invalid data type.
CREATE PROCEDURE MINHAPROCEDURE
(@IDCatOrigem [long],
@IDCatDestino [long])
AS
BEGIN
I have tried without the parentheses, without the brackets and nothing ... How do I create a procedure with input parameters?