如何在SQL Server 2005中的特定位置添加列 [英] how to add column at a specific position in sql server 2005

查看:98
本文介绍了如何在SQL Server 2005中的特定位置添加列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在sql server 2005中的特定位置添加列

how to add column at a specific position in sql server 2005

推荐答案

使用Query在SQL Server中是不可能的.

为此使用设计视图

您可以通过创建视图来获取数据

按需要在select语句中写列名

访问链接
http://blog.sqlauthority.com /2008/04/08/sql-server-change-order-of-column-in-database-tables/ [
using Query it is not possible in SQL server.

use design view for this
or
you can fetch data by creating your view
or
write column-names in select statement in order you want

visit link
http://blog.sqlauthority.com/2008/04/08/sql-server-change-order-of-column-in-database-tables/[^]
Happy Coding!
:)





请参考以下链接,

Alter表-添加新列并设置位置 [ ^ ]
Hi ,


Please refer the below link,

Alter table - Add new column and set the position[^]


这篇关于如何在SQL Server 2005中的特定位置添加列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆