SQL Server可使用DATEADD()函式來取得隔週/隔月/隔年的日期。
2018/7/24
2018/7/1
SQL Server 重設欄位的自動增量(auto increment)的識別種子值(seed)。 reset auto increment seed value.
在SQL Server資料庫管理工具SSMS中可在資料表欄位的識別規格設定識別值增量(identity increment)來達到自動增量(auto increment)的效果。如果要將已經增量的識別值種子(identity seed)重設,可以使用DBCC CHECKIDENT。
訂閱:
文章 (Atom)