![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am trying to run the following statement in Pervasive 2000 sp4: UPDATE "IV00102" SET PRIMVNDR = (SELECT PRIMVNDR FROM IV00102 iv WHERE LOCNCODE = 'ME' AND iv.ITEMNMBR = IV00102.ITEMNMBR) WHERE LOCNCODE <> 'ME' AND RCRDTYPE = '2' This statement work fine with Microsoft Sql. I am not as familiar with Pervasive. This statement is returning nothing for the (SELECT PRIMVNDR FROM IV00102 iv WHERE LOCNCODE = 'ME' AND iv.ITEMNMBR = IV00102.ITEMNMBR) part of the statement, so the PRIMVNDR is being updated with NULL. Any ideas why this would not work? Thanks! |
![]() |
| Thread Tools | |
| Display Modes | |
| |