摘要:
#encoding=utf-8 import pandas as pd import os import csv def concat_csv(filename,dirpath): with open(filename,'w') as f: cw=csv.writer(f) cw.writerow( 阅读全文
摘要:
生成测试数据 SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[test]( [id] [int] NULL, [name] [varchar](20) NULL, 阅读全文
摘要:
表结构入下: -- -- Table structure for area20201023 -- IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[area20201023]') AND typ 阅读全文
摘要:
WITH x ( dy ,mth ) AS ( SELECT dy ,month(dy) FROM ( SELECT dateadd(mm, 1, (getdate() - datepart(dy, getdate())) + 1) dy ) tmp1 UNION ALL SELECT datead 阅读全文