Info
この質問は閉じられています。 編集または回答するには再度開いてください。
Can we see query fields in Workplace?
1 回表示 (過去 30 日間)
古いコメントを表示
Can we also pull query fields into workplace when we query data? How to do it?
5 件のコメント
回答 (1 件)
the cyclist
2013 年 1 月 25 日
There is no way that I know of to return the column names along with the data of those columns. (It would be a bit odd to do so, since the names and data may be of different types.)
You can query the metadata of the database to get column names. For example, in postgresql you can write
SELECT attname , typname FROM pg_attribute , pg_type WHERE
typrelid=attrelid AND typname = 'table_name' ;
to find the columns for the table named table_name.
0 件のコメント
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!