How to UPDATE from a SELECT statement using dbForge Query Builder for SQL Server

How to UPDATE from a SELECT statement using dbForge Query Builder for SQL Server


In this tutorial, we will show how to convert SELECT query into UPDATE statement with the saving of WHERE condition using dbForge Query Builder for SQL Server.

0:00 Introduction
0:08 Welcome to dbForge Query Builder for SQL Server Tutorials
0:30 Create a SELECT query
0:44 Specify a selection condition
1:00 Performing the UPDATE from the SELECT statement and run it
1:10 Preview updated data

☑️ Find more information about dbForge Query Builder for SQL Server here:
https://www.devart.com/dbforge/sql/querybuilder/

☑️ Download dbForge Query Builder for SQL Server:
https://www.devart.com/dbforge/sql/querybuilder/download.html

#SQLUPDATE #SQLSELECT #QueryBuilder #SQLQuery #SQLServer #SQL #dbForge #Devart #Database
Closed Caption:

Welcome to dbForge Query Builder for Sequel
Server Tutorials.
In this tutorial, we will show how to:
create a SELECT query,
preview updated data,
convert a SELECT query to an UPDATE query
and run it.
Let's select the Example.Customer table and
check its content.
You can see that the Address type for all
records equals "Home".
Let's create a query that will change the
"Home" value to "Office"for all rows with
the CustomerID field values between 130 and
730.
Send the table to the Query Builder.
The SELECT query for the table was created.
Now, let's specify a selection condition:
Values of the CustomerID column are between
130 and 730.
You can preview the rows that have to be changed.
You can see a lot of matching records.
Now change the query type to UPDATE, select
the AddressType as the column to be updated,
and set its value to "Office".
Execute the query.
Now return to the table and refresh it to
review the updated data.
Click the Filter icon on the AddressType column
header and select "Office".
You can see that the required rows were successfully
updated, while the rest of the rows remain
unchanged.
You can download a 30-day trial edition of
dbForge Query Builder for Sequel Server at
Devart.com.
Thank you for watching.

Video Length: 01:39
Uploaded By: Devart
Published: 6/25/2021
View Count: 710

Related Software Products
dbForge Query Builder for SQL Server
dbForge Query Builder for SQL Server

Published By:
Devart

Description:
dbForge Query Builder for SQL Server: Draw Your T-SQL Instead of Typing It dbForge Query Builder for SQL Server is a $139.95-a-year Windows tool from Devart that lets you build SELECT, INSERT, UPDATE and DELETE queries for Microsoft SQL Server and Azure SQL by dragging tables onto a diagram and ticking columns. It's aimed at analysts, report writers and developers who need multi-table joins without hand-writing every line, and it adds a query...


Related Videos
Designing SELECT Query using dbForge Query Builder for SQL Server
Designing SELECT Query using dbForge Query Builder for SQL Server

Video Length: 02:55
Uploaded By: Devart (7/7/2014)
View Count: 8,121

Viewing SQL Data using dbForge Query Builder for SQL Server
Viewing SQL Data using dbForge Query Builder for SQL Server

Video Length: 02:57
Uploaded By: Devart (6/23/2015)
View Count: 3,139

How to create SQL INSERT Statement using dbForge Query Builder for SQL Server
How to create SQL INSERT Statement using dbForge Query Builder for SQL Server

Video Length: 02:24
Uploaded By: Devart (1/19/2021)
View Count: 1,415

Editing SQL Data using dbForge Query Builder for SQL Server
Editing SQL Data using dbForge Query Builder for SQL Server

Video Length: 01:44
Uploaded By: Devart (6/10/2020)
View Count: 1,116

Copyright © 2026, Ivertech. All rights reserved.