码迷,mamicode.com
首页 >  
搜索关键字:where select    ( 51223个结果
Linux网络编程 五种I/O 模式及select、epoll方法的理解
Linux网络编程 五种I/O 模式及select、epoll方法的理解web优化必须了解的原理之I/o的五种模型和web的三种工作模式五种I/O 模式——阻塞(默认IO模式),非阻塞(常用语管道),I/O多路复用(IO多路复用的应用场景),信号I/O,异步I/O
分类:系统相关   时间:2014-05-21 20:56:15    阅读次数:330
无法绑定由多个部分组成的标示符
前言 之前自己接触的sql这一块,都是自己写给sql查询语句或者是查询的条件。接触最多的sql还是最以前学习的的时候,写存储,视图,触发器这些。很长时间没有写过了,今天做了个视图。运行程序的时候就开始报错了。“无法绑定由多个部分组成的标示符”,后面就是表.字段一段一段的。脚本开始 Select * ...
分类:其他好文   时间:2014-05-21 20:12:15    阅读次数:245
Oracle 游标使用全解
这个文档几乎包含了oracle游标使用的方方面面,全部通过了测试-- 声明游标;CURSOR cursor_name IS select_statement--For 循环游标--(1)定义游标--(2)定义游标变量--(3)使用for循环来使用这个游标declare --类型定义 ...
分类:数据库   时间:2014-05-21 18:18:10    阅读次数:289
工作中的感悟
今天在工作中走了很多的弯路,仔细回想下 是自己的基础知识太薄弱了,很多知识点都是似是而非的状态,一知半解的,比如 linq中的entity.select(e=>e.Name).contians("sa") 竟然不知道到底返回的是社么类型,要有的专业精神还有就是sql的类型装换,完全没有印象了 se....
分类:其他好文   时间:2014-05-21 18:04:41    阅读次数:238
php做网站购物车 你搞懂了吗?
网上购物现已成为时尚,客户选择一个商品将其放入到购物车,然后返回继续购物或者去收银台,这个功能如何实现呢?今天capucivar就将使用PHP来实现这个购物车的功能。      首先,做一个简单的首页,从数据库中查询出来几种商品,显示在首页,再添加一个购买按钮。具体代码如下: include ("conn.php"); $sql="select * from produc...
分类:Web程序   时间:2014-05-21 16:53:38    阅读次数:518
ORA-00932: inconsistent datatypes: expected - got CLOB
最近数据库从10.2.0.3升级到了10.2.0.5之后,一些对象无法编译通过。查看了这些对象主要表现在之前写法不严格的SQL语法导致了这些package无法成功编译,诸如select查询列中不能使用混淆的列名称等。另外一个比较表现突出的是返回ORA-00932: inconsistent datatypes: expected - got CLOB错误,即不一致的数据类型,获得CLOB数据类型。...
分类:其他好文   时间:2014-05-21 16:34:25    阅读次数:434
LeetCode: Combination Sum II [039]
【题目】 Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be used once in the combination. Note: All numbers (including target) will be ...
分类:其他好文   时间:2014-05-21 15:55:25    阅读次数:259
LeetCode: Combination Sum [038]
【题目】 Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number may be chosen from C unlimited number of times. Note: All numbers (including target) w...
分类:其他好文   时间:2014-05-21 15:21:28    阅读次数:292
SQL 检索所有存储过程中是否包含某字符
--将text替换成你要查找的内容 select name from sysobjects o, syscomments s where o.id = s.id and text like '%text%' and o.xtype = 'P' --将text替换成你要查找的内容 SELECT ROUTINE_NAME, ROUTINE_DEFINITION FROM INFO...
分类:数据库   时间:2014-05-21 14:50:04    阅读次数:373
LeetCode: Trapping Rain Water [041]
【题目】 Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. For example, Given [0,1,0,2,1,0,1,3,2,1,2,1], return 6. The above elevation map is represente...
分类:移动开发   时间:2014-05-21 06:44:38    阅读次数:359
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!