-1
當我試圖從運行該批處理文件中的一些疑問我得到了一些錯誤信息在我的查詢瀏覽器如何使用MySQL查詢瀏覽器
我與
source E:\Rename_scripts_unused_tables_msp.sql
試圖還原轉儲文件,我得到的錯誤信息如
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'source E:\Rename_scripts_unused_tables_msp updated.sql' at line 1'
並且查詢在命令行中正常工作。
這裏是我的源文件語句:
rename table appliance_backup_usage_history to unused_appliance_backup_usage_history;
rename table backup_core_server to unused_backup_core_server;
rename table bdr_vms to unused_bdr_vms;
rename table client_details1 to unused_client_details1;
rename table client_service_technologies_backup to unused_client_service_technologies_backup;
rename table cloud_instances to unused_cloud_instances;
多語句一樣,
什麼是這背後的原因?
我們需要看到源文件 – Remy
是否包含文件'使用somedatabase;'? – wallyk
是的,它在命令行中工作正常(我選擇了數據庫,然後運行腳本) –