Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2003
    Location
    Rio de Janeiro - Brazil
    Posts
    22

    Unanswered: Alter Table with Variables

    Hey Guys,

    IS possible that I use the command alter table using only variables ?

    ie : alter table @tabelname add @columname @datatype

    any example how to do that ?
    (ive declared the variables)

    Tks
    Felipe Tonioli

  2. #2
    Join Date
    Jan 2003
    Location
    Duncan BC Canada
    Posts
    80
    This thread on dynamic sql was pretty good:



    The post by AjarnMark on Dec 26, 2001 has a couple good references.
    Bradley

  3. #3
    Join Date
    Mar 2003
    Location
    Rio de Janeiro - Brazil
    Posts
    22
    Tks bcr, i already found this topic and Im using the solution now !

    Really tks for you help ..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •