正常:comment on column CRM_CUSTOMER.ACCOUNTNO is '编码';
目前:select 'comment on column '||upper(tablename)||'.'||upper(columnname)||' is '||(说明字段)||';'
from sys_tabcolumns where tablename='Crm_Customer'(此SQL是错误的,说明字段前后少了“‘”标识符)
求:说明字段表示一个字段的时候,查询之后出现 comment on column CRM_CUSTOMER.ACCOUNTNO is '具体说明字段内容';
就是出现两个红色的‘'’,目前那个sql出来是没有这连个标识符的
目前:select 'comment on column '||upper(tablename)||'.'||upper(columnname)||' is '||(说明字段)||';'
from sys_tabcolumns where tablename='Crm_Customer'(此SQL是错误的,说明字段前后少了“‘”标识符)
求:说明字段表示一个字段的时候,查询之后出现 comment on column CRM_CUSTOMER.ACCOUNTNO is '具体说明字段内容';
就是出现两个红色的‘'’,目前那个sql出来是没有这连个标识符的
解决方案 »
- 删除一条自动增长列记录,在下次插入数据时怎么让自动增长接着前面的序号?
- oracle性能问题,急急急!!!!
- 关于windows操作系统访问ibm aix 中oracle数据库问题
- Oracle 的高手们 强烈解决一下数据库还原的问题!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- 关于用SYS 远程连接ORACLE 的问题?
- 问个连接列的小问题
- 请各位高手看看我的这个存储过程该怎么写,真心感谢!!!
- 求一条高难度SQL语句
- 请问:ORACLE中用什么类型字段保存文件。怎样插入一条记录请举个例子
- 应该如何分折这个表结构??
- sqlplus我运行一个select语句。有时不能执行。
- 向使用过oracle xe的高手求救
目前:select 'comment on column '||upper(tablename)||'.'||upper(columnname)||' is '||(说明字段)||';'
from sys_tabcolumns where tablename='Crm_Customer'(此SQL是错误的,说明字段前后少了“‘”标识符)
求:说明字段表示一个字段的时候,查询之后出现 comment on column CRM_CUSTOMER.ACCOUNTNO is '具体说明字段内容';
就是出现两个红色的‘'’,目前那个sql出来是没有这连个标识符的
select 'comment on column '||upper(tablename)||'.'||upper(columnname)||' is '||(说明字段)||';'
from sys_tabcolumns where tablename='Crm_Customer'
改
select 'comment on column '||upper(tablename)||'.'||upper(columnname)||' is '||说明字段||';'
from sys_tabcolumns where tablename='Crm_Customer'
select 'comment on column '||upper(tablename)||'.'||upper(columnname)||' is '||(说明字段)||';'
from sys_tabcolumns where tablename='Crm_Customer'
查询出来的结果是:comment on column CRM_CUSTOMER.ACCOUNTNO is 编码;
而我要的结果是:comment on column CRM_CUSTOMER.ACCOUNTNO is '编码';