Home > Database > Mysql Tutorial > SQL取时间部分

SQL取时间部分

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 14:56:36
Original
1318 people have browsed it

SQL取时间部分 无 SELECT CONVERT(varchar(8),GetDate(),8)SELECT CONVERT(varchar(8),GetDate(),24)SELECT CONVERT(varchar(8),GetDate(),108) SELECT CONVERT(time,GetDate())SELECT CAST(GetDate() AS time)

SQL取时间部分
SELECT CONVERT(varchar(8),GetDate(),8)
SELECT CONVERT(varchar(8),GetDate(),24)
SELECT CONVERT(varchar(8),GetDate(),108)
Copy after login
SELECT CONVERT(time,GetDate())
SELECT CAST(GetDate() AS time)
Copy after login
Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
sql file
From 1970-01-01 08:00:00
0
0
0
php - Overhead of prepare vs sql?
From 1970-01-01 08:00:00
0
0
0
Print sql statement
From 1970-01-01 08:00:00
0
0
0
Pass array to SQL insert query using PHP
From 1970-01-01 08:00:00
0
0
0
sql optimization or
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template