
08-20-2008, 05:24 AM
|
|
|
ANY answer.
Re: How to get table structure via SQL?
Quote:
Originally Posted by Avaneesh
[sql]
select table_name,ordinal_position,column_name,data_type, is_nullable,character_maximum_length from
information_schema.columns where table_name like '%TABLENAME%'
order by ordinal_position
[b]AVANEESH[b]
[/sql]
|
Thanks a lot for this...
|