随笔分类 -  Oracle Sql

Oracle Sql
摘要:pgsql 1. 没有isnull 用 coalesce 2. 字符串拼接用 || 3. 字符串类型和int类型不会自动转换(用作条件时) 4. 多行转一列 string_agg(distinct(字段名),'分隔符') distinct是为了去重可以不要 5. unnest(string_to_a 阅读全文
posted @ 2021-08-17 21:44 2eggs 阅读(574) 评论(0) 推荐(0)
摘要:select * from v$version; 1 Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production 0 2 PL/SQL Release 12.2.0.1.0 - Production 0 3 阅读全文
posted @ 2020-11-11 07:55 2eggs 阅读(114) 评论(0) 推荐(0)
摘要:select COLUMN_NAME,DATA_TYPE,DATA_PRECISION,DATA_SCALE,NULLABLE from user_tab_columns where table_name ='YourTableName' TBP_PM_EQUIP_CALL_STATUS selec 阅读全文
posted @ 2020-08-04 10:13 2eggs 阅读(367) 评论(0) 推荐(0)
摘要:sqlServer数据库常用连接字符串 sqlServer 数据库常用连接字符串 用户名和密码验证的方式去连接到数据库服务器 <add name="conStr" connectionString="Data Source=服务器名;Initial Catalog=数据库名; User Id=用户名 阅读全文
posted @ 2020-06-16 16:33 2eggs 阅读(1314) 评论(0) 推荐(0)
摘要:myini [mysql] # 设置mysql客户端默认字符集 default-character-set=utf8 [mysqld] #设置3306端口 port = 3306 # 设置mysql的安装目录 basedir=C:\App\mysql\mysql-8.0.20-winx64 # 设置 阅读全文
posted @ 2020-06-02 12:31 2eggs 阅读(676) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/yx007/category/944758.html PLSQL创建Oracle定时任务 https://www.cnblogs.com/yx007/p/6519544.html 阅读全文
posted @ 2020-05-11 08:05 2eggs 阅读(130) 评论(0) 推荐(0)
摘要:oracle 查找字符位置 开始按照长度截取 阅读全文
posted @ 2020-04-30 15:31 2eggs 阅读(529) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2020-04-21 09:38 2eggs 阅读(0) 评论(0) 推荐(0)