Hi,
I have one table as following:
TBL_LOGS_HMAIL ############# EventType (nvarchar(5),null) EventID (int, null) TransactionID (int, null) TimeStamp (datetime, null) IPAdress (varchar(255), null) Details (ntext, null)
----------------------------------------------------
Using the query below, I´m able to get the combination of all EventID and TransactionID
select EventID, TransactionID from [TBL_LOGS_HMAIL] where ( Details LIKE N'SENT: MAIL FROM:<john@domain.com.br>' )
---------------------------------------------
How to show all records from that table but restricted for the combination above??