T-SQL

External Article

Swap column data due to inserting data into wrong columns for SQL Server table

  • Article

This article is for newbies who have just started their career in SQL development. Everyone might have faced this problem when importing or inserting data into tables when they accidentally put the data in the wrong columns. The first thought would be to delete the data and start over, but in this tip we look at a simple solution to swap the data.

2009-05-13

2,356 reads

SQLServerCentral Article

ROW_NUMBER(): An Efficient Alternative to Subqueries

  • Article

The ROW_NUMBER function has drastically changed the way we can write a number of queries in T-SQL. New author Francis Rodrigues brings us a few places where this function can improve the efficiency of your code.

4.52 (122)

You rated this post out of 5. Change rating

2010-01-29 (first published: )

71,695 reads

Blogs

Small Data SF 2024

By

I have often made an effort to attend conferences in the past to grow...

Additional Use for sp_statement_completed

By

Another discussion in Gothenburg (such a great group of people) around Extended Events lead...

Read the latest Blogs

Forums

test new topic

By philip.scott

posting a new topic

New article

By Steve Jones - SSC Editor

Comments posted to this topic are about the item New article

Monitoring Azure Blob Storage

By arindamxs

Comments posted to this topic are about the item Monitoring Azure Blob Storage

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