We help IT Professionals succeed at work.
Get Started

How do I write insert statement in MS SQL from calculations in views

Last Modified: 2008-07-27
MS SQL DB purpose to track custom order work.  I have a table that allows entry for the number of procedures it takes for each order.  From that I created a view that joins to tables to calculate total number of processes it takes based on type of work.  Then I have to calculate the number of minutes it takes to complete the order.  I know that 17 process can be completed in 1 hour/60 minutes so that each process takes 3.5 minutes to complete.  From that I know that with 4 employess I can completed 1800 process in a 7.5 hour day.  I know that calcs and can retrieve them in views, but don't know how to write them back to the table.  
I have basic skills and don't know how to write calculations In MS SQL 2000 Db.  If I can learn how to write back the calculations from query then fine,  if not I need to know how to write calculation for the table.  Thank you.
How should I do this?  I am happy to attach print screen of my DB views and table diagram if needed.
Watch Question
This problem has been solved!
Unlock 1 Answer and 1 Comment.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE