Dear Experts,
I have a problem with replace statement.
I have 4 tables
Table 1 = adresses key : type n(1) can be 1,2 or 3)
ref c(8)
+
zone 1
zone 2
table 2,3, and 4 key type
ref
number
+
zone 1, zone 2, zone3, ...
In table 1 the replacement can only by replaced in 1 record
in table 2,3,4 there can be more records
Can i use : select table1
replace all type with newtype for type = oldtype and replace all ref with newref for ref = oldref
select table2
replace all type with newtype for type = oldtype and replace all ref with newref for ref = oldref
or can i use replace all type with newtype and replace all ref with newref for type = oldtype and ref = oldref
wfg,
FILIP
I have a problem with replace statement.
I have 4 tables
Table 1 = adresses key : type n(1) can be 1,2 or 3)
ref c(8)
+
zone 1
zone 2
table 2,3, and 4 key type
ref
number
+
zone 1, zone 2, zone3, ...
In table 1 the replacement can only by replaced in 1 record
in table 2,3,4 there can be more records
Can i use : select table1
replace all type with newtype for type = oldtype and replace all ref with newref for ref = oldref
select table2
replace all type with newtype for type = oldtype and replace all ref with newref for ref = oldref
or can i use replace all type with newtype and replace all ref with newref for type = oldtype and ref = oldref
wfg,
FILIP