Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Stored Procedure In an Online Retail Store

$
0
0
Hello Guys i have a problem with my database here is the Problem:i have designed a simple Online Retail Store to test my sells let's say phones and i have these tables :[b]CustomerProductOrderHeaderOrderDetail[/b]just to be quicki also created stored procedure for data access and insertion for those tables[b]Usp_CustomerInsertUsp_ProductInsertUsp_OrderHeaderInsertUsp_OrderDetailinsert[/b]...i want to use a Table value parameter to make a sale. Ex if one customer wants to buy 3 products how would i run all this in sql and then calculate the grand total all in sql ! i hope i was clear guys, if anything you can ask more questions Thank you !and if doing all this in sql int not a good idea what is your suggestion?

Viewing all articles
Browse latest Browse all 3145

Trending Articles