校园春色亚洲色图_亚洲视频分类_中文字幕精品一区二区精品_麻豆一区区三区四区产品精品蜜桃

主頁 > 知識庫 > Select data from an Excel sheet in MSSQL

Select data from an Excel sheet in MSSQL

熱門標簽:美國地圖標注軟件下載 合肥crm外呼系統加盟 硅基電話機器人官網 漯河電銷回撥外呼系統 怎么修改高德地圖標注 西安電話自動外呼系統 城市地圖標志怎么標注 長沙外呼系統平臺 電話機器人怎么看余額
select * 
from openrowset('Microsoft.Jet.OLEDB.4.0'
,'Excel 8.0;HDR=YES;IMEX=1;DATABASE=d:\folder\excel.xls',Sheet1$)

-------NOTE------
Setting IMEX=1 tells the driver to use Import mode. In this state, the registry setting ImportMixedTypes=Text will be noticed. This forces mixed data to be converted to text. For this to work reliably, you may also have to modify the registry setting, TypeGuessRows=8. The ISAM driver by default looks at the first eight rows and from that sampling determines the datatype. If this eight row sampling is all numeric, then setting IMEX=1 will not convert the default datatype to Text; it will remain numeric. 

You must be careful that IMEX=1 not be used indiscriminately. This is IMPORT mode, so the results may be unpredictable if you try to do appends or updates of data in this mode. 

The possible settings of IMEX are: 
0 is Export mode
1 is Import mode
2 is Linked mode (full update capabilities) 

標簽:商洛 玉溪 撫順 瀘州 吉林 濟源 文山 廣西

巨人網絡通訊聲明:本文標題《Select data from an Excel sheet in MSSQL》,本文關鍵詞  Select,data,from,Excel,sheet,MSSQL,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《Select data from an Excel sheet in MSSQL》相關的同類信息!
  • 本頁收集關于Select data from an Excel sheet in MSSQL的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 金华市| 新余市| 达日县| 汪清县| 华容县| 天气| 乡城县| 讷河市| 揭东县| 布尔津县| 曲松县| 湾仔区| 河西区| 黄骅市| 新源县| 临颍县| 新平| 专栏| 侯马市| 阿拉善盟| 惠安县| 汝南县| 绵竹市| 通海县| 嘉祥县| 广灵县| 谷城县| 门头沟区| 康定县| 长海县| 长垣县| 全州县| 双柏县| 应城市| 郑州市| 美姑县| 聂拉木县| 绥棱县| 营山县| 金门县| 正宁县|