07-16-2007 09:17 AM
07-16-2007 10:13 AM
07-16-2007 10:26 AM
07-16-2007 10:40 AM
07-16-2007 11:05 AM - edited 07-16-2007 11:05 AM
Message Edited by will_t on 07-16-2007 11:07 AM
07-16-2007 11:32 AM
07-16-2007 11:39 AM
I'm also far from an expert on DBs, and I find getting back a 2D array is satisfactory. Are you saying that each row in the result of query can have a different structure?
In any case, the DB toolkit was designed to make things simple for people who do not have experience with DBs, not to be a high level DB manipulation tool. Its main advantage is that it parses clusters automatically, so that you can build clusters which map to tables, but you can do that yourself using some OpenG VIs.
If you really want, you can go into the Rec Get Value From Field, output the Name property and build your 1D array of column names, but my advice (like Dennis) is that if you understand a lot about DBs, don't use the toolkit and use something which is more low level.
07-16-2007 11:46 AM
07-16-2007 12:33 PM
SELECT * from MYTABLEThe columns occur in the order defined in the table definition.
07-16-2007 01:36 PM