2013-02-21 82 views

回答

0

查詢:

SQLFIDDLEExample

UPDATE Employee 
SET UserID = 'DOMAIN-NAME\' + UserID 

結果:

| ID | TYPE |       USERID | 
-------------------------------------------------- 
| 1 | Email | DOMAIN-NAME\[email protected] | 
| 2 | Twitter |   DOMAIN-NAME\@sqlfiddle | 
+0

Thanx Justin。這就是訣竅! – bce01 2013-02-21 16:19:03

0
UPDATE Employee 
SET EMP_Name = 'xx\' + Emp_name 
+1

其實,用MS SQL,該毗連運算符是一個加號。謹慎編輯你的答案? – 2013-02-21 00:40:12

相關問題