After reviewing notes, I think I understand how to write the code to save data in the SQL Server. With that said, I want to understand the best way to arrange the data and upload it.
My project is creating an order. I'll have the usual part number, quantity ordered, price, extended price, etc. to save from each line. My question is, when I'm ready to save the line through code, do I think of what I'm saving as a line? That is, with each line I need to fill the "cells" of each column with ALL data, even that of the "static" information (order number, customer name, etc.)? In other words, should the "line" of the database look like this"
Order Number | Customer Name | Part Number | Quantity | U/M | 321456 | Don Wilson | AO2544SP | 52 | SF | 321456 | Don Wilson | AO2566SP | 150 | SF |
The "static" info I'm referring to are things like the Order Number and Customer Name. However things like Part Number, Quantity and Unit of Measure are the "variable" that will change from line to line. Keep in mind I'm asking this question as I'm sure at some point I'll want to create reports to show this info.
Hopefully I'm making sense here.
In advance, thanks for the help.