###MSSQL
``select name from syscolumns where id=object_id('tablename')``

###Oracle
```
select COLUMN_NAME from all_tab_columns
where owner='OWNER' --需要大寫,否則找不到
and table_name='DIS_PHON_ACC' --需要大寫,否則找不到
order by column_id
```

REF: [sql指令取得table內的欄位名稱](http://blog.roodo.com/fionscenery/archives/19070448.html)