Extract DateTime from Text (yyyyMMddHHmmss)Business Intelligence, IT, Power BI, PowerQueryX2022-10-15Einführung Ich erstelle gerne sowohl in SQL als auch in anderen Programmiersprachen Zeitstempel im Format
C# DateTime.Now vs DateTime.TodayIT, ProgrammierungX2022-10-10Heute habe ich in einem alten Code einen Bug gefunden, der ein paar Jahre unbemerkt
INSERTDATE im DWHDatenbanken, IT, MS SQLX2022-07-27In meinen DWH-Projekten verwende ich in der Regel eine Spalte _InsertDate um zu protokollieren, wann
Round DateTimeDatenbanken, IT, MS SQLX2022-07-27select format(getdate(),’yyyy-MM’); — round to month select format(getdate(),’yyyy-MM-dd’); — round to day select format(getdate(),’yyyy-MM-dd hh’);
The conversion of a datetimeoffset data type to a datetime data type resulted in an out-of-range value.Business Intelligence, Datenbanken, IT, MS SQLX2021-07-06The Column DateTimeOffSet allows date within range 0001-01-01 through 9999-12-31. This causes the problem. Try the
SQL/powershell & UNIXTIMEDatenbanken, IT, MS SQL, powershellX2021-05-24Powershell und UNIXTIME SQL und UNIXTIME Unixtime 2 DateTime Select dateadd(S, [unixtime], ‘1970-01-01’) From [Table]