Viewing 12 posts - 1 through 12 (of 12 total)
sp_replrestart command worked for me . No Parameters required , you can simply run this command on the DB where you have this issue. Note that all the publications on...
January 22, 2021 at 7:22 am
you can use sp_who2 to see all processes and check which SPID is actaully causing blocking and kill that... To automate that you can write take the results of Sp_who2...
December 21, 2016 at 7:36 am
You can use Windows Scheduler to schdule your SSIS package execution.
Another tool which can call SSIS package is Control-M .
I had used Windows scheduler as well as COntrol-M...
December 21, 2016 at 12:07 am
Fair point Jeff. There shouldn't be really any doubt that if we replicate tables locally and use local tables in our join then performance will be definitely be better than...
December 20, 2016 at 11:54 pm
Try the below query , even if you skip one parameter it simply uses that columnName during comparison
alter procedure spGetDetails
(
@AccountID nvarchar(10)= null ,
@Name nvarchar(20) = null
)
as
begin
select * from...
December 19, 2016 at 11:10 pm
Hi Anand, Good to know that the query helped you. Indexes are categorized only in 2 categories Clustered and non-clustered Index. However, when you create an INDEX and you mention...
December 15, 2016 at 6:44 am
There are scripts to fetch the scripts for an index but its a big code , not a MS provided procedure/function like sp_helptext... you can refer one in below link......
December 15, 2016 at 5:08 am
Check the below code, ISNULL function should help to resolve this. Adding Recompile will take care of changing the query plan in case the variable is NULL and you end...
December 15, 2016 at 2:52 am
Your query is spending maximum time in Sorting the data. I checked your view and I see it uses "TOP 100 PERCENT " ... If you are getting 100 Percent...
December 15, 2016 at 2:36 am
Can you try below steps
1. Ensure that the 3 variables are declared as below
DECLARE @SQL1 Varchar(4000)
DECLARE @SQL2 Varchar(4000)
...
April 26, 2016 at 11:31 pm
I guess you need to refer DEPTCode without prefixing it with P. as Deptcode is not present in the stage_chris21.PSDET table. Try the below code and see if it...
April 25, 2016 at 1:10 am
Good point .. this is another difference between procedure and a function
When you create a function ,SQL server will allow you to call a procedure from the Function.
However when...
October 31, 2008 at 5:42 am
Viewing 12 posts - 1 through 12 (of 12 total)