analytics

Technical Article

qurey hangs with distributed transactions

  • Topic

If I write an insert directly to a linked server then it works. If I do exactly the same via a distributed transaction it hangs. The syntax is 100% correct including the xact_abort on I'm using sql2000 sp2 with a domain service account. I can't believe the answer is upgrade to sp3a. Any suggestions gratefully received.

You rated this post out of 5. Change rating

2004-07-29

2 reads

Technical Article

RE: Cursor declaration.....

  • Reply

In effect they are the same as you stated. However you will never have a situation where you mistakenly forget to put "Local" on your declaration and end up with a global cursor and all of a sudden have a problem like Lars did above. I also find it easier to read the syntax as […]

You rated this post out of 5. Change rating

2004-05-17

Technical Article

RE: how to find sa password from registry in sql 2000/7.0/6.5 if i forget the sa password?

  • Reply

For 6.5 run regedit - Go to HKEY_CURRENT_USER/Software/microsoft/MSSQLserver/SQLEW/Registered servers and then double click on the required one.THe SA will be on the right of the screen vertically.Don't tell anyone this came from me - And I never use it because I never, ever forget my SA password as they are stuck on my screen with […]

You rated this post out of 5. Change rating

2004-01-16

8 reads

Technical Article

RE: help selecting sums from two similar tables

  • Reply

You can use a derived table like this Select Sum(T0.Docamnt)+T1.Docamnt_Sum As Total_Sum, T1.Docamnt_Month As Unique_Month From Table1 T0, (Select Sum(Docamnt) As Docamnt_Sum, -- Derived Table starts here DatePart(mm, Date) As Docamnt_Month From Table2 Group By DatePart(mm, Date)) As T1 -- Derived Table ends here Where DatePart(mm, T0.Date) = T1.Docamnt_Month Group By T1.Docamnt_Sum, T1.Docamnt_Month MW

2003-06-18

1 reads

Blogs

Small Data SF 2024

By

I can’t remember how I heard about Small Data SF 2024, but it caught...

A New Word: Moledro

By

moledro – n. a feeling of resonant connection with an author or artist you’ll...

Snowflake + Azure blob

By

Let’s go back to data platforms today and I want to talk about a...

Read the latest Blogs

Forums

7 sept, scheduled book

By philip.scott

Comments posted to this topic are about the item 7 sept, scheduled book

7 sept, schedlued article

By philip.scott

Comments posted to this topic are about the item 7 sept, schedlued article

6 sept, published book

By philip.scott

Comments posted to this topic are about the item 6 sept, published book

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers