stucture of SQL table

Post Reply
User avatar
Otto
Posts: 4470
Joined: Fri Oct 07, 2005 7:07 pm
Contact:

stucture of SQL table

Post by Otto »

Dear Mr. Rao,
how can we get the structure of a SQL table.
Can you please tell me where I can find documentation for maria lib.
Thank you in advance

Otto
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org

********************************************************************
User avatar
rhlawek
Posts: 165
Joined: Sun Jul 22, 2012 7:01 pm

Re: stucture of SQL table

Post by rhlawek »

In SQL it is referred to as DDL.

https://stackoverflow.com/questions/659 ... e-in-mysql

show create table <database name>.<table name>;

Robb
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: stucture of SQL table

Post by nageswaragunupudi »

If you are using FWMariaDB

Code: Select all

aStruct := oRs:aStructure
 
If you are using any ADO connection

Code: Select all

   aStruct        := FWAdoStruct( oRs )
 
Regards

G. N. Rao.
Hyderabad, India
Post Reply