如果使用DB 2命令行处理器来运行查询,那么可以使用- d选项来省略X ML声明信息,还可以使用- i选项以一种美观的方式打印结果。
If you use the DB2 command line processor to run your queries, you can use the -d option to suppress the XML declaration information and the -i option to print the results in an attractive manner.
当然,它们能够以比较美观的格式进行打印,单个实例在适当的情况下类似列表,其他情况下则类似实例。
Yes, they print moderately nice looking representations of themselves; and single instances also act list-like when appropriate, but instance-like otherwise.
所以我们用printf也可以控制这种,打印结果的美观性。
So it turns out with printf you can actually control those kinds of aesthetics as well.
现在,粗心的作者可能会单击美观打印按钮,您的元素就会变为下面这样的形式
Now, an ignorant author clicks the pretty-print button and suddenly your element looks like this
现在,粗心的作者可能会单击美观打印按钮,您的元素就会变为下面这样的形式
Now, an ignorant author clicks the pretty-print button and suddenly your element looks like this
应用推荐