Common SQL
Posted 小柑
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Common SQL相关的知识,希望对你有一定的参考价值。
select Row_Number() over( order by getdate() ) as SN,* from table
exec sp_helptext spRpt_R169_v2
SELECT b.name as TableName,a.name as columnname
From syscolumns a INNER JOIN sysobjects b
ON a.id=b.id
AND a.name like ‘plan%‘;
select [day]=day(order_entered_dt)
from dbo.SM_Comm_CompMapping
where month(order_entered_dt)=4 and year(order_entered_dt)=2015
group by day(order_entered_dt)
order by day(order_entered_dt)
datediff(dd, s.Order_Entered_dt, getdate())< 30
以上是关于Common SQL的主要内容,如果未能解决你的问题,请参考以下文章
Common-NO.122.common.1 - pvuvip,tpsqpsrps术语
Flutter 返回 `lifecycle-common-java8.jar (androidx.lifecycle:lifecycle-common-java8:2.0.0)` 错误