TimesTen默认结果集显示方式没有显示列名,在数据量比较多的情况下,查看数据非常不方便,下面将自己使用过程中的一些认识做个总结,希望对大家有帮助。
一、TimesTen默认显示方式
Command> select * from stud;
< 100, aadsf, 10 >
< 101, ads, 20 >
2 rows found.
二、以纵向方式显示结果集
Command> set vertical 1;
Command> select * from stud;
ID: 100
NAME: aadsf
AGE: 10
ID: 101
NAME: ads
AGE: 20
2 rows found.
三、以横向方式显示结果集
Command> set columnlabels 1;
Command> select * from stud;
ID, NAME, AGE
< 100, aadsf, 10 >
< 101, ads, 20 >
2 rows found.
本文介绍如何在 TimesTen 数据库中优化结果集显示方式,包括垂直显示和带列名的水平显示方法,便于数据查看。
3540

被折叠的 条评论
为什么被折叠?



