Stored Procedure issue which states Procedure: [dbo].[GetInfo] contains an unresolved reference to an object

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Stored Procedure issue which states Procedure: [dbo].[GetInfo] contains an unresolved reference to an object



Guys I really need your help. So, the problem is in Visual Studio I am trying to create stored procedue with inner join of two tables: КатегорииЗатрат (in English means Category) and Расходы (in English means Expenses) in order to make sure that I could show name of Category instead of its id. However, I encountered with error as Procedure: [dbo].[GetInfo] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [dbo].[КатегорииЗатрат].[c]::[КатегорииЗатратId] or [dbo].[Расходы].[c]::[КатегорииЗатратId]. The code that I am using:


Procedure: [dbo].[GetInfo] contains an unresolved reference to an object. Either the object does not exist or the reference is ambiguous because it could refer to any of the following objects: [dbo].[КатегорииЗатрат].[c]::[КатегорииЗатратId] or [dbo].[Расходы].[c]::[КатегорииЗатратId]


Create PROCEDURE [dbo].[GetInfo]

AS
Begin
SELECT
[Период],
[Стоимость],
[КатегорииЗатратId],
[Комментарий]
FROM [dbo].[Расходы] as с inner join [dbo].[КатегорииЗатрат] as cat on c.КатегорииЗатратId=cat.Id
End









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Z,6egVv2a3nSQyu6FX2yor2A
eg5GforaC M9R,Y5tQ5f4 r3hQ7oq,5rG1UD5mAF3tNiUlCx8rhFz1z63ylzb PrAh4Rg4nKvT3Wyb8,5E,pbKXtyom

Popular posts from this blog

Makefile test if variable is not empty

Visual Studio Code: How to configure includePath for better IntelliSense results

Will Oldham