Ado : Field Definition
Posted: Sun Jan 21, 2018 7:42 am
Hello ,
I try to use the defined datatypes from adodef.ch , i can only test in ADO , *.mdb or *.accdb
The goal is that the syntax is also accepted in MySql , MsSql , Oracle and Sqlite (see Adofuncs.prg)
Some defines are accepted in the syntax as :
[Fld2] TynyInt
where TynyInt comes from adoDef.ch : #define adTinyInt 16
(removing ad)
Is it safe to use this defines this way for all the DNS ?
Or
1) must we create a table as :
ADO MSSQL MYSQL ORACLE SQLITE
16 TinyInt TinyInt TinyInt TinyInt TinyInt
If so , where can i find this field definitions ?
Or
2) Can the field definition be made with the numeric var (16 in this example)
Frank
I try to use the defined datatypes from adodef.ch , i can only test in ADO , *.mdb or *.accdb
The goal is that the syntax is also accepted in MySql , MsSql , Oracle and Sqlite (see Adofuncs.prg)
Some defines are accepted in the syntax as :
[Fld2] TynyInt
where TynyInt comes from adoDef.ch : #define adTinyInt 16
(removing ad)
Is it safe to use this defines this way for all the DNS ?
Or
1) must we create a table as :
ADO MSSQL MYSQL ORACLE SQLITE
16 TinyInt TinyInt TinyInt TinyInt TinyInt
If so , where can i find this field definitions ?
Or
2) Can the field definition be made with the numeric var (16 in this example)
Frank