Hy, I need some help with writing syntax, cause I keep getting warning: Invalid object name '' + @Table + '' @Table is my input parameter, and I need to use it as such to get an ID from the table I am trying to quote. ALTER procedure [dbo].[obrPla_DohvatiPrethodniDatum]
AS BEGIN declare @PreviousID int = null, @PreviousDate date = null
END Can any1 explain me what seems to be the problem? Thx. |
↧
Quotes for input parameter
↧