Invalid object name 'dbo.uspEnvelopeBudgetTransactionsBalanceQuery' error from a Sql Server stored procedure - S

When I Execute the following, I get the error.ALTER PROCEDURE [dbo].[uspEnvelopeBudgetTransactionsB

When I Execute the following, I get the error.

ALTER PROCEDURE \[dbo\].\[uspEnvelopeBudgetTransactionsBalanceQuery2\]

AS BEGIN

SET NOCOUNT ON; SELECT * , (SELECT SUM(T2.[SumOfAmount]) FROM dbo.uspEnvelopeBudgetTransactionsBalanceQuery AS T2 WHERE T2.[PayDate] <= T1.[PayDate]) AS Balance FROM dbo.uspEnvelopeBudgetTransactionsBalanceQuery AS T1;

I tried to get it to run by delete dbo. and usp from EnvelopeBudgetTransactionsQuery.I tried dropping it and recreating it.

What is want is a running total of SumOfAmount in by PayDate. I am migrating the backend of an Access database to Sql Server and I am new to Sql Server.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742307069a4419152.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信