alter statement

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Raghava123
    New Member
    • Aug 2011
    • 2

    alter statement

    Hi goodmorning this is Raghavendra.M.
    I have an doubt on alter statement,my question is how to change column datatype int to nvarchar for 8 tables with a single statement in same database.please reply me as soon as possible.
    Thanking you
  • NeoPa
    Recognized Expert Moderator MVP
    • Oct 2006
    • 32668

    #2
    It can't be done in one statement as you are dealing with eight separate fields in eight separate tables.

    All eight statements can be done as part of the one transaction though, and committed when, and only when, all ALTER SQL commands have completed successfully.

    Comment

    Working...