.NET Zip component, Delphi Zip component, Barcode .NET, BDE Replacement and other .NET and Delphi components from ComponentAce
Products Download Order Contact us


Delphi/C++ Components
.NET Components
ActiveX Controls
Kylix Components


Download Commercial
Trial Limitations


Submit Request
Support Options


Competitive Upgrade
Premium Support
Sales Policy
Upgrade Policy
License Types


Mailing List

About Us
Contact Us
Link to Us

Home > Delphi/C++ Components > Absolute Database > Alter Table Memory SQL Example

Absolute Database

Overview | Features | Requirements | Testimonials | SQL Samples | Code Samples | Screenshots | See Also | Download | Order
Alter Table Memory SQL Example
This sample illustrates use of ALTER TABLE statement with MEMORY option.
This SQL script contains eight queries.
First one deletes table named "MyTable".
The second creates this table IN-MEMORY with 3 fields.
Queries 3 - 6 insert some data into the table.
The seventh query adds a new column named "val3" of type float to the table.
Query #8 retrieves all rows from this table.

drop table memory MyTable;
create table memory MyTable (ID AutoInc, val1 Integer, val2 string(10));
insert into memory MyTable (val1, val2) values (2,'2');
insert into memory MyTable (val1, val2) values (4,'3');
insert into memory MyTable (val1, val2) values (5,'9');
insert into memory MyTable (val1, val2) values (7,'Hello');
alter table memory MyTable add (val3 float);
select * from memory MyTable order by ID val2 desc

Download Absolute Database | Learn more

Product Info

Current version: 7.94
Released: February 08, 2023
Price: $ 149


Our Customers


We made three requests of the technical support personnel and despite the fact that these were all implementation questions (not bugs in their software) we received support within 24 hours. It is rare to get such good customer support these days and I really appreciate everything ComponentAce has done for us.

Jason Goodridge, Development Manager

        © 2003 - 2023 ComponentAce  | .net zip component | barcode for .net | delphi zip component | delphi database Jun 05, 2023