Jump to content

PHP / MSSQL / ODBC Limits


bholbrook

Recommended Posts

[quote]WIN 2003 Server
MSSQL DB
ODBC Connection through PHP[/quote]
mssql sort of sucks.  Mysql would be your best bet, but if it's a huge chunk of text, use longtext type.  If it still cut's some off, then if it's temporary store it in a session, if not then you can always store an infinite amount in a file somewhere.  even if it's temporary.  But there is a huge limitation on mysql, with data type long text.  It isn't a php, or connection limitation.  You could have 50 different full length novels saved in 1 php variable.  The database however may have an upper limit, even with longtext, but a file is not limited, you can always add more to it, it just increases the bytes, taking longer to load
Link to comment
Share on other sites

Unfortunately we have no control over what database is being used, and I don't believe it is a database issue; the database field is holding the appropriate text.

I didn't think that strings had limits, and if ODBC doesn't limit it, what couold be the problem?

Does ODBC or MSSQL send the information in 4096 bit chunks and it has to be read that way?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.