SQL SERVER VARCHAR
SQL Server VARCHAR Data Type is used to store non-unicode string data of varaible length.
![]()
SQL Server VARCHAR Data Type is used to store non-unicode string data of varaible length.
![]()
How to Display calendar dates for any n numbers of years in SQL Server?
![]()
SQL Server CHAR data type is used to store non-Unicode string data of fixed-length.
![]()
SQL Server OFFSET FETCH clauses are used to set the limit to number of rows returned by a query. Â
![]()
This is one of the most commonly asked question in SQL Server interview that how to find the Nth highest salary of employee with their… Read More »How to find Nth Highest Salary in SQL Server
![]()
SQL Server @@SPID
SQL Server @@SPID is a SQL Server configuration function that is used to return the session id of current user process.
SYNTAX
@@SPID
![]()
SQL Server @@Version is a configuration function that returns system and build information for the current installation of SQL Server. SYNTAX @@Version Return Type of… Read More »SQL Server @@Version
![]()
SQL Server STRING_AGG() Function is string function which concatenates values for any given string expressions and separate them a specified separator.
It does not add the separator at the end of the result string.
String expression values are implicitly converted to string types and then concatenated.
![]()
The SQL Format function is a SQL Server string function which is used to format the specified value in the given format such as to format the date/time values and number values.
![]()
How to Display currency symbol in SQL Sever?
Sometimes we are required to display a currency symbol along with the amount in query result set, It becomes challenge to displaying a currency symbol with amount.
![]()
How to get the sizes of all databases on a SQL Server ?
![]()
SQL Server LAG() function is a Analytics Functions that provides access to a row at a given physical offset that comes before the current row.
![]()
SQL Server LEAD() function is a Analytics function that provides access to a row at a specified physical offset which follows the current row.
Basically, LEAD() function provides access to a row at a given physical offset that follows the current row.
![]()
SQL Server NEWSEQUENTIALID() function is used to generate incremental unique values of type uniqueidentifier.
![]()
Troubleshooting Database Mail
If you are not getting Database Mail after configuring it , you need to got through few more step to fix it.
![]()
SQL Server Database Mail is used to send e-mail from the SQL Server Database Engine to user. We can also send an output of any stored procedures or table records in e-mail as an excel attachment or in HTML format in e-mail body.
![]()
In SQL Server we can create a database, table and write T-SQL query using emoji.
Here we will create a table and then insert few records into table.
![]()