Viewing 15 posts - 91 through 105 (of 158 total)
Hi Emperor100, Can you plz explain this SP as to how it works....Do I need the pass the @TableName as value or DB name?
Before creating the SP in a...
April 11, 2023 at 9:07 pm
April 11, 2023 at 8:39 pm
Try enabling named pipes and shared memory protocols and give it a try.
April 3, 2023 at 9:30 pm
40 databases, how many physical CPU's or VCPUs on this server? Looks like querying a huge Contacts table...
If it is SP, as Jeff pointed out, it is a case of...
April 1, 2023 at 2:58 pm
(1) You could use dynamic SQL and change the table name literally in the code before executing it.
Sorry, Scott I don't agree with the above. If you check out...
April 1, 2023 at 2:33 pm
Try this, just as a beginning step, I do not know your requirement. The SP picks the table using a Dynamic SQL statement if you store the newtable name in...
April 1, 2023 at 2:23 pm
Add a supporting non-clustered index for your DELETE operations. Similarly do it for UPDATE as well. These indexes will be huge in size based on the data and will help...
March 27, 2023 at 5:31 am
Try sp_whoisactive, you can search for it. It provides all the current running tasks/sql/jobs etc. It will also provide time in days, hours and mins since a task started.
March 27, 2023 at 5:06 am
You can gather statistics using this object sys.dm_db_index_usage_stats
It will provide information about seeks, scans, updates etc.
SELECT
DB_NAME(database_id) AS [Database Name],
...
March 27, 2023 at 4:57 am
In detail explained here in this link.
March 21, 2023 at 3:14 am
where is the output folder located? The domain user which is running the SQL Server Service needs access to that folder. Ask your NS team to provide access to the...
March 20, 2023 at 5:22 pm
From the error message, looks like you are trying to INCLUDE certain columns in CLUSTERED INDEX. Remember, when you create clustered index, all the columns of a table are automatically...
March 20, 2023 at 5:13 pm
Is this happening when you are trying to connect via listener ? Can you please add the output of select @@servername after connecting thru listener?
March 20, 2023 at 2:57 am
Agree with Drew.
Yes, show us what you tried. I give some additional info., understand how GROUP BY works and when to use it.
March 19, 2023 at 1:08 am
Can you check if the data movement is in operation and AG is functional between Primary and Secondary nodes?
Have your tried running this agent job earlier?
March 19, 2023 at 12:53 am
Viewing 15 posts - 91 through 105 (of 158 total)