Viewing 7 posts - 1 through 7 (of 7 total)
HI,
Idle sessions will never consume your CPU resource. To start investigating, you can use sys.dm_exec_request OR sys.sysprocesses DMVs to check for sessions that are actively running at that instance. These...
February 5, 2020 at 12:44 pm
Hi All,
The DBA who was before me had used the Ola's code in the sql job. But as i found out, it did not removed fragmentation. So i tried to...
January 22, 2020 at 6:28 am
Hi,
Updating 0 rows is correct execution path and there is no error.
In order to check for the try catch block, you can do the following -
January 14, 2020 at 9:40 am
Hi,
Assuming you have to add 3 columns with data to the existing 5million row table.
Following is the approach which you can use -
January 7, 2020 at 9:51 am
Hi S_Kumar_S,
Even if you provide explicit DENY Insert/Update/Delete in the user securables within the database to the login-user, the procedure once executed by the same user will perform the DML.
As...
January 7, 2020 at 7:30 am
Since it is a part of SP, there must be some logic and requirements of other columns in the remaining SP code.
Get the requirements clear and eliminate the columns which...
November 26, 2019 at 11:58 am
Hi,
Using temp tables is beneficial when used in stored procedures and they come handy when you have to store temporary table values for further computations.
Yes, they consume storage and memory...
November 26, 2019 at 11:03 am
Viewing 7 posts - 1 through 7 (of 7 total)