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
Artifact created with LinearGradientBrush and FillRectangle
Using outlook.application in Foxpro
Dell Vostro 220 suddently running at CPU Usage 100%
ActiveDocument.SaveAs getting error message
Auto Format data in Access to Capitalize first letters
delete duplicate records
Loose Autotext entries on Word 2003 startup
SQL - CASE Statement help needed
Report Server 2008 and IIS
Average of numbers - count only records with complete data