Database UPDATE statement related issues

Source: Internet
Author: User
Database UPDATE statement issues
Update table name set column name = string + table id+ string how to write

------Solution--------------------
Update table name set column name = ' segment string ' + table id+ ' string ';
------Solution--------------------
Hehe, #1 building Good Humor:)

Should I use CONCAT ()? ......
------Solution--------------------
discuss

Hehe, #1 building Good Humor:)

Should I use CONCAT ()? ......

------Solution--------------------
Update table name set column Name 1 = ' String 1 ', column name 2 = ' String 2 ', column name 3 = ' String 3 ' ....
------Solution--------------------
Update is a change data operation
------Solution--------------------
followed by where id= ' 1 '
------Solution--------------------
Use. Connection
------Solution--------------------
What he meant was to update the data in a known id= ' 1 ' data
------Solution--------------------
I don't know
------Solution--------------------
Update tablename set Name= '. $name. ' Where id=1;
------Solution--------------------
discuss

Update Winiis_c_fileaq set pageup= '. /aq/1207/index_ ' +cast (c_id-1 as varchar) + '. html '
I wrote it myself.
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.