sqlserver 获取当前时间
时间: 2023-08-22 15:07:08 浏览: 125
要在 SQL Server 中获取当前时间,可以使用内置函数 GETDATE()。这个函数返回当前日期和时间。 通过执行以下语句即可获取当前时间:SELECT GETDATE()。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [SQL Server时间获取](https://blog.csdn.net/weixin_45381269/article/details/109598703)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [sqlserver 时间格式函数详细](https://blog.csdn.net/weixin_34187862/article/details/85540255)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文