Hiển thị kết quả từ 1 đến 4 / 4
-
03-11-2002 23:02 #1
Mod: Visual Basic
- 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
-
04-11-2002 17:20 #2
ALTER TABLE MEMBERS MODIFY m_password TEXT(32) u have to enter the mdifying attribute which is m_password
Good luck
-
04-11-2002 21:57 #3
Mod: Visual Basic
- 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.
-
06-11-2002 01:16 #4
Mod: Visual Basic
- 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)


Quote
Bookmarks