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
Event ID 5706, The system can not find SYSVOL, SCRIPTS in path specified.
in word 2003 the right align field is grayed out when I try to add a TOC
ASP.NEt Error : "An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file "
SUMPRODUCT not working
Need Subreport and main report to return same data
Access 2003 image browser form?
Rename "Pinned" Remote Desktop Connections
how can i in Java language update a VFP table dbf
Icons on desktop don't completely refresh
can you help me? the problem in registering DTS dll files.