Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append Blank to insert NULLs instead of blank
Message
From
09/10/2006 03:00:28
 
 
To
08/10/2006 13:59:06
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01160367
Message ID:
01160453
Views:
29
AFAICS, both APPEND BLANK and INSERT-SQL lock the table header and can cause the same issues in a multi user environment - for example "File is in use by another" error. With APPEND BLANK you set each field twice, once with it's default value and then with the data you want to insert, that's the biggest disadvantage.

As one can use INSERT FROM NAME with VFP9, one could rethink program logic using APPEND BLANK and GATHER or REPLACE with a more object oriented approach.

Bye, Olaf.
Previous
Reply
Map
View

Click here to load this message in the networking platform