dshqd84261 2017-10-23 21:10
浏览 32
已采纳

GoLang并打开MS SQL Compact文件(.sdf)

As the title suggests, I'm attempting to open an SDF/MSSQL CE database in GoLang. Is this possible?

The GoLang Libraries I've found do not appear to suppot MSSQL CE database connections.

I hope this is not a duplicate, but I can not find info online

  • 写回答

2条回答 默认 最新

  • dongpang2483 2017-10-24 07:44
    关注

    I'm afraid it would hardly be possible to work with these files directly as they merely are on-disk storage format, and note that MSSQL DBs of all flavors use .sdf as the extension of the file names of their DBs, so by itself they mean nothing.

    OTOH, one direct way to approach this problem would be using OLE DB layer.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?