How do I list all the queries in a MS Access file using OleDB in C#?

前端 未结 4 1203
余生分开走
余生分开走 2021-01-21 21:12

I have an Access 2003 file that contains 200 queries, and I want to print out their representation in SQL. I can use Design View to look at each query and cut and paste it to a

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-21 21:19

    you can put this together using the OleDbConnection's GetSchema method along with what Remou posted with regards to the ADO Schemas

    oops forgot link: MSDN

提交回复
热议问题