Geeks With Blogs
Geeks with Blogs, the #1 blog community for IT Pros
Start Your Blog
Login
Nouman "Enz3" Zakir
17 Posts
| 41 Comments
Software professional with 6 years of industry experience in software analysis, design and development.
My Most Popular Posts
ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
4 comments |
1766 views
ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
4 comments |
5 views
ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
4 comments |
2 views
ReadOnly TextBox value in AJAX Calendar Extender on postback ASP.NET
4 comments |
1 views
My Other Recent Posts
Very useful windows run commands
Find text in SQL stored procedures
Launch browser to display HTML contents
Log uncaught application exceptions
Performance counter without overflow
Save Configuration Settings in Registry
Hello world!
News
Announcements
Post Categories
SQL
Windows
Funny
News
Programming
C#
.Net
ASP.NET
Archives
February 2013 (1)
March 2010 (3)
August 2009 (2)
February 2009 (7)
January 2009 (4)
Nouman Zakir
while (true) { Post.NewArticle(); }
<< Using SELECT statement to INSERT records in SQL
|
Home
|
Technical Support Conversations >>
Using SELECT statement to UPDATE records in SQL
Comments (2)
|
Share
You can use SELECT statement to update records through UPDATE statement.
In the SET Clause use the SELECT statement along with desired filters to
update the records.
UPDATE tblDestination
SET tblDestination.col=value
WHERE EXISTS (
SELECT col2.value
FROM tblSource
WHERE tblSource.join_col=tblDestination.join_col
AND tblSource.constraint=value)
Posted on Tuesday, August 4, 2009 6:28 AM
SQL
|
Back to top
Related Posts on Geeks With Blogs
Matching Categories
SQL Server: I need to get to a remote server and ...
SQL
SQL Server: Is there a query I can use that genera...
SQL
SQL Server Agent:: I Can't Edit a Job Step because...
SQL
SSIS: I get the error The column data for column "...
SQL
SQL Server 2012: How do I set "Edit top" rows to a...
SQL
Comments on this post: Using SELECT statement to UPDATE records in SQL
#
re: Using SELECT statement to UPDATE records in SQL
How would I insert it if the select part is a combination of fields from different tables?
Left by
Rico
on Nov 13, 2012 10:14 AM
#
re: Using SELECT statement to UPDATE records in SQL
How would I insert it if the select statement is a combination of fields from different tables expressed as one value?
E.g. (select A.val1 * B.Val2 as MyTotal From A,B where blah blah blah)
Left by
Rico
on Nov 13, 2012 10:31 AM
Your comment:
Title:
Name:
Email: (never displayed)
(will show your
gravatar
)
Website:
Comment:
Allowed tags: blockquote, a, strong, em, p, u, strike, super, sub, code
Enter the code shown above
Copyright © Nouman Zakir | Powered by:
GeeksWithBlogs.net
|
Join free
Popular Posts on Geeks with Blogs
0
Use the NotMapped Attribute with Entity Framework in Partial Classes
.NET Security Part 3
Live Coding During Presentations–Good or Bad?
Extending Team Explorer 2012 – Associating Recent Work Items
Powershell functions to get an xml node, and get and set an xml element’s value, even when the element does not already exist
Geeks With Blogs Content Categories
ASP.Net
SQL Server
Apple
Google
SharePoint
Windows
Visual Studio
Team Foundation Server
Agile
Office
Design Patterns
Web
Azure
Brand New Posts on Geeks with Blogs
0
APress Deal of the Day 22May/2013 - Pro C# 5.0 and the .NET 4.5 Framework
Summarizing event log data from BizTalk 360
APress Deal of the Day 21/May/2013 - Pro Application Lifecycle Management with Visual Studio 2012
New version of Syncfusion Metro Studio V2
Xat.com Image Optimiser - Useful for RWD