4000 varchar field - efficient if data is 6 char or 1000 char???

  • Using SQL 7

    Question: will the database automatically truncate the field to the size of the data stored in it, or will every entry/field have potentially 4000 empty characters and also have the potential to run slow when lots of data is stored and retrieved? 

    I'm storing data that could be 1-4000 characters and presumably most data will be much smaller than 4000 characters.  I just don't want to run into problems with speed and efficiency after a few thousand (tens of thousands?) records are entered, but obviously like having the flexibility of not limiting it to 300-500 characters or having multiple tables to deal with.

    Thanks in advance.

    Jason

     

  • Please don't cross post: http://www.sqlservercentral.com/forums/shwmessage.aspx?forumid=9&messageid=220556 

    People look at many forums. 

    Thanks

    I wasn't born stupid - I had to study.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply