Is it possible to update this view by specifying the MessageTech
and the txtmessageID
? (txtmessageID
and MessageId
are the primary keys from the respective base tables.)
(SELECT
txtmessageID,
'S' AS MessageTech,
MessageType,
Message,
MessageDate,
MessageMobile,
MessageRead,
MessageSender
FROM
MessageCentre)
UNION ALL
(SELECT
MessageId,
'E' AS MessageTech,
Type,
Text,
Date,
Address,
[Read],
Sender
FROM
MessageCentreEmail)