Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 Depleting a Balance in a script
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

1 Posts

Posted - 12/22/2005 :  09:48:23  Show Profile  Reply with Quote
I need some help quite desperately. Is it possible to deplete a amount through writing a SQL script. I have two tables, one with a line per JOB and a Invoice balance per JOB. The other table has many lines per JOB with amounts. I need to deplete the Invoice Balance in the first table against the Invoice amounts in the second table with a result of the calculation displayed in a seperate column. Is this possible?

Frank Kalis
Constraint Violating Yak Guru

413 Posts

Posted - 12/22/2005 :  10:59:48  Show Profile  Visit Frank Kalis's Homepage  Reply with Quote
Yes! And there are many examples out there on the web readily available. Search here or Google for this.

Frank Kalis
Microsoft SQL Server MVP
Heute schon gebloggt?
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2019 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000