Diễn Đàn Tin Học

Hiển thị kết quả từ 1 đến 4 / 4
  1. #1
    Tham gia
    16-07-2002
    Location
    Ha Noi
    Bài viết
    1,281
    Like
    0
    Thanked 0 Times in 0 Posts

    [Q] How to change a field in table (Access 2000)

    I use the following SQL:
    ALTER TABLE MEMBERS MODIFY m_password TEXT(32)
    but I get a error: "Error syntax..."
    And then, I try with
    ALTER TABLE MEMBERS MODIFY m_password CHAR(32)
    but i still get the same result

    How i have to do?

    sorry because of my english
    Được sửa bởi White_Rose lúc 23:08 ngày 03-11-2002
    Quote Quote

  2. #2
    Tham gia
    17-07-2002
    Location
    Nơi xuất phát
    Bài viết
    562
    Like
    0
    Thanked 0 Times in 0 Posts
    ALTER TABLE MEMBERS MODIFY m_password TEXT(32) u have to enter the mdifying attribute which is m_password
    Good luck

  3. #3
    Tham gia
    16-07-2002
    Location
    Ha Noi
    Bài viết
    1,281
    Like
    0
    Thanked 0 Times in 0 Posts
    I think that TEXT(32) is the attribute i want to change.

  4. #4
    Tham gia
    16-07-2002
    Location
    Ha Noi
    Bài viết
    1,281
    Like
    0
    Thanked 0 Times in 0 Posts
    hu hu hu...
    the answer is:
    ALTER TABLE MEMBERS ALTER COLUMN m_password VARCHAR(32)

Bookmarks

Quy định

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