chibineku Posted October 18, 2009 Share Posted October 18, 2009 Title says it all really. If I had a table with unknown columns and I wanted to return a list of column names, how can I do it without selecting any particular row? I know I could just select a record and foreach through them, extracting the keys, but is there a way without actually extracting any particular record? Link to comment Share on other sites More sharing options...
Synook Posted October 19, 2009 Share Posted October 19, 2009 SHOW columns IN `table` SHOW is a sort of meta-SELECTor. Link to comment Share on other sites More sharing options...
chibineku Posted October 19, 2009 Author Share Posted October 19, 2009 спасибо! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.