Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2002

    Unanswered: changing type of primary key

    Hi guys

    gota a quick question

    ok.. lets say.. i have mysql database.. and in that database.. i gota table .. in that table i got a primary key seq_id which is int.. and then i got another table.. and it also has the same key seq_id which is int as well.. and i got data in that table.. now lets say if i wanna change the type from int to char.. will it affect .. my data?

    thanks in advance

  2. #2
    Join Date
    Sep 2004
    Yes you may, no data affected but you must convert from int to varchar...

Posting Permissions

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