by Aman Raiyyani | Mar 6, 2023 | SQL Server
Cursors in SQL Server allows you to traverse through the rows of a result set one row at a time. It is essentially a pointer that points to a specific row in a result set. Cursors are used to perform operations on a row-by-row basis, such as updating or deleting...
by Aman Raiyyani | Feb 15, 2023 | SQL Server
Excessive use of system Dynamic Management Views (DMVs) in SQL Server can lead to various issues. Firstly, querying DMVs can be resource-intensive, causing contention on the server, and generating a lot of data, leading to increased disk space usage and server...
by Aman Raiyyani | Nov 10, 2022 | SQL Server
To modify the data type of a column: Please note: Whenever making a change to a table structure there is a chance that change may result in data corruption if not done correctly, which is why it is would advisable to take a backup/copy of the table on which you intend...
by Aman Raiyyani | Oct 13, 2022 | SQL Server
Difference between the database management system and SQL What is a management system (DBMS): DBMS could be a group of programs used for managing information and at the same time it supports different kinds of users to build, manage, retrieve, update and store data....
by Aman Raiyyani | Jul 15, 2022 | SQL Server
This extended and undocumented stored procedure can be used to list all folders and subfolders (recursively) from a given directory. XP_DIRTREE has three parameters: Directory – This is the directory you pass when you call the stored procedure; for...