Jump to content

Archived

This topic is now archived and is closed to further replies.

Demonic

How can you grab a certain ammount of characters from a table?

Recommended Posts

Assuming you are using mysql:

[code]SELECT SUBSTRING(column FROM 1 FOR 50) FROM table[/code]

That'll select the first 50 characters from column in table.

Share this post


Link to post
Share on other sites

×

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.