zoukankan      html  css  js  c++  java
  • plsql配置 orcale基本语法 中文乱码

     

     安装plsql之前要安装oracle客户端

    Net Configuration Assistant配置

    ------------------------------------------------------------------------

    select * from all_tab_comments
    -- 查询所有用户的表,视图等

    select * from user_tab_comments  
    -- 查询本用户的表,视图等

    select * from all_col_comments
     

    --查询所有用户的表的列名和注释.

    select * from user_col_comments
    -- 查询本用户的表的列名和注释

    select * from all_tab_columns
    --查询所有用户的表的列名等信息(详细但是没有备注).

    select * from user_tab_columns
    --查询本用户的表的列名等信息(详细但是没有备注).

    --一般使用1:
    select t.table_name,t.comments from user_tab_comments t

    --一般使用2:
    select r1, r2, r3, r5
    from (select a.table_name r1, a.column_name r2, a.comments r3
              from user_col_comments a),
           (select t.table_name r4, t.comments r5 from user_tab_comments t)
    where r4 = r1

    以上就是oracle查询用户所有表的语句介绍。

    ------------------------------------------------------------------------

    中文乱码

    新增环境变量
    我的电脑--属性--环境变量
    用户环境变量
    新建
    变量:NLS_LANG 
    值:SIMPLIFIED CHINESE_CHINA.ZHS16GBK


    ---------------------------------------------------------------------------------------------------------------------------------
    copyright:http://www.cnblogs.com/anee/
  • 相关阅读:
    三维形体的表面积
    访问所有点的最小时间
    链式队列
    顺序队列
    链栈
    顺序栈
    双向链表
    pyrhon 开始 基础类型
    GDI+_VB6_ARGB
    WindowsPhone自定义控件详解(一)
  • 原文地址:https://www.cnblogs.com/anee/p/2675835.html
Copyright © 2011-2022 走看看