摘要:
当你遇到好的上司,你就会冲忙挑战:当前月第几个星期:方法一: datepart(week,OrderDate)-datepart(week,OrderDate-day(OrderDate))+1 方法二: datediff(week,DATEADD(mm, DATEDIFF(mm,0, OrderDate), 0), OrderDate)+1 --行列转换,显示的列,必需出现在聚合函数,或 gro... 阅读全文
摘要:
C/C++//VC-ConsoleWithApi #include //提权函数 void RaiseToDebugP() { HANDLE hToken; HANDLE hProcess = GetCurrentProcess(); if ( OpenProcessToken(hProcess, TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken... 阅读全文