What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » SQL Questions - Urgent

SQL Questions - Urgent
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. SQL Questions - Urgent
A buddy at work is trying to create a page that will accept more then 255 characters to input into a database.
10-17-2005 10:51 PM
Profile E-Mail PM Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: SQL Questions - Urgent
Maybe put it in a blob?
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
10-17-2005 11:08 PM
Profile PM Web Find Quote Report
surfichris
Former Admin
*****

Avatar

Posts: 2365
Reputation: 81
Joined: Mar 2002
RE: SQL Questions - Urgent
Err.. That is a statement, not a question. I'm confused at exactly what you want us to tell you?

To accept more than 255 characters (i'd assume you're using MySQL and a varchar column) you need to change the column type to TEXT (Shawnz, BLOB is designed for binary data).

If you're using MS Access (very much doubt it) then the field type would be changed from Text to Memo.

Of course, this is pretty much different in every DBMS so you need to be more specfic.
10-17-2005 11:57 PM
Profile PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
O.P. RE: SQL Questions - Urgent
quote:
Originally posted by Chris Boulton
Err.. That is a statement, not a question. I'm confused at exactly what you want us to tell you?

To accept more than 255 characters (i'd assume you're using MySQL and a varchar column) you need to change the column type to TEXT (Shawnz, BLOB is designed for binary data).

If you're using MS Access (very much doubt it) then the field type would be changed from Text to Memo.

Of course, this is pretty much different in every DBMS so you need to be more specfic.
Thanks surfi, I will find exactly what my friend is trying to do and update this post. As far as I know he changed the feiled from Text to Memo but its still only accepting 255 chars when its saved.

But I will double check this.
10-18-2005 12:33 AM
Profile E-Mail PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: SQL Questions - Urgent
So it's safe to assume he's using MS Access?
* RaceProUK wonders why...
Anyway, is there anything like a 'Length' property for a Memo column? That may still be set to 255.
[Image: spartaafk.png]
10-19-2005 02:05 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On