You are here: Re: Alter more than one view « MsSQL Server « IT news, forums, messages
Re: Alter more than one view

Posted by Dan Guzman on 01/04/07 12:16

You can include GO batch delimiter following each CREATE VIEW statement.
Tools like OSQL, SQLCMD, SSMS and Query Analyzer send the preceding batch of
SQL statements whenever a GO is encountered.

--
Hope this helps.

Dan Guzman
SQL Server MVP

"Siddu" <siddu.roy@gmail.com> wrote in message
news:1167892621.237538.321780@31g2000cwt.googlegroups.com...
> Hi All,
>
> I am new to this group and this is my first doubt i am facing at
> present.
>
>
> I am doing data migration. In this sequence i need to alter few views.
> Alter in the sense, inside the existing query of view i want to include
> one more column.
>
> I want to do it inside one single script. If i run the script all views
> should get updated.
>
> Any help on this will be greatful.
>
>
> my mail id is siddu.roy@gmail.com.
>
> Thanks in advance
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация