QUOTENAME()

Technical Article

Updating a table with only one occurence of row from another table

  • Topic

I need to perform weekly updates of Table B. The data is derived from a table linked to an excel spreadsheet A. There may be several rows in this table which contain duplicated id's. What I need to do is take just one occurrence of the id but sum the line amount as follows:-A                                                                   BUnique ID   Line […]

You rated this post out of 5. Change rating

2005-04-21

1 reads

Technical Article

RE: Problem with Variables. SQL Server 2000

  • Reply

Personally, I do prefer (and use) the 'single-update' method to increment and return the next countervalue in one go. It makes it unnecessary to wrap in explicit transactions and such. It's physically impossible for the server to return the same counter to more than one caller.update  counterTable set     @nextid = nextId = nextId + 1 […]

You rated this post out of 5. Change rating

2005-04-20

Technical Article

RE: Removing old DBA logins

  • Reply

Yes, you can delete NT Authentication logins that have been deleted from the domain, because even if they were recreated in the domain, they would have different spid and so would not be recognized by SQL server anyway.

You rated this post out of 5. Change rating

2003-06-05

Technical Article

RE: SQL Perf Counters Lost

  • Reply

I have the same probelm on 3 SQL 2000 servers each running 3 instances of SQL. I have a call with Micrososft for this one. 3 weeks on we still havnt resolved the problem. Last call was to rebuild all servers.....

You rated this post out of 5. Change rating

2003-06-02

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