Click here to Skip to main content
15,916,846 members

Comments by XRushdy (Top 14 by date)

XRushdy 17-Nov-18 16:04pm View    
Sir i'm so grateful, it worked.
my old query that joining the table to itself was too much complexed and i was worried about it,
the table already contains more columns, i just tried to show a simple example of the idea and know experts opinions about the database design, that idea of (SUM(InventoryAdded) - SUM(InventoryRemoved)) will affect on performance in the future when the table gets larger?
XRushdy 5-Jan-18 12:07pm View    
i'm working on win 8 64bit and filesystem NTFS, is that means that my database have no limits?
XRushdy 2-Jun-17 14:58pm View    
Thank you so much, it was very helpful
XRushdy 2-Jun-17 2:19am View    
And just make the two columns(Bill_ID) are the same integer number? And when retrieving specific Bill content search in content table for records that carries the Bill_ID value? Is that indexing that you talked about?
One last thing, can you please explain in a few lines what you mean by “ Also do use surrogates as primary keys” or just apply this theory to my example that I talked about).
Finally I want to say again that I appreciate your respond it was so helpful and any other instructions you can say about this example I will be grateful to read.
XRushdy 2-Jun-17 2:19am View    
And Bill content table be like:
Some AutoNum&PrimaryKey \ Bill_ID \Product_name \Brand\etc.