Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

SQL Database Table - Multiple Employees with Pay Rate, Hours, and Other Info

$
0
0

Ok, so I'm not going to pretend I'm well versed in databases by any means but I am looking at creating a job costing application for the small company I work for in C#.

I can connectto a database with no issue and work with the database just fine but I'm stuck on how to implement the products and employee information...

So, let's say I have a table with the job costing information that would include the following columns:

ID

Invoice Number

Customer Name

Products (Product 1, Product 2, and Product 3)

Product 1 - Qty

Product 1 - Name

Product 1 - Price

Employees (Employee 1, Employee 2, and Employee 3)

Employee 1 - Name

Employee 1 - Pay Rate

Employee 1 - Hours Worked

...

So, I'm wondering how people typically implement something like this.

The ID and Invoice Number would be fine in a single column but for the Products and Employees there will (most of...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>