troubleshooting Question

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

Avatar of lin111106
lin111106 asked on
Microsoft SQL ServerSQL
1 Comment1 Solution285 ViewsLast Modified:
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.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros