aip.im

Just another weblog

aip.im
  • Home
  • About
  • Contact Me
Subscribe
19 August 2011 0 Comments

How to add new column to a MSSQL table between two existing columns

It’s possible but not as easy as ALTER TABLE [table] ADD COLUMN [column] [type] AFTER [anothercolumn]; like supported in MySql. We need to drop all contraints, create a temporary table with the new structure, copy all data to the temporary table, drop the old table and rename the temporary table. Below is a script that [...]

Tags: mssql
  • Popular
  • Comments
  • Tags
  • Buddypress avatars not shown in Cometchat after upgrade to Wordpress 3.0
  • Monitoring Proxmox OpenVZ container's bandwidth
  • Re-map user to login in SQL server after restoring or attaching database
  • Debugging logrotate issues
  • Hobbit doesn't recognize last apt-get update
  • Alienation: Thanks, worked like a charm. Just a note: in st...
  • hmm...?: thanks...
  • dz-tchat: hi, try to use bp_core_fetch_avatar bp_core...
apt ASP.NET Buddypress Certificates Cometchat dd Debian Exchange hobbit IIS Linux logrotate Magento Mail mailscanner Microsoft SQL Server migration msdeploy mssql OpenSSL OpenVZ performance PHP Proxmox swfupload Thawte upgrade upload webdeploy Windows Windows Server Wordpress

Categories

  • ASP.NET
  • Debian
  • IIS
  • Linux
  • Magento
  • Mail
  • Microsoft SQL Server
  • OpenVZ
  • PHP
  • Proxmox
  • Security
  • Windows
  • Windows Server
  • Wordpress

Blogroll

  • Debian Tutorials
  • Domain DropBox
  • Ubuntu Tutorials
  • VPS Box

Copyright © aip.im 2009. All Rights Reserved.

A proud member of the premium wp themes family