Results 1 to 4 of 4

Thread: Rename (MySQL)

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2002
    Posts
    259

    Rename (MySQL)

    How can I rename Table or Field ?

  2. #2
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923
    check out the ALTER TABLE statement

  3. #3
    If you're running ALTER on your own computer (in which case you'd probably connect to MySQL as root) then it's okay, but a few hosts out there block the ALTER statement. Therefore you might want to redesign your database structure only initially (i.e., when setting up your PHP app), and not make it a normal procedure for your app.

  4. #4
    Junior Member
    Join Date
    Jul 2002
    Location
    San Diego, CA, U.S.A
    Posts
    30
    true, some hosts do... try it, just make a temp script... and then get rid of it though

Posting Permissions

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



Click Here to Expand Forum to Full Width