Jump to content
dkounal

ftstring vs varchar in TFDMemTable

Recommended Posts

Hi,

I usually use varchar fields in SQL databases with a big number as max size.

When I use a TFDMemTable, does the ftstring size consumes memory as described in its definition?

If I declare it as "Add('lab',ftstring,500)", does it consumes in memory 500bytes (or 1000bytes) for each record, or as a Delphi string type is just the content string size ?

I have Delphi professional and I can not see its code.

Thank you in advance

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×