How do I find the column listing in UniVerse with RetrieVe or SQL?

后端 未结 4 460
慢半拍i
慢半拍i 2021-01-23 03:13

I\'ve got an issue where a table (file) is set up to return column foo on LIST table and SELECT * FROM table. I need to know

4条回答
  •  时光取名叫无心
    2021-01-23 03:21

    Here are the basic varients:

    LIST DICT foo NAME
    
    SELECT @ID, NAME FROM DICT foo;
    

    These will give you a physical location that corresponds to the LIST-ITEM verb:

    SORT DICT foo WITH TYPE EQ "D" BY LOC LOC NAME
    
    SORT DICT foo WITH TYPE EQ "D" BY LOC LOC NAME TOXML
    

    Note that the "column name" or @ID is displayed by default during a LIST or SORT. TOXML can be useful, but there are a host of other XML features built in.

提交回复
热议问题