以下是包含关键词 select 的文章 ,如您还需要寻找更多资讯,请搜索相关内容:
     

[原创]Colume select - Editplus

Editplus的列选择。Windows平台下的字处理软件中,我只发现Editplus中提供了列选择的功能,而notepad,Windows Word都不行,UltraEdit也不行。列选择的意思就是选择一个矩形区域,选定的字内容只包括该矩形区域内的部分。相对而言,以notepad为例,选定的只能是包括至行尾的内容。记得有句话说,微软最大的贡献就是改变了世界上大部分人的用电脑的习惯。的确如此,恐怕大多数人都认为只能使用包括至行尾的选定内容才是正确的,在字处理中列选择是不可能的。如果我说的列选择解释的不够明白的话,可以对比mspaint(画图)中选定一个矩形区域的情形。Windows平台下只有Editplus实现了列选择功能,了不起。对比起来,Linux下的Office套件的字处理就包括这个功能。了不起。...

ISM How to select the Right CRM Software

...

[转帖]select语句的使用

 sql中select语句的使用方法(from fengyun  )数据表都已经创建起来了,假设我们已经插入了许多的数据,我们就可以用自己喜欢的方式对数据表里面的信息进行检索和显示了,比如说:可以象下面这样把整个数据表内的内容都显示出来select * from president;也可以只选取某一个数据行里的某一个数据列select birth from president where last_name=’Eisenhower’;select语句的通用形式如下:select 你要的信息from 数据表(一个或多个)where 满足的条件select语句有几个子句,他们的各种搭配能帮你查出最感兴趣的信息,这些子句可以很简单,也可以很复杂,看看作者是如何详细讲解的1,用各种操作符来设定检索条件要想让select语句只把满足特定条件的记录检索出来,...

做企业文化的可以看看:CULTURE OF ASSESSMENT WORKSHOP – select BIBLIOGRAPHY

...

关于like语句中的下划线

SQL> select * from test; ID ------------------------------------------------------------ c_zhang zhangsan cccccc SQL> select id from test where id like 'c\_%' escape '\'; ID ------------------------------------------------------------ c_zhang...

SQLServer和Oracle的常用函数对比

---------数学函数   1.绝对值   S:select abs(-1) value  O:select abs(-1) value from dual   2.取整(大)   S:select ceiling(-1.001) value   O:select ceil(-1.001) value from dual   3.取整(小)   S:select floor(-1.001) value   O:select floor(-1.001) value from dual   4.取整(截取)  S:select cast(-1.002 as int) value   O:select trunc(-1.002) value from dual   5.四舍五入  S:select round(1.23456,4) value 1.23460  O:select ...

MS SQL Server和Oracle的常用函数对比

1.绝对值   S:select abs(-1) value   O:select abs(-1) value from dual   2.取整(大)   S:select ceiling(-1.001) value   O:select ceil(-1.001) value from dual   3.取整(小)   S:select floor(-1.001) value   O:select floor(-1.001) value from dual   4.取整(截取)   S:select cast(-1.002 as int) value   O:select trunc(-1.002) value from dual   5.四舍五入   S:select round(1.23456,4) value 1.23460   O:select round(1.2345...

[转帖]权限

和权限有关的表介绍SQL> select table_name from dict where table_name like '%PRIV%';     SQL> select * from user_sys_privs; --查看直接授予用户的系统权限   SQL> select * from user_role_privs; --用户有哪些角色   SQL> select * from user_tab_privs; --检查一个用户被授予和授予其他用户的对象级权限     SQL> select * from dba_roles; --查询系统中的角色   SQL> select * from dba_sys_privs; --查询角色的权利   SQL> select * from dba_role_privs; --查询角色是谁定义的 ...

[原创]Hyper-V 在HP 7800上启用步骤之BIOS

To enable Intel VT and DEP do below steps.1. Reboot the computer2. Press F10 key and select Setup3. In the Security menu select OS security4. Enable Data Execution Protection and Intel Virtualization Technology5. Press F10 and Save changes and Exit6. Hyper-V should start without any issue after this...

Oracle管理查询管用的sql语句

Oracle日常管理用到的一些sql语句   表空间及容量:   select tablespace_name,sum(bytes)/1024/1024/1024 from dba_data_files group by tablespace_name;   表空间的空闲容量:   select tablespace_name,sum(bytes) from dba_free_space group by tablespace_name;   系统表空间:   select tablespace_name from dba_tablespaces;   系统数据文件:   select file_name from dba_data_files;   系统控制文件:   select value from v$parameter where name=’control_file...

Harvard Business Review, Apr2003, Vol. 81 Issue 4.哈佛管理评论最新期,,价值15美元

10 article(s) will be saved. To continue, select FILE then SAVE AS from your browser's toolbar above. Be sure to save as a plain text file (.txt) or an HTML file (.html). ...

oracle 密码与用户接口

select fnd_web_sec.validate_login('guest','Oracle') from dual; 驗證:fnd_web_sec.validate_login 解密:fnd_web_sec.decrypt 加密:fnd_web_sec.encrypt ...

[原创]在SQL Server中动态修改数据表结构

因为需要编写一个统计字段和统计内容都不确定的报表,需要对报表结构进行动态验证,根据业务需要调整报表的数据结构,我通过一下的存储过程来实现的。以下代码在SQL Server 2000 + SP4中调试通过。if exists(select * from sysobjects where lower(name)=lower('up_AddCol4Obbr') and xtype='P') drop procedure up_AddCol4Obbr gocreate procedure up_AddCol4Obbr @strTable nvarchar(100), @strColName nvarchar(100), @strType nvarchar(100)asbegin declare @strSQL nvarchar(...

SQL server 2000中有将字符串拆分的函数吗?

 create function uf_splitstring ( @str varchar(8000)--要分拆的字符串 ,@spli varchar(10)--字符串分隔符 ) returns @retab table(istr varchar(8000)) as begin declare @i int declare @splen int select @splen=len(@spli),@i=charindex(@spli,@str) while @i > 0 begin insert into @retab values(left(@str,@i-1)) select @str=substring(@str,@i+@splen,8000) select @i=charindex(@spli,@str) end if @str<>'' insert i...

to Convert a Long to Varchar2

...> insert into long_test values ('Hello' , 'World');SQL> set serveroutput on;SQL> declare  2     v1 varchar2(500);  3  begin  4     select field1 into v1 from long_test;  5     dbms_output.put_line(v1);  6* end;SQL> /HelloPL/SQL procedure successfully completed.Another test I completed is the follo...

表空间 查看表空间

select a.tablespace_name,  b.total/(1024*1024) "total M",  (b.total - nvl(c.free, 0))/(1024*1024) "used M",  round(((b.total - nvl(c.free, 0))/b.total)*100, 2) "% used",  nvl(c.free, 0)/(1024*1024) "free M",  round((nvl(c.free, 0)/b.total)*100, 2) "% free"from dba_tablespaces a,  (select tablespace_name, sum(bytes) total    from dba_data_files group b...

Oracle中的to_date参数含义

日期格式参数 含义说明 D 一周中的星期几 DAY   天的名字,使用空格填充到9个字符 DD 月中的第几天 DDD 年中的第几天 DY 天的简写名 IW ISO标准的年中的第几周 IYYY ISO标准的四位年份 YYYY 四位年份 YYY,YY,Y 年份的最后三位,两位,一位 HH 小时,按12小时计 HH24 小时,按24小时计 MI 分 SS 秒 MM 月 Mon 月份的简写 Month 月份的全名 W 该月的第几个星期 WW 年中的第几个星期 1.日期时间间隔操作 当前时间减去7分钟的时间 select sysdate,sysdate - interval ’7’ MINUTE from dual 当前时间减去7小时的时间 select sysdate - interval ’7’ hour fro...

oracle常用查詢、函數

1.取資料的前10筆select DISTINCT *  from 表名 WHERE ROWNUM <= 10 2.取系統日期,轉換為字符串select to_char(sysdate,'yyyy-MM-dd') from dual3.取得日期中得特定部分EXTRACT提取日期中的特定部分,格式取值可以是:year,month,day,hour,minute,second。select EXTRACT(YEAR FROM sysdate) from dual4.字符函數:4.1   initcap     首字母大寫 initcap(char)  例: select initcap('hello')  from dual4.2   lower&n...

知识管理执行与导入步骤

摘要 1.願景(Vision)2.確認(Identify)3.捕獲(Capture)4.篩選(select) 5.儲存(Store)6.分享(Share) 7.應用(Apply) 8.創造(Create) ...

[注意]现在的上传文件不支持FF了

在FF下,点击select按纽没有反应,所以目前要想上传文档,必须要在IE下,感觉这是个BUG,建议改进。...

[原创]答网友:如何在Sbo查找出单品单商的商品供应商对应关系?

有网友问:如何在Sbo查找出单品单商的商品供应商对应关系?答:select distinct a.itemcode, a.itemName, a.cardcode, a.cardname, a.groupCode, a.groupName, a.FrozenFor from  (select distinct b.itemcode, b.dscription itemName, a.cardcode, c.cardname, c.groupCode, d.groupName, c.FrozenFor   from OPDN a   inner join PDN1 b on a.docEntry=b.docEntry  inner join ocrd c on a.cardcode=c.car...

[转帖]WSUS 3.0 所需要的IIS7.0的组件

To install IIS 7.0 on Windows Server 20081.   Start the Server Manager (click Start, click Run, and then type CompMgmtLauncher).2.   In the tree view, select Roles, then in the Roles pane click Add Roles.3.   In the Add Roles Wizard, click select Server Roles, select the Web Service (IIS) check box, click Next, and then click Next again. At this time you may see ...

解决win xp sp2 及 win 2003 sp1 后看不了sapshow notes 的方法

Start Registry Editor (Start -> Run -> regedit.exe)        select the following key in the Windows registry:         [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\         Main\FeatureControl\FEATURE_DISABLE_MK_PROTOCOL]      -  select "New" -> "DWORD Value"       ...

[原创]盘点的查看

查看未过账的盘点-盈亏select T0.ItemCode, T1.ItemName, T1.FrgnName, T0.WhsCode, T0.WasCounted, T0.OnHand, T0.Counted ,T0.Counted -T0.OnHand AS '差异'FROM OITW T0 INNER JOIN OITM T1 ON T0.ItemCode = T1.ItemCodeWHERE T0.Counted <>T0.OnHand AND T0.WasCounted='Y'查看已过账的盘点-差异select T0.ItemCode, T0.Dscription, T1.FrgnName, T0.Warehouse, T0.InQty AS '盘盈', T0.OutQty  AS '盘亏',T0.InQty -T0.OutQty  AS '差异'...

[原创]some SQL

_select orderdetail4 from Orderdetailinfo4 orderdetail4,Orderinfo2 order2  where orderdetail4.orderid=order2.id and order2.objstatus<>’2’ and orderdetail4.objcount>0 and  not exists(_select orderdetail3.orderdetail2id from Orderdetailinfo3 orderdetail3 where orderdetail4.orderdetail2id=orderdetail3.orderdetail2id and orderdetail3.orderid is null and orderdetail3.curuserid=’40288...

学习动态性能表2-V$SESSION

v$session 表中比较常用的几个字段说明^_^ 1. sid,serial# 通过sid我们可以查询与这个session相关的各种统计信息,处理信息. a. select * from v$sesstat where sid = :sid; 查询用户相关的各种统计信息. select a.sid,a.statistic#,b.name,a.value from v$sesstat a,v$statname b where a.statistic# = b.statistic# and a.sid = :sid; b. 查询用户相关的各种io统计信息 select * from v$sess_io where sid = :sid; c. 查询用户想在正在打开着的游标变量. select * from v$open_cursor where sid = :sid; d. 查...

SQL数据库模糊查询内容语句

select *, Title AS Expr1, SubTitle AS Expr2 FROM [FS_News ] Where (Title LIKE '%贸易新手%') orDER BY Title SQL模糊查询的语法为 “select column FROM table Where column LIKE 'pattern'”。 SQL提供了四种匹配模式: 1. % 表示任意0个或多个字符。如下语句: select * FROM user Where name LIKE '%三%' 将会把name为“张三”,“三脚猫”,“唐三藏”等等有“三”的全找出来; 2. _ 表示任意单个字符。语句: select * FROM user Where name LIKE '_三_' 只找出“唐三藏”这样name为三个字且中间一个字是“三”的; select * FROM...

超超超经典的 SQL 语句 大全

...BASE pubs TO testBack 4、说明:创建新表 create table tabname(col1 type1 [not null] [primary key],col2 type2 [not null],..) 根据已有的表创建新表: A:create table tab_new like tab_old (使用旧表创建新表) B:create table tab_new as select col1,col2… from tab_old definition only 5、说明:删除新表 drop table tabname 6、说明:增加一个列 Alter table tabname add column col type 注:列增加后将不能删除。DB2中列加上后数据类型也不能改变,唯一能改变的是增加varchar类型的长度。 7、说明:添加主键: Alter ta...

oracle 数据库里查看表空间使用状况

Oracle表空间的执行状况要经常查看,一般空闲比例过低的时候就应该考虑增大表看空间了。查看方法如下SQL: 方法一: select dbf.tablespace_name, dbf.totalspace "总量(M)", dbf.totalblocks as 总块数, dfs.freespace "剩余总量(M)", dfs.freeblocks "剩余块数", (dfs.freespace / dbf.totalspace) * 100 "空闲比例" from (select t.tablespace_name, sum(t.bytes) / 1024 / 1024 totalspace, sum(t.blocks) totalblocks from dba_data_files t group by t...

[分享][分享]Oracle一些常用查询

-- 检查无效对象 select object_name,object_type,owner from dba_objects where status='VALID' --查找最高点和表的无用块 select blocks "HIGH WATER MARK",empty_blocks "UNUSED SAPCE" from dba_tables where table_name ='TBZY_FAREACCOUNT' AND OWNER='HIS_SERVER' --查找用户的表空间 select USERNAME FROM DBA_USERS WHERE DEFAULT_TABLESPACE ='SYSTEM' OR TEMPORARY_TABLESPACE='SYSTEM' --数据库I/O大小的计算 db_block_size * db_fi...

[原创]oracle sqlplus执行sql文件

Oracle执行外部文件:c:>sqlplus user/pwd@dbsql>@new.sql执行多个sql文件:1.把所有的文件都放在同一个目录下,然后在命令行里执行命令:         c:>dir/b > d:\1.sql   会把所有的sql文件名都输出到一个sql文件中。2.用UltraEdit打开生成的sql文件,alt+C切换到column mode,给所有的行前都添加一个“@”,保存。3.在sqlplus中执行“@d:\1.sql”如何避免'&'字符:sql中&可以传递参数,但有时需要插入'&',例:SQL> select '&hello' v ...

[原创]对指定数据库的log文件进行压缩

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_TOOL_CompressDBLog]') and OBJECTPROPERTY(id, N'IsProcedure') = 1)drop procedure [dbo].[sp_TOOL_CompressDBLog]GOSET QUOTED_IDENTIFIER OFF GOSET ANSI_NULLS ON GOCREATE PROCEDURE dbo.sp_TOOL_CompressDBLog    --對指定數據庫的log文件進行壓縮(    @DATABASENAME VARCHAR(30) = ''    --數據庫名, 如果為'', 則為當前數...

add a Security Group

Customer need to add a Security Group then a Role and then added those Roles to those users.Adding a Security GroupTo create a security group and assign permissions:1. select Security�Permissions by Group.2. Click Add Group to display the Add New Group Screen (page 3-12).3. Enter a group name and description.4. Click OK.5. Set permissions for the security group:a. select the security group.b. Sele...

[原创]SAP Coding-Lesson 03

Open SQL:1.Too much "join" in sql results performance down,data process in buffer(internal table) therefore is recommended2.Better sql for data retrieve:First master data,second transaction data3.Two methods for data process,use working area or header line of internal table4.Using "select Into" will overwrite the data exist,whereas "select Appending" will reserve5.Dir...

SQL Server死锁的分析

...联机丛书仔细来看。 从CSDN学到了一个找到死锁原因的方法。我稍加修改,去掉了游标操作并增加了一些提示信息,写了一个系统存储过程sp_who_lock.sql。 需要的时候直接调用: sp_who_lock 就可以查出引起死锁的进程和SQL语句。 SQL Server自带的系统存储过程sp_who和sp_lock也可以用来查找阻塞和死锁,但没有这里介绍的方法好用。 if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[sp_who_lock]') and OBJECTPROPERTY(id, N'IsProcedure') = 1) drop procedure [dbo].[sp_who_lock] GO /*******************************************...

銷售分析-鼎新 TITOP

... │ └―――――┴――――――――――――――――――――┴――――――――┘ 檔案說明TIPTOP GP 1.0  3-3  TIPTOP  資料庫手冊銷售分析系統 (四)檔案程式關聯圖  4.1 檔案程式關聯表 ┌――――――――――――――――――――――――――――――――――――――┐ │檔案/ 程式編號 程式名稱 select Insert Update Del│ ├――――――――――――――――――――――――――――――――――――――┤ │osa_file 銷售目標單頭檔 │ │ │ │ axsi100 銷售目標維護作業 select Insert Update Del│ │ axsr100 銷售排名表 select │ │ axsr200 兩期銷售分析表 select │ │ axsr400 四期...

知识管理工具--folderprint

可以把文件夹的内容用树状结构打印出来的好东西,安装方法: 1. unzip the attached file. 2. run the setup.exe. 3. extract or copy the crack.exe to the same directory of the installation. 4. run the crack.exe, select "patch" button. ...

性格测验

Personality Test 性格测验 select a shape below that appeals to you the most and then scroll down to read about your personality. 选择一个最吸引你的图形,阅读相关的文字,即可知道你自己的性格。 ...

Profile setting for http (for graphic tab in blueprint)

1)        Transaction code: RZ102)        select “instance profile” and “Extended maintenance”, change3)        Set “icm/server_port_0” to add a new content –HOST=localhost4)        Set “ms/server_port_0” t...

XSLT(4)

...output-chapter-info"/> </xsl:template> <xsl:template name="output-chapter-info"> The name of chapter <xsl:number/> is ">xsl:value-of select="title"/>". </xsl:template> 查看示例XML   注意到,<xsl:apply-templates> 和 <xsl:call-template> 都用终止斜线代替封闭标签。封闭标签用来嵌套其他附着于特定指令或者参数的XSLT元素。 参数和变量    参数和变量是你在模版处理过程中可用的命名值。变量只定...

[分享]MS SQL Server中的CONVERT日期格式化大全

...e 值。值输出0(默认值)小数点左侧每三位数字之间不以逗号分隔,小数点右侧取两位数,例如 4235.98。1小数点左侧每三位数字之间以逗号分隔,小数点右侧取两位数,例如 3,510.92。2小数点左侧每三位数字之间不以逗号分隔,小数点右侧取四位数,例如 4235.9819。 使用 CONVERT:CONVERT (data_type[(length)], expression [, style])select CONVERT(varchar, getdate(), 120 ) 2004-09-12 11:06:08 select replace(replace(replace(CONVERT(varchar, getdate(), 120 ),\'-\',\'\'),\' \',\'\'),\':\',\'\') 20040912110608 select CONVERT(varchar(...

查看Oracle ebs 产品安装情况

select app.APPLICATION_ID, app.PRODUCT_VERSION,app.status,fap.application_short_namefrom FND_PRODUCT_INSTALLATIONS   app,fnd_application       fapwhere fap.application_id=app.application_idAND fap.application_short_name In ('PER','PAY')状态为I 则表示安装, S 表示共享, U 没有安装....

Sybase IQ常用的分析型函数例子

        Sybase IQ是高性能的数据仓库引擎,在SQL编程方面也引入了很多新的特性,分析型函数就是其一。常用的分析型函数包括:Grouping( ), Variance( ),StdDev( ), Rank( ), Dense_Rank( ),Percentile_Disc( ), Percentile_Count( ), Ntile( )等。         使用以上分析型函数,可以为用户的前端编程或者后台SQL编程带来极大的方便,以下对上述函数举些简单的例子。 select top 10 taxpayercode ,sum(mny_seze) as mny_seze_sukm, sum(mny_srze) as mny_srze...

Oracle函数之常见单行字符串函数

单行字符串函数用于操作字符串数据,他们大多数有一个或多个参数,其中绝大多数返回字符串 ascii() c1是一字符串,返回c1第一个字母的ascii码,他的逆函数是chr() select ascii(''a'') big_a,ascii(''z'') big_z from empbig_a big_z65 122chr()[nchar_cs]i是一个数字,函数返回十进制表示的字符 select chr(65),chr(122),chr(223) from empchr65 chr122 chr223a z bconcat(,)c1,c2均为字符串,函数将c2连接到c1的后面,如果c1为null,将返回c2.如果c2为null,则返回c1,如果c1、c2都为null,则返回null。他和操作符||返回的结果相同 select concat(''slobo '',''svoboda'') u...

[原创]sql触发器解密

...varchar(4000) , @OrigSpText3 nvarchar(4000), @resultsp nvarchar(4000)declare @i int,@status int,@type varchar(10),@parentid intdeclare @colid int,@n int,@q int,@j int,@k int,@encrypted int,@number intselect @type=xtype,@parentid=parent_obj from sysobjects where id=object_id(@objectname)create table #temp(number int,colid int,ctext varbinary(8000),encrypted int,status int)insert #temp select number...

SQL&PL/SQL问答

[Q]怎么样查询特殊字符,如通配符%与_ [A]select * from table where name like 'A_%' escape '' [Q]如何插入单引号到数据库表中 [A]可以用ASCII码处理,其它特殊字符如&也一样,如 insert into t values('i'||chr(39)||'m'); -- chr(39)代表字符' 或者用两个单引号表示一个 or insert into t values('I''m'); -- 两个''可以表示一个' [Q]怎样设置事务一致性 [A]set transaction [isolation level] read committed; 默认语句级一致性 set transaction [isolation level] serializable; read only; 事务级一致性 [Q]怎么样利用游标更新数据...

ORACLE中日期和时间函数汇总

...our digits 1998   24小时格式下时间范围为: 0:00:00 - 23:59:59....   12小时格式下时间范围为: 1:00:00 - 12:59:59 ....   1.   日期和字符转换函数用法(to_date,to_char)   2.   select to_char( to_date(222,'J'),'Jsp') from dual   显示Two Hundred Twenty-Two   3.   求某天是星期几   select to_char(to_date('2002-08-26','yyyy-mm-dd'),'day') from du...

[原创]XSLT点滴

...9/XSl/Transform">之后是stylesheet的主体部分:xsl是有一个或多个template模版组成的<xsl:template match="/"></xsl:template><xsl:template match="cd"></xsl:template>选取节点的值:(其中select是xpath表达式)<xsl:value-of select="title"><xsl:value-of select="/cd/title"/>xsl循环:<xsl:for-each select="catalog/cd"/></xsl:for-each>xsl单条件判断:(其...

[分享]公交车换乘线路查询算法及SQL存储过程~~

... table   Line(lineID   int,state   nvar_char(10),orderid   int,primary   key(lineID,orderid))    _insert   Line   _select   1,'鼓楼'     ,1    union     all     _select   1,'新街口',2    union     all...

[推荐]内连接

1内连接inner join在select语句中负责从多个表返回一个结果集。inner join 也可以用join代替。join用于将表按公共列连接,并返回公共列相符的记录。例如:use pubsgoselect sales.qty as 销售量,sales.title_id as 书名号,stores.stor_name as 书店名from salesinner join storeson sales.stor_id=stores.stor_idorder by sales.qty2.外连接outer join有3种right outer join (右外连接) 显示join从句右边的表所有的记录,而不管是否在左边表中有匹配记录。left outer join(左连接)显示join从句左边的表所有的记录,而不管是否在右边表中有匹配记录。full outer join(全外连接或外连接)...
(共 794 条) 上一页 1 2 3... 15 16