Latest Code Tutorials
Browsing Category


SQL is a standard language for storing, manipulating and retrieving data in databases.

Our SQL tutorial will teach you how to use SQL in: MySQL, SQL Server, MS Access, Oracle, Sybase, Informix, Postgres, and other database systems.


SQL SYSUTCDATETIME() is an inbuilt Date function that is used to return the Current Date and Time of the system i.e., DATETIME2 on which the SQL Server instance is running. The DATETIME is in coordinated Universal Time (UTC). The format is:…

SQL COT() Function Example | COT() in SQL

SQL COT() is an inbuilt function that is used for finding the cotangent the specified angle – in radians – in the specified float expression. MySQL COT() returns the cotangent of a number. A number whose cotangent value is to be retrieved.…

SQL TAN Function Example | TAN() in SQL

SQL TAN() is an inbuilt function that is used for finding the tangent of the specified angle(in radians) in the defined float expression. The mathematical formula for this function is TAN(x) = Length of the Opposite Side / Length of the…