Tag sql most used functions

SQL CURRENT_USER Function

Example Return the name of the current user in the SQL Server database: SELECT CURRENT_USER; Definition and Usage The CURRENT_USER function returns the name of the current user in the SQL Server database. Syntax CURRENT_USER

SQL PI Function

Example Return the value of PI: SELECT PI(); Definition and Usage The PI() function returns the value of PI. Note: Also look at the DEGREES() and RADIANS() functions. Syntax PI()