Jump to content
Lajos Juhász

FIREDAC - Auto Generate SQL

Recommended Posts

Hi,

 

Usually I like to use TFDUpdateSQL to generate SQL's to update the database. Now I have a case where it would be easier to let FD generate the insert statement. However I fail to see how to customize the SQL.

 

For some reason for Informix:

 

function TFDPhysInfxMetadata.GetNameParts: TFDPhysNameParts;
begin
  Result := [npCatalog, npSchema, npBaseObject, npObject];
end;
 

In case of informix npCatalog that's makes no sense as it is the database name. npSchema is the user and that is a big no. I have a database with multiple users and rights.

 

Is there a way to customize to generate the table name without prefixes? (When ApplyUpdates generates the insert or update statement.)

 

 

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

×