Viewing 15 posts - 1 through 15 (of 20 total)
For a 400GB heap table, the safest approach is usually a side by side migration rather than creating a clustered index directly on the existing table.
Create a new table with...
Deepesh Dhake
Database Administrator
May 19, 2026 at 8:49 pm
You can run following script before schema owner change. Save the Output. Rerun the output after the schema owner change.
SELECT dp.class,c.name,
'GRANT ' +...
Deepesh Dhake
Database Administrator
May 13, 2026 at 2:51 pm
Low memory may cause the delay but you would see the evidence such as memory grant waits(Resource_Semaphore), compile memory pressure(Resource_Semaphore_Query_Compile). You can look at sys.dm_exec_query_memory_grants dmv to check if memory...
Deepesh Dhake
Database Administrator
May 7, 2026 at 5:22 pm
If possible, you can create the indexed view on top the table and add Pk to the indexed view and replicate the view.
Or you can exclude tables without Pk keys.
Deepesh Dhake
Database Administrator
April 24, 2026 at 7:41 pm
Change Tracking or Change Data Capture is good option for on-going monitoring.
Deepesh Dhake
Database Administrator
April 23, 2026 at 6:07 pm
I will try to give couple of scenarios:
Deepesh Dhake
Database Administrator
April 22, 2026 at 6:47 pm
Microsoft's Official Recommendation
Deepesh Dhake
Database Administrator
April 21, 2026 at 3:10 pm
Hello,
I have updated the file. There are tables and functions in it and also the requirement is specified in requirement sheet. Can u help me out?
Deepesh Dhake
Database Administrator
October 19, 2012 at 1:26 pm
I have also provided the ddl statements
Deepesh Dhake
Database Administrator
October 19, 2012 at 11:27 am
Hello,
Using the table EmpHistory, it is not satisfying all the rules. So I want to use this function as it satisfies all the rules. This is what I want:
I have...
Deepesh Dhake
Database Administrator
October 19, 2012 at 11:20 am
Hello Luis,
Actually, there is table valued function which gives the same data as the emphistory table. I want to use that tabel instead of CTE. I have also provided the...
Deepesh Dhake
Database Administrator
October 19, 2012 at 9:23 am
Hello,
When I print it its correct. But when I see the report online that column doesn't show up. Can you help me with this?
Deepesh Dhake
Database Administrator
October 5, 2012 at 10:51 am
Hello Rob,
Can u also tell how to covert if the data type is varchar.
Thanks in advance.
Deepesh Dhake
Database Administrator
October 3, 2012 at 2:55 pm
This too doesn't work. Is there any other way to do this.
With Format(), I am getting some thing like this:
OctAber
SetAmber
etc
Deepesh Dhake
Database Administrator
October 3, 2012 at 10:11 am
Hello,
Originally, that column has Date as Data type. So, now what to do? IS there any other procedure to do this?
Deepesh Dhake
Database Administrator
October 2, 2012 at 10:57 pm
Viewing 15 posts - 1 through 15 (of 20 total)