Since MS Access can save a query in the database file I assume there is a way to do this programmatically from C#. Any idea how?
Looks like it's not possible. SQL Server doesn't record queries, according to This (Not sure about other databases, but I imagine they all work the same way)
You'd need to manually store them as a varchar in a table
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.