Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Will empty string take up more space?
Message
From
22/10/2004 01:12:37
Km Kwun
Eastop Consultants Limited
Nt, Hong Kong
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Will empty string take up more space?
Miscellaneous
Thread ID:
00953619
Message ID:
00953619
Views:
55
My app will connect to either a VFP database or a SQL server (switchable by changing an INI file). I have set the TEXT field in SQL, mapping to a MEMO field in VFP, "not nullable" and default to an empty string. I think this is a better choice over setting the TEXT field nullable and default to NULL since code for both VFP and SQL backend will be easier to be kept the same.

What I understand is a TEXT field is a pointer to actual information. May question is will defaulting a TEXT field to an empty string (real value) take up more space than defaulting it to Null (no value).

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform