CONVERT
Description
Convert an expression of one data type to another. (CONVERT in Transact-SQL).
Sample Source Pattern
Syntax
Examples
IN -> SqlServer_01.sql
OUT -> SqlServer_01.sql
Casting date type to varchar
IN -> SqlServer_02.sql
OUT -> SqlServer_02.sql
Casting date type to varchar with size
IN -> SqlServer_03.sql
OUT -> SqlServer_03.sql
The supported formats for dates casts are:
Date formats
Time formats
Date and time formats
Islamic calendar dates
If there is no pattern matching with the current code, it will be formatted to yyyy-mm-dd hh:mm:ss
Known Issues
No issues were found.
Related EWIs
No related EWIs.
Last updated