stucture of SQL table

stucture of SQL table

Postby Otto » Wed May 01, 2019 12:07 pm

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
https://www.facebook.com/groups/modharbour.club
********************************************************************
User avatar
Otto
 
Posts: 6330
Joined: Fri Oct 07, 2005 7:07 pm

Re: stucture of SQL table

Postby rhlawek » Wed May 01, 2019 1:14 pm

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
rhlawek
 
Posts: 194
Joined: Sun Jul 22, 2012 7:01 pm

Re: stucture of SQL table

Postby nageswaragunupudi » Wed May 01, 2019 1:37 pm

If you are using FWMariaDB
Code: Select all  Expand view

aStruct := oRs:aStructure
 


If you are using any ADO connection
Code: Select all  Expand view

   aStruct        := FWAdoStruct( oRs )
 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Marc Venken, Silvio.Falconi and 123 guests