KnowledgeBase
a KnowledgeBase blog for my random thoughts and observations...
Monday, December 2, 2013
Select text to left of @
SELECT userID, emailID, left(emailId, charindex('@',emailId)-1)
FROM [TaxFormsDelivery].[dbo].[TFDP_Client_Users]
where UserID = left(emailId, charindex('@',emailId)-1)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment