Oracle - 在表的注释中查找特定字符串

时间:2017-06-25 15:33:13

标签: oracle

Oracle数据库中有2000个表,我想获取列的哪些表包含 churn ,我该怎么做?

伪代码

for table in database:
    for current_column, current_column_comment in table:
        if 'churn' in current_column_comment:
            print(table, current_column, current_column_comment)

1 个答案:

答案 0 :(得分:1)

您可以在所有表​​格中选择

Vue.component('main-component', {
  template:  `
    <p>This is the main component. 
      <sub-component>
        <template scope="{test}">
          <button @click="test()">If this button is presses: "sub-component" must show up. </button>
        </template>
      </sub-component>
    </p>`,
  methods: {
  	test() {
    	   alert('main-component');
        }
  }
})

Vue.component('sub-component', {
  template: '<p>This is sub-component <slot :test="test"></slot> </p>',
  methods: {
       test() {
      	alert('sub-component');
      }
  }
})

var app = new Vue({
  el: '#app'
})