Previous Thread
Next Thread
Print Thread
Rate Thread
#243366 04/20/2003 4:04 PM
Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
I want to know how long "varchar" has this element of mysql table. And if I change wight of G_Smiley, what will be?

My trouble this that VarChar has 10 long value, but I want to change it for 20...

Sponsored Links
Dawg_dup1 #243367 04/20/2003 4:16 PM
Joined: Dec 2000
Posts: 1,471
Addict
Addict
Offline
Joined: Dec 2000
Posts: 1,471
255 is the maximum, if i remember correctly.
20 will work for sure.

-Fusion- #243368 04/21/2003 7:19 PM
Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
thx But this is not working correctly, I changed it for 20, but it displays 10 value so far...
I tried to change it in my PhpMyAdmin

Dawg_dup1 #243369 04/21/2003 8:05 PM
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
What's the output from this query?

SHOW COLUMNS FROM w3t_Graemlins

joeuser #243370 04/22/2003 5:52 PM
Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
.
Attachments
76842-11.gif (0 Bytes, 30 downloads)

Sponsored Links
Dawg_dup1 #243371 04/22/2003 6:36 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
It's still varchar(10).

Do you get an error when you try to change it to 20? Does your DB user have permissions to alter tables?

Daine #243372 04/23/2003 5:46 AM
Joined: Jan 2003
Posts: 338
Enthusiast
Enthusiast
Offline
Joined: Jan 2003
Posts: 338
when I'm trying to change it program displays "table w3t_Graemlins has been altered." without any errors, but still I have 10 value.

Dawg_dup1 #243373 05/22/2003 3:54 PM
Joined: Apr 2003
Posts: 31
User
User
Offline
Joined: Apr 2003
Posts: 31
Try creating your own script to connect to the DB and give the ALTER TABLE command.

fiebre_dup1 #243374 05/22/2003 5:39 PM
Joined: May 2003
Posts: 5
Newbie
Newbie
Offline
Joined: May 2003
Posts: 5
Have you ever coded with UBB.Threads?

Marty_Escarcega #243375 05/22/2003 5:44 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Are you guys seeing who responds to the oldest threadx here? You've got a ways to go


- Allen wavey
- What Drives You?
Sponsored Links

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)