How to get the sizes of all databases on a SQL Server
How to get the sizes of all databases on a SQL Server ?
![]()
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.
![]()
In SQL Server there are new Dynamic Management Functions that is used to keep track of Object Dependencies sys.dm_sql_referenced_entities and sys.dm_sql_referencing_entities.
![]()
A synonym is a database object that allows an alternative name for another database object, referred to as the base object, that can exist on a local or remote server.
![]()
How to Find out Identity Column Without Using Column Name ?
![]()
SQL Server REVERSE Function is a string function that returns the reverse order of a string value. It returns a value of type varchar or nvarchar .
![]()
SQL Server IDENTITY_INSERT allows explicit values to be inserted into the identity column of a table.
The IDENTITY_INSERT statement must be set ON to insert explicit value for identity column. By default IDENTITY_INSERT is OFF.
![]()
SQL Server SET DATEFORMAT is used to set the order of the month, day, and year date parts for interpreting date character strings.
![]()
SQL Server SET XACT_ABORT controls the atomicity of any user defined transaction.
![]()
SQL Server ISNULL() Function is a system function that returns the specified value if the expression is NULL else it returns the expression.
![]()
SQL Server @@ERROR is a global variable that returns an error number if the last statement encountered an error but we have to trace it within just after the next line where the actual error occurred, otherwise, it will reset to 0.
![]()
SQL Server NEWID() function is a system function that is used to generate a unique value of type uniqueidentifier.
![]()
SQL Server @@IDENTITY function is a system function that is used to get the last IDENTITY value generated for any table with an identity column under the current session, regardless of the scope of the T-SQL statement that generated the value.
![]()
A Schema in SQL Server is a collection of database objects associated with a database.
![]()