Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3353066
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T02:06:23+00:00 2026-05-18T02:06:23+00:00

My ISPs server uses MySQL. I have a table which has a field with

  • 0

My ISPs server uses MySQL.

I have a table which has a field with 2000 characters in it, I show about 20 records at a time on most pages and this I think causes the site to be slow.

I’d like to limit the characters to 450, I can do this in PHP, but I was wondering if I could do it in the query instead, e.g. left(english2000,450) would that help ?

If so what would I use, I’m assume there isn’t a left function.

Also I’d like to keep the name of the field in tact can I do … left(english2000,450) as english200 ? if not how ?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T02:06:23+00:00Added an answer on May 18, 2026 at 2:06 am

    There is left() function in mysql:

    SELECT LEFT(somefield, 450) AS somefield
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a system with a globally open mysql connection to the local server.
My problem is my ISP has a pppoe client(only for windows) which forbids the
Is which IPs are assigned to which ISPs public information? How do geo IP
I have started monitoring my ISP's downtimes with a looping PHP script which checks
On our router we have the primary DNS set to a local IP, which
In Google Analytics I've created a Dashboard which shows me ISPs. According to https://developers.google.com/analytics/devguides/reporting/core/dimsmets#cats=visitor
I'm setting up my web server on Amazon's EC2. My site used to run
I've written a component in a Windows service (C#) which is responsible for sending
I'm pretty sure I remember reading --but cannot find back the links anymore-- about
I'm working on a Flash/Facebook game. My SWF and socket server are on different

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.