USE [sample]
GO
/****** Object: Table [dbo].[selvi] Script Date: 09/18/2012 12:37:29 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[selvi](
[name] [varchar](50) NULL,
[age] [int] NULL,
[address] [varchar](50) NULL,
[department] [varchar](50) NULL,
[course] [varchar](50) NULL,
[landmark] [varchar](50) NULL,
[moble] [varchar](50) NULL
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF
i need to add before the age field as father name
i need to add before the age field as father name

nallyaPosted Sep 18, 2012, 3:39 AM
http://www.codeproject.com/Questions/399359/insert-a-column-between-columns-in-SQL-Server
for alter and create statement refer This
http://www.techonthenet.com/sql/tables/alter_table.php
selvi subramanianPosted Sep 18, 2012, 4:05 AM
it throws error in sqlserver as Msg 102, Level 15, State 1, Line 1
Shivanand ArurPosted Sep 18, 2012, 4:00 AM
http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=58912
Shivanand ArurPosted Sep 18, 2012, 3:41 AM
selvi subramanianPosted Sep 18, 2012, 3:29 AM
Shivanand ArurPosted Sep 18, 2012, 3:28 AM
1. In the Object Explorer, Select your database... then select your table and right click on the table.
2. Select Design from the available list (After Right Clicking your table)
3. In the Design mode, to the extreme left of the columns... Right Click on the line and Click on "Insert Column"