The following code is run to find the default language of MS SQL Server...
The following query should be run to get the list of all databases in the active instance in MS SQL Server...
The following code should be run to get the list of all Stored Procedures in a database in MS SQL Server with a query...
The following query is run to get the List of Table Columns used in any View in MS SQL...
Run the following query to find the list of all tables using View in MS SQL...
The following code is run to generate random letters in Ms Sql...
TRIM() function came with MS SQL Server 2017. Previously, we used to handle spaces in the variable with methods such as LTRIM, RTRIM or REPLACE...
In Ms Sql, LEN() function is used to get the number of characters of a string type data (char, varchar..)...
In MS SQL, the following query is run to find the Session Id of the logged in user in the current process...
If we want to fetch a random row in a table in MS SQL Server, the following path is followed...
To replace a database name with a query in MS SQL Server, one of the 2 ways below should be followed...
To replace a table name with a query in MS SQL Server, the following procedure should be followed...
In MS SQL Server, the following procedure is followed to change the column name of a table with a query...
Below is the query where we will get the list of system hard disks with available free space using MS SQL Server...
In MS SQL Server, the following procedure is followed to get the Id of the last record entered into the system...
To disable a TRIGGER specified in MS SQL Server, the following procedure is followed...
In MS SQL Server, run the code below to disable all TRIGGERs in a table...
If we want to back up a database with the query method in MS SQL Server, the following path is followed...
The following code is run to take a database to offline mode in MS SQL Server...
In MS SQL, run the following code to get the list of record numbers of all tables (created by the user) in a database...