码迷,mamicode.com
首页 >  
搜索关键字:exists    ( 4689个结果
数据库的增删改查和使用流程
创建表                      列名 类型, 1...create table Student (id integer , name text, sex text, age  integer) 2…create table  if not exists Student  (id integer , name text default '张三' , sex text n...
分类:数据库   时间:2014-07-08 18:47:19    阅读次数:213
php中的include和require的区别
主要关注红色标记语句即可。 The include (or require) statement takes all the text/code/markup that exists in the specified file and copies it into the file that uses the include statement. Including files is ...
分类:Web程序   时间:2014-07-08 12:53:30    阅读次数:213
Python Special Syntax 8: 序列化与反序列化-->华丽丽的叫 pickle(泡菜?!)
直接上代码吧#-*-coding:utf-8import osif os.path.exists('d:\\cpickle.data'): os.remove('d:\\cpickle.data')import cPickle as Pshoplist=['apple','banana','...
分类:编程语言   时间:2014-07-07 00:09:58    阅读次数:475
ECshop 表结构
-- 表的结构 `ecs_account_log`CREATE TABLE IF NOT EXISTS `ecs_account_log` (`log_id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID号',`user_id...
分类:其他好文   时间:2014-07-06 22:11:06    阅读次数:365
mysql创建自定义函数与存储过程
mysql创建自定义函数与存储过程一 创建自定义函数 在使用mysql的过程中,mysql自带的函数可能不能完成我们的业务需求,这时就需要自定义函数,例如笔者在开发过程中遇到下面这个问题mysql表结构如下DROP TABLE IF EXISTS `test`;CREATE TABLE `test....
分类:数据库   时间:2014-07-06 15:04:01    阅读次数:271
存储过程&Function
存储过程&Function编号类别ORACLEMYSQL注释1创建存储过程语句不同create or replace procedure P_ADD_FAC(id_fac_cd IN ES_FAC_UNIT.FAC_CD%TYPE)isDROP PROCEDURE IF EXISTS `SD_USE...
分类:其他好文   时间:2014-07-06 14:21:16    阅读次数:186
LeetCode——Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring. 给定一个字符串S,找出其中的最长回文...
分类:其他好文   时间:2014-07-06 00:15:15    阅读次数:240
java中IO写文件工具类
/** * 获取路径文件夹下的所有文件 * @param path * @return */ public static File[] getKeywordFiles(String path) { File dir = new File(path); if (!dir.exists()) return null; File[] fs = dir.listFile...
分类:编程语言   时间:2014-07-05 23:31:41    阅读次数:192
Leetcode Word Search
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:其他好文   时间:2014-07-05 21:30:45    阅读次数:175
MySql数据库学习
/*1.创建数据库*/create database if not exists test_01;/*2.查询所有数据库*/show databases;/*3.使用数据库 */use test_01;/*4.创建表*/create table if not exists BaseUser( ...
分类:数据库   时间:2014-07-02 14:11:25    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!