I have a long text But while showing I only want to show the 200 characters How to query only for 200 characters out a long text that is saved in mysql table as data type as ‘TEXT’; or do I need need to save the text by slicing the text upto 200 charcters and saving it in another column ?
Share
You can use
SELECT LEFT(column,200) FROM tableor substring the result after selecting it from the database.