Viewing 15 posts - 3,991 through 4,005 (of 5,103 total)
sounds like you have highlighted the contents of the procedure for parsing. You can't use return if the Create procedure OR alter procedure statements are not present.
HTH
April 4, 2005 at 7:31 am
As soon as the distribution agent starts delivering all transactions the log will be clearing but the size won't be reduced.
April 1, 2005 at 7:26 am
Dam! and I thought the dream was becoming reality ![]()
Got me ![]()
April 1, 2005 at 7:17 am
Personally, I would persue Ken's Idea and combine both (select + update) into one statement that way you could get rid of the locking problem:
ex:
UPDATE unprocessed_message
SET state = @StateNext,
@id = id,
...
March 31, 2005 at 11:51 am
To be honest that is a BAD choise.
When you have to hardCode that means that maintainability and Complexity will exponentially grow. I SQL is a better approach to create a...
March 30, 2005 at 2:18 pm
>>I noticed that the job named: "Distribution clean up: distribution" job is disabled, by default.
I looked at BOL "Miscellaneous Agents" and it appears that job only runs for snapshot and...
March 30, 2005 at 1:52 pm
can you post the content on the insert trigger in the subscriber table?
March 29, 2005 at 2:20 pm
And if you keep reading more carefully under the FAST_FORWARD it says:
Specifies a FORWARD_ONLY, READ_ONLY cursor with performance optimizations enabled
![]()
March 29, 2005 at 2:09 pm
>> We had just recently done a similar test, different database, same situation, same cursor type, approx'ly 80k records processed in < 3 minutes.
I would bet a set based can do...
March 29, 2005 at 2:04 pm
By Looking at the declaration of your cursor you have created a DYNAMIC type and needless to say that is far from optimal (From BOL:The data values, order, and membership...
March 29, 2005 at 1:57 pm
-Can you post the @@fetch_status ? or it doesn't even gets there?
-Order by should never be used in views. Those are just tricks that harm performance you can always use...
March 29, 2005 at 12:52 pm
Besides,
You can disable a constraint but you can't disable an index (not yet you can in 2005
)
You can rebuild/Defrag/drop indexes but you drop/create...
March 29, 2005 at 12:44 pm
Jeswanth,
The inserted and deleted virtual tables are nothing but special tables generated from the transaction log. Deep down an update is nothing but a delete followed by an insert. Therefore...
March 28, 2005 at 8:08 am
Have you tried setting up the granularity to the row?
ex: "select * from myTable with (rowlock) where myVarBinaryColumn = @Value1
This statement is invalid:
insert into myTable set myVarBindaryColumn = @Value1
If you...
March 28, 2005 at 7:59 am
if you use the same trigger to handle the three possible events you can do this to determine what happened an act accordingly
declare @ins_cnt int, @del_cnt int
select @ins_cnt = count(*)...
March 28, 2005 at 7:51 am
Viewing 15 posts - 3,991 through 4,005 (of 5,103 total)