更新时间:2023-02-03 13:21:02
我可能是错的,但是,我认为您可以直接从备份文件中读取文件,而无需将其附加到sql server引擎.您需要将其还原为临时数据库,然后才能从Select * From Information_Schema.Tables
和Select * From Information_Schema.Columns
视图中读取所有信息...
I might be wrong but, I dont think you can read from the backup file directly, without attaching it to the sql server engine. you need to restore somewhere as a temp database and then you can read all the information fromSelect * From Information_Schema.Tables
andSelect * From Information_Schema.Columns
views...