修改group_concat默認長度

mysql函數group_concat,在處理大數據的時候,會發現查詢出來的內容只取到其中一部分,是因爲MYSQL默認不設置的長度是1024,如果我們需要更大,就需要手工去進行修改。 查看group_concat長度語句: show variables like ‘group_concat_max_len’; 修改默認長度語句: SET GLOBAL group_concat_max_len=10
相關文章
相關標籤/搜索