方法一:1 if exists (select * from tempdb.dbo.sysobjects where id = object_id(N'tempdb..#tempcitys') and type='U')2 drop table #tempcitys注意tempdb后面是两个....
分类:
数据库 时间:
2015-01-16 18:22:15
阅读次数:
218
spring官网隔三差五改变样式,今天正好要下载最新版本,拿出来与大家分享。1:http://repo.spring.io/webapp/home.html?4 进入spring code代码库。2:点击:Artifacts ,点击右侧:Quick Seach3:输入 spring-framewor...
分类:
编程语言 时间:
2015-01-16 12:40:12
阅读次数:
198
最近发布的脚本,有那种防止重复插入数据(包括存在时更新,不存在是插入的处理,判断的方向可能与下面的示例相反)使用类似下面的 SQLdeclare @id int, @value intif not exists( select * from tb where id = @id ) insert tb...
分类:
数据库 时间:
2015-01-16 09:57:46
阅读次数:
237
题目: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的一个最长回...
分类:
编程语言 时间:
2015-01-15 23:54:08
阅读次数:
207
Adobe Flash Player是一个跨平台、基于浏览器的应用程序。运行时,它可以跨屏幕和浏览器原汁原味地查看具有表现力的应用程序、内容和视频。Flash Player实现了移动屏幕上的高性能优化,设计为充分利用本机设备能力,从而实现更丰富、更引人入胜的用户体验。Adobe Flash Play...
分类:
其他好文 时间:
2015-01-15 23:47:49
阅读次数:
139
WinForms Controls>Controls>Chart Control>Getting StartedThis document gives you a quick overview of what resources you need to review first to get sta...
分类:
其他好文 时间:
2015-01-15 23:22:33
阅读次数:
517
Suppose a sorted array is rotated at some pivot unknown to you beforehand.
(i.e., 0 1 2 4 5 6 7 might become 4
5 6 7 0 1 2).
Find the minimum element.
You may assume no duplicate exists in ...
分类:
其他好文 时间:
2015-01-15 22:13:10
阅读次数:
176
一.如何在ubuntu上安装Flash Player
相信很多玩ubuntu的都会遇到这样一个问题,当你在网上看视频时,屏幕总会弹出你没用安装 Flash Player,然后就有一个选项叫你下载Flash Player.
遇到这种情况时,我们先下载下来,选择linux tar.gz版本,下载,然后解压到当前目录. 接着点开解压后的文件,你会看到libflashpla...
分类:
系统相关 时间:
2015-01-15 22:09:52
阅读次数:
203
题目:
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 "adjacent" cells are those horizontally or ver...
分类:
编程语言 时间:
2015-01-15 16:14:27
阅读次数:
301
楼主也是初学quick,想写几个简单的小项目入门,想想最简单的还是“微信打飞机”了(之前学cocos2d-js的时候也是从这个项目开始入手的)。
这里只是写一个微信打飞机的Demo,所以,不需要有太多的功能。先简单的分析下:
大概分为四个部分来实现:
1.先新建项目实现一个飞机在屏幕中移动
自定义场景,
精灵的定义
屏幕点击事件
2.在游戏中添加敌人和子弹
数组,
计时器...
分类:
微信 时间:
2015-01-15 16:10:50
阅读次数:
311