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

Posted by kanakaraj at 03:21 No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

About Me

kanakaraj
View my complete profile

Blog Archive

  • ►  2021 (1)
    • ►  July (1)
  • ►  2020 (3)
    • ►  May (1)
    • ►  March (1)
    • ►  February (1)
  • ►  2019 (7)
    • ►  November (7)
  • ▼  2017 (12)
    • ►  August (1)
    • ►  June (3)
    • ►  May (4)
    • ►  April (3)
    • ▼  March (1)
      • Update from Select Query
  • ►  2016 (14)
    • ►  December (2)
    • ►  November (2)
    • ►  October (10)
Watermark theme. Powered by Blogger.