I know the basics of SQL, but am not the best with some more advanced concepts. I'm trying to create a script that will do the following where it will pull variable "A" from a list and execute until it reaches EOF.
update tablex set fieldy = 'xxx' where fieldz = A
The file will just have a whole list of A values, each of which will need fieldy set to 'xxx.'
How would I script this? It's a SQL Server 2000 server and I'm using SQL Query Analyzer.
update tablex set fieldy = 'xxx' where fieldz = A
The file will just have a whole list of A values, each of which will need fieldy set to 'xxx.'
How would I script this? It's a SQL Server 2000 server and I'm using SQL Query Analyzer.