-3
我有以下查詢其初始化@ commid1變量VARCHAR,但我想更多的數據添加到這個變量所以我需要它是LONGTEXT。聲明一個變量的大小在MySQL查詢
SELECT Ar.Communication_ids into @commid1 FROM
View1 AR
AR Where LEN(Ar.Communication_ids) > 0 and ar.id =234 ;
如何使@ commid1 =長文本類型? 或者我會將其轉換爲程序。
可能重複[在MySQL中,是否有可能從GROUP \ _CONCAT中獲得超過1024個字符](http://stackoverflow.com/questions/1278184/in-mysql-is-it-possible-to- get-more-1024-characters-back-from-group-concat) – shmosel
不,它不屬於group_concat – abksharma
請提供[mcve]來展示您的問題。 – shmosel