SQL Server reports 'Invalid column name', but the column is present and the query works through management studio

前端 未结 12 631
生来不讨喜
生来不讨喜 2020-12-04 11:35

I\'ve hit a bit of an impasse. I have a query that is generated by some C# code. The query works fine in Microsoft SQL Server Management Studio whe

12条回答
  •  感情败类
    2020-12-04 11:45

    I've gotten this error when running a scalar function using a table value, but the Select statement in my scalar function RETURN clause was missing the "FROM table" portion. :facepalms:

提交回复
热议问题