ITeye博客

2015 年文章归档

共 5 篇文章

oracle行转列(连接字符串函数)

方法一:wmsys.wm_concat(column) 介绍:其函数在Oracle 10g推出,在10g版本中,返回字符串类型,在11g版本中返回clob类型。括号里面的参数是列,而且可以是多个列的集合,也就是说在括号里面可以自 由地用‘||’合并字符串。如下面的例子: Select u_id, wmsys.wm_concat(goods || '(' || num || '斤)' ) goods_sum from shopping group by u_id 方法二:listagg (column,[,]) within group (order by ) [over (partition…

2015-06-26 21:31 · oracle

数据库schema与catalog简介

schema与catalog的含义(转) SQL SQL Server Hibernate Oracle 数据结构 转自:http://blog.sina.com.cn/s/blog_515015800100evtc.html 转自:http://smiky.iteye.com/blog/624745 按照SQL标准的解释,在SQL环境下Catalog和Schema都属于抽象概念,可以把它们理解为一个容器或者数据库对象命名空间中的一个层次,主要用来解决命名冲突问题。从概念上说,一个数据库系统包含多个Catalog,每个Catalog又包含多个Schema,而每个Schema又包含多个数据库对…

2015-06-15 22:42 · SQL

easyUI Datagrid expand row

Expand row in DataGrid to show subgrid <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="keywords" content="jquery,ui,easy,easyui,web"> <meta name="description" content="easyui help you build your web page easily!"> <title>Expand row in DataGrid to show s…

2015-03-24 18:12 · EasyUI

linux中按照条件批量结束进程

进程简单的说就是一个程序一次执行的过程,它是一个动态的概念。不管是在什么系统下,包含的任务进程多了,都会影响到系统的运行速度,很多进程是没有起到任何作用而仍然在系统下处于运行中,下面来看看在Linux中我们可以根据进程的关键词进行批量杀死的方法。 Linux结束包含某个关键字进程(批量杀死进程方法) ps -ef|grep ./amplxe-gui|grep -v grep|cut -c 9-15|xargs kill -9 批量杀死包含关键字“./amplxe”的进程。 "ps -ef" ——查看所有进程 "grep ./amplxe-gui" ——列出所有含有关键字"./amplxe-g…

2015-02-05 14:21 · ubuntu

ubuntu在桌面创建快捷方式(举例eclipse)

一、可以参考unbuntu 中大多的程序的快捷方式在:/usr/share/applications 二、 .1. 在/usr/share/applications目录下创建eclipse启动器配置文件 cd /usr/share/applications sudo gedit eclipse.desktop 2. 编辑eclipse.desktop并保存。简单的配置示例: #!/usr/bin/env xdg-open www.2cto.com [Desktop Entry] Version=1.0 Type=Application Terminal=false Icon[zh_CN]=/…

2015-01-23 15:20 · ubuntu