I am trying to update a boolean field of my Data Extension based on the value of some other field. can I use SQL UPDATE
statement to do so? Though when I tried writing this query, it gave me an error
"Incorrect syntax near the keyword 'UPDATE'."
If UPDATE
cannot work, is there any other approach by which we can do this?
Something like:
UPDATE [Table1] a
SET a.Field1 = 'True'
WHERE a.Field2 IN ('1','2','3','4')
Best Answer
No, only SELECT statements are allowed.
You can, however, specify
Update
,Overwrite
orAppend
as the action on the target Data Extension.Reference