View Single Post
  #8 (permalink)  
Old 08-20-2008, 05:24 AM
Unregistered
 
Posts: n/a
Default ANY answer. Re: How to get table structure via SQL?

Quote:
Originally Posted by Avaneesh View Post
[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...
Reply With Quote