runxinzhi.com
首页
百度搜索
如何显示最近过生日的记录
询出所有在距离今天一个星期内过生日的数据记录。
select
Birthday
from
table
where
convert
(
datetime
,
convert
(
varchar
,
year
(
getdate
()))
+
substring
(
convert
(
varchar
,Birthday,
120
),
5
,
6
))
between
getdate
()
and
dateadd
(
day
,
7
,
getdate
())
相关阅读:
P3371 【模板】单源最短路径(弱化版)
村村通
P1551 亲戚题解
P4467 [SCOI2007]k短路
P2483 【模板】k短路([SDOI2010]魔法猪学院)
POJ——2449 Remmarguts' Date
P1337 [JSOI2004]平衡点 / 吊打XXX
P1118 [USACO06FEB]数字三角形`Backward Digit Su`…
P1621 集合
P1514 引水入城
原文地址:https://www.cnblogs.com/sunheyubo/p/1854441.html
最新文章
bzoj 4403: 序列统计
bzoj 3191: [JLOI2013]卡牌游戏
Codeforces Round #460 E. Congruence Equation
PKUWC 2018 滚粗记
bzoj 3924: [Zjoi2015]幻想乡战略游戏
bzoj 3672: [Noi2014]购票
bzoj 2956: 模积和
bzoj 1443: [JSOI2009]游戏Game
codeforces624A
codeforces620A
热门文章
codeforces580C
codeforces445A
codeforces369A
codeforces279B
codeforces146A
codeforces3A
洛谷P2698 [USACO12MAR]花盆Flowerpot
洛谷P2397 yyy loves Maths VI (mode)
P1090 合并果子 题解
链式前向星标程
Copyright © 2020-2023
润新知