Hi,
A table variable e.g. declare @table_1 ( userid int, username varchar(128)) ;
If a database x collation is SQL_Latin1_General_CP1_CI_AS
But tempdb system database collation is Danish_Norwegian_CI_AS
What is the collation that @table_1 using in the stored procedure under database x ?
Thanks !