我们必须使用遗留数据库,许多表都有一个名为 upsize_ts
的列,其数据类型为 timestamp
,与存储的数据无关。
它的目的是什么?这是某种 rowversion
列吗?我们可以删除该列吗?
最佳答案
我发现,使用升迁向导将 MS Access 数据库升级到 MSSQL 时会创建“upsize_ts”列:
Upsizing is the process of migrating some or all database objects from a Microsoft Access database (.mdb) to a new or existing Microsoft SQL Server database or new Microsoft Access project (.adp).
升迁向导文档提到以下内容:
Timestamp Columns By default, the Upsizing Wizard creates new columns with the data type of timestamp in SQL Server tables generated from Microsoft Access tables that contain floating-point (single or double), Memo, or OLE fields.
Can we delete that column?
如果数据库仍将由 MS Access 使用(我们的应用程序就是这种情况),则不应删除此字段。
有关升迁向导的更多信息:
http://office.microsoft.com/en-us/access-help/use-the-upsizing-wizard-HP005273009.aspx
关于sql - 遗留数据库中的 upsize_ts 列 - 这是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14114125/