Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

Simple SQL update query

$
0
0

We have a large table of customer accounts stored in MS SQL 2008.

I need to add a value to an existing column in this table for a number of accounts. For example, I have a list of account numbers to flag as 'active', and a list to flag as 'inactive'.

I'm reasonably comfortable navigating around SQL Server Management Studio, and I know how to pull a copy of the table into Excel, but I know very little SQL. I'm therefore not sure what the best way to achieve this would be.

What would Spiceheads recommend?


Viewing all articles
Browse latest Browse all 4871

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>