Vb.net Development and SQL Hints
Saturday, 18 March 2017
Update from Select Query
Create Table TestUpdate
(
TranId int identity (1,1),
Val1 int,
Val2 Int,
Val3 Int
)
Insert into TestUpdate values(1,2,1)
Update TestUpdate set Val3 = 4 from TestUpdate where val2 = 2
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment