摘要:
SELECT DATEDIFF(yy,'2018-3-10 16:40:00',getdate())SELECT DATEDIFF(mm,'2018-3-10 16:40:00',getdate())SELECT DATEDIFF(dd,'2018-3-10 16:40:00',getdate()) 阅读全文
摘要:
select * into bb from dbo.UserDetail where 1<>1 --复制表结构 select * into bb from dbo.UserDetail where 1=1 --复制表结构和数据 insert into b(a,b,c) select e,d,f fr 阅读全文
摘要:
using MvcApplication1.Models; @model MvcApplication1.Models.UserInfoModel @{ ViewBag.Title = "Index"; Layout = "~/Views/Shared/Admin.cshtml"; } <h2>In 阅读全文