Skip to main content

Error Messages

"must declare the table variable @t"​

must declare @t

Occurs during:​

Import functions

Possible Cause:​

1. Missing schema on table variable in function​

If your table variable has a schema, the schema must also be included in the function

Example:

must declare @t schema