P
Pietro
Hi,
In the below query,i need to add an external field called "type" so:
1- If the field "subject" contains the word "(RO)" then the field "type"="RO".
2- If the field "subject" contains the word "(FO)" then the field "type"="FO".
2- If the field "subject" does not contains the word "(FO)" or the word
"(FO)" then the field "type"="E-mail".
the query is:
SELECT [E-mails].ID, [E-mails].[Service Request], [E-mails].[Idle Time],
[E-mails].Owner, [E-mails].Queue, [E-mails].Status, [E-mails].Customer,
[E-mails].Subject, [E-mails].[Opened Date]
FROM [E-mails];
In the below query,i need to add an external field called "type" so:
1- If the field "subject" contains the word "(RO)" then the field "type"="RO".
2- If the field "subject" contains the word "(FO)" then the field "type"="FO".
2- If the field "subject" does not contains the word "(FO)" or the word
"(FO)" then the field "type"="E-mail".
the query is:
SELECT [E-mails].ID, [E-mails].[Service Request], [E-mails].[Idle Time],
[E-mails].Owner, [E-mails].Queue, [E-mails].Status, [E-mails].Customer,
[E-mails].Subject, [E-mails].[Opened Date]
FROM [E-mails];