BULK INSERT ManualImport FROM 'C:\temp\Second_Data-2022-09-15.csv' WITH ( FIRSTROW = 2, -- as 1st one is header FIELDTERMINATOR = ',', --CSV field delimiter ROWTERMINATOR = '\n', --Use to shift the control to next row TABLOCK ) SELECT MIN(DT) as MinDate, MAX(DT) as MaxDate, Count(DT) as [RowCount] FROM ManualImport
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter