SQL modifies the table's primary key field type and primary key name to set a new primary key

Source: Internet
Author: User
* ** Filename: DropKeyAddKey. SQL * Description: If you want to modify the attribute of the table's primary key field, you need to delete the primary key and then recreate the primary key. The default table is the UserList Test table * Version: 1.0 * Created: 2013.08.2

/* ===================================================== ========================================================== ** Filename: dropKeyAddKey. SQL * Description: If you want to modify the attribute of the table's primary key field, you must first delete the primary key and then recreate the primary key. The default table is the UserList Test table * Version: 1.0 * Created: 2013.08.2

/* ===================================================== ==========================================================
*
* Filename: DropKeyAddKey. SQL
* Description: If you want to modify the attribute of the table's primary key field, you must first delete the primary key and then recreate the primary key. The default table is the UserList Test table.
* Version: 1.0
* Created: 2013.08.23
* Author: liangjw
* E-mail: liangjw0504@163.com
* Q: 592568532
* Profile Url: http://90ideas.net/
* Company: Copyright (C) Create Family Wealth Power By Peter
*
========================================================== ================================================= */
* Remarks: uploads the encapsulation of some of the frequently-used methods summarized by yourself. there are deficiencies and imperfections. I hope you can point them out and wish to work together.
* This article mainly studies the development of erp, cms, crm, B2B, oa and other systems and websites. We welcome IT personnel who share the same pursuit and learning to learn and communicate with each other.
* Learn and discuss about asp.net mvc, Ajax, jquery, html/css, xml, sqlserver, wpf, IIS, server construction, and security technologies.
<无>
Related Article

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.