Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. xls

xls

Scheduled Pinned Locked Moved Database
databasecomsysadmindebugginghelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    SVb net
    wrote on last edited by
    #1

    i need open file xls from query? i used this command select * FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0', 'Data Source=C:\a.xls; Extended properties = Excel 8.0')...[sheet1$] a but make error Server: Msg 7314, Level 16, State 1, Line 15 OLE DB provider 'Microsoft.Jet.OLEDB.4.0' does not contain table 'sheet1$'. The table either does not exist or the current user does not have permissions on that table. OLE DB error trace [Non-interface error: OLE DB provider does not contain the table: ProviderName='Microsoft.Jet.OLEDB.4.0', TableName='sheet1$']. -------------- i'm sure from sheet1$ is exist in file a.xls

    123

    K 1 Reply Last reply
    0
    • S SVb net

      i need open file xls from query? i used this command select * FROM OPENDATASOURCE('Microsoft.Jet.OLEDB.4.0', 'Data Source=C:\a.xls; Extended properties = Excel 8.0')...[sheet1$] a but make error Server: Msg 7314, Level 16, State 1, Line 15 OLE DB provider 'Microsoft.Jet.OLEDB.4.0' does not contain table 'sheet1$'. The table either does not exist or the current user does not have permissions on that table. OLE DB error trace [Non-interface error: OLE DB provider does not contain the table: ProviderName='Microsoft.Jet.OLEDB.4.0', TableName='sheet1$']. -------------- i'm sure from sheet1$ is exist in file a.xls

      123

      K Offline
      K Offline
      Krish KP
      wrote on last edited by
      #2

      hi 123, excle file should have sheet with name "sheet1" i.e. excluding $ sign.

      Regards KP

      S 1 Reply Last reply
      0
      • K Krish KP

        hi 123, excle file should have sheet with name "sheet1" i.e. excluding $ sign.

        Regards KP

        S Offline
        S Offline
        SVb net
        wrote on last edited by
        #3

        thanks , i need open file excell from network 82.99.99.1

        123

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups