#1 2022-02-10 14:47:15

Codorna
Member
Registered: 2018-06-26
Posts: 21

Can I safely increase MAX_SQLTABLE when the database is in use?

Mine is at 256 and I'd like to change do 512 because danm brazilian laws. Is it safe?

Edit: It's mORMOt 1, I forget to say.

Last edited by Codorna (2022-02-10 18:06:52)

Offline

#2 2022-02-10 18:14:29

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,527
Website

Re: Can I safely increase MAX_SQLTABLE when the database is in use?

You can't put it bigger than 256 because the Delphi/FPC sets are limited to 256 items - i.e. 32 bytes.

It just won't compile, I am afraid.

Offline

#3 2022-02-11 13:28:39

Codorna
Member
Registered: 2018-06-26
Posts: 21

Re: Can I safely increase MAX_SQLTABLE when the database is in use?

I see, thank you, guess i should make a new TSQLRestServer then

Offline

#4 2022-02-11 14:06:28

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,527
Website

Re: Can I safely increase MAX_SQLTABLE when the database is in use?

Yes, just you can create up to 256 tables per TSQLRestServer model. smile

Offline

Board footer

Powered by FluxBB