Microsoft
Software
Hardware
Network
Question : sql statement needed
need a sql statement to show that for each time a car is added to (product table)...inventory is reduced from (part table).
Table name: PRODUCT
PROD_CODE PROD_QOH
car 24
Table name: PART
PART_CODE PART_QOH
Frame 22
Moulding 23
Answer : sql statement needed
begin tran
insert into PRODUCT select ...
if @@ROWCOUNT > 0
UPDATE Part
SET qty = qty -1
WHERE PART_QOH = ???
IF @@Error <> 0
BEGIN
ROLLBACK TRAN
return
END
commit tran
Random Solutions
DateTime Group By question
Windows 7 Software Restriction Policy not working.
Strange errors when compiling and OpenGL program
Strip special character function for SQL statement
Dos script to control services
WSUS Scheduled Install Time for systems in different time zones
Code: 0x80012017 The package path referenced an object that cannot be found: "\Package\Subplan.Disable"<wbr />
Error: "The action cannot be carried out while processing a form event."
Adding AD Custom User Attributes
Really Uninstall previous versions of Microsoft Office if I like to try Office 2010?