When adding an SP with data type parameters date, adding the following error information is displayed. Variables in the AS ALTER PROCEDURE [dbo].[spExtractoTSL] ,@DataInicial DATETIME = 0 ,@DataFinal DATETIME = 0
I think the variables of the type
DateTime
cannot have integer values. Try giving a minimum date, for example '1900-01-01'.– João Martins
Good morning friend, Take a look if it suits you? insert link description here
– William
@acamiloMoz, managed to solve the problem?
– João Martins
I haven’t been able to!
– acamiloMoz