문제

I've got this script that is working properly and the output is correct when I execute the stored procedure. But its not working when I use it through codesmith, when I perform generate output the stored procedure will return an integer not a result.

Here is the part that is causing the problem:

SELECT *
INTO #UsersConversations
FROM Conversations c 
WHERE c.pid IN
    (SELECT DISTINCT ConvID FROM ConversationUsers WHERE UserID = @UserId)

I'm using SQL Server 2008, CodeSmith v4

도움이 되었습니까?

해결책

I work for CodeSmith Tools. The following detailed thread will describe the issue you are running into and how to resolve it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top