2013-10-28 65 views

回答

0

你有2列中選擇,他們兩人命名的消息也。嘗試像這樣

SELECT REPLACE(AES_DECRYPT(message,'Password'), '#TD1#','\n\n') Message 
FROM daily 
LIMIT 1; 

SELECT AES_DECRYPT(REPLACE(message, '#TD1#','\n\n'),'Password') Message 
FROM daily 
LIMIT 1; 
1

嘗試這個

SELECT REPLACE(AES_DECRYPT(message, 'Password'), '#TD1#', '\n\n') AS message 
FROM daily 
LIMIT 1; 
+0

請格式化你的代碼 – Arion