Editing
Troubleshooting of common Excel errors in Mandarin
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== 解決從資料庫匯出資料到 Excel 檔案時,出現 Support 32767 characters in a cell only 錯誤訊息 === '''問題描述''' 從資料庫匯出資料到 Excel 檔案時,出現 [ERR] Support 32767 characters in a cell only 錯誤訊息。 '''根本原因''' Excel 儲存格可容納的字元數量上限為 32,767 個字元 <ref>[https://support.microsoft.com/zh-tw/office/excel-%E7%9A%84%E8%A6%8F%E6%A0%BC%E5%8F%8A%E9%99%90%E5%88%B6-1672b34d-7043-467e-8e27-269d656771c3 Excel 的規格及限制 - Microsoft 支援服務]</ref>。當資料庫中某筆資料的欄位內容超過此限制時,就會產生 [ERR] Support 32767 characters in a cell only 錯誤訊息。 '''解決方法''' 可透過以下兩種方式解決<ref>[https://errerrors.blogspot.com/2023/07/fix-the-error-support-32767-characters-in-a-cell-only-on-navicat.html 解決 Navicat 匯出 Excel 檔案遇到 [ERR] Support 32767 characters in a cell only 錯誤訊息]</ref>: # 改用沒有 32767 字元數限制的檔案格式 # 使用 SUBSTRING 函數縮減內容長度 發生錯誤的 MySQL 查詢 <pre> SELECT title, content FROM my_column </pre> 修正後的 MySQL 查詢 <pre> SELECT title, SUBSTRING(content, 1, 32767) AS content FROM my_column </pre>
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
Tools
What links here
Related changes
Special pages
Page information