Sorry, no message was sent on the last thread. I hit the Enter Key.
After creating the procedure, as follows:
Create Procedure x
@Y datetime
Set nocount off
Select mmm, nnn FROM dbo.ttt
WHERE ttt.date = @Y
Set nocount on
GO
EXEC x 1
You can not tell what happen, no output/result/listing is seen or prompt is made for unkown value/date - @Y.
After creating the procedure, as follows:
Create Procedure x
@Y datetime
Set nocount off
Select mmm, nnn FROM dbo.ttt
WHERE ttt.date = @Y
Set nocount on
GO
EXEC x 1
You can not tell what happen, no output/result/listing is seen or prompt is made for unkown value/date - @Y.