atitit.sql server2008匯出匯入資料庫大的表格檔案... oracle mysql

來源:互聯網
上載者:User

標籤:style   blog   http   color   os   使用   ar   for   檔案   

atitit.sql server2008匯出匯入資料庫大的表格檔案...

 

1. 超過80M的檔案是不能在查詢分析器中執行的 1

2. Oracle ,mysql大的檔案匯入 1

2.1. 使用sql檔案 1

2.2. 使用dmp二進位檔案(oracle only) 1

2.3. Other 匯出txt,excel在匯入( 不推薦),常常不能匯入 1

3. 本機匯入 1

4. 遠程匯入 2

5. syaolon msg 2

6. 參考 3

1. 超過80M的檔案是不能在查詢分析器中執行的

imEx txt 不好使用,常常不能im...

最佳實務還是使用sql 做交流...

 

 

最近經常用到超過80M *.sql檔案的匯入問題。

上網找了一下,發現超過80M的檔案是不能在查詢分析器中執行的。

 

2. Oracle ,mysql大的檔案匯入2.1. 使用sql檔案2.2. 使用dmp二進位檔案(oracle only)2.3. Other 匯出txt,excel在匯入( 不推薦),常常不能匯入

作者:: 老哇的爪子 Attilax 艾龍,  EMAIL:[email protected]

轉載請註明來源: http://blog.csdn.net/attilax

 

3. 本機匯入

 

C:\>sqlcmd -i  test.sql -d databasename -s 127.0.0.1

4. 遠程匯入

 

sqlcmd  -d gialenweixin -S 192.168.1.33 -U focustar -P focustar -i c:\expUser.sql

 

 

 

 

(1 行受影響)

Processed 12700 total records

 

(1 行受影響)

Processed 12800 total records

 

(1 行受影響)

Processed 12900 total records

 

(1 行受影響)

Processed 13000 total records

 

(1 行受影響)

Processed 13100 total records

 

 

每100行處理一掛....

驗證...select COUNT(*) from t_mb_weixinuser

5. syaolon msg

QL  -d weixin -iD:\sql\beko69.sql 
twins 05:49:36 
select @@SERVERNAME
SQLCMD -E -SL7JMP9OIU7JRV4E\S 
twins 05:49:36 
QL  -d weixin -iD:\sql\beko69.sql
twins 05:49:36 
select @@SERVERNAME
SQLCMD -E -SL7JMP9OIU7JRV4E\S
2014-07-01
 

6. 參考

SQLCMD的介紹_紅楓葉_新浪部落格.htm

sqlserver 中使用sqlcmd 執行 .sql檔案 - HelloJimmy520的專欄 - 部落格頻道 - CSDN.NET.htm

關於ISQL,OSQL,SQLCMD的區別_forevervw_新浪部落格.htm

atitit.sql server2008匯出匯入資料庫大的表格檔案... oracle mysql

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.