1 判断数据库是否存在Sql代码 if exists (select * from 
sys.databases where name = ’数据库名’) drop database [数据库名] if exists (select * from 
sys.databases where name =....
                            
                            
                                分类:
数据库   时间:
2014-05-26 18:25:37   
                                阅读次数:
312
                             
                         
                    
                        
                            
                            
                                Problem APlay with Floor and CeilInput:standard 
inputOutput:standard outputTime Limit:1 secondTheoremFor any two 
integersxandkthere exists two more in...
                            
                            
                                分类:
其他好文   时间:
2014-05-26 14:21:44   
                                阅读次数:
270
                             
                         
                    
                        
                            
                            
                                Word SearchGiven 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, wh...
                            
                            
                                分类:
其他好文   时间:
2014-05-26 08:21:06   
                                阅读次数:
310
                             
                         
                    
                        
                            
                            
                                这是一张表的数据记录,现在想查询每个stuname最新的一条全部记录,也就是王鹏、王山、王丽最新的一条记录,查出来的结果在一张表上。 解法:select * 
from table as a where exists(select 1 from table group by stuname havin...
                            
                            
                                分类:
其他好文   时间:
2014-05-26 07:48:25   
                                阅读次数:
212
                             
                         
                    
                        
                            
                            
                                Several ports(8080,8009)required by Tomcat v6.0 Server at localhost are already in use.The server may already be running in another process, or a system process may be using the port, To start this server you will need to stop the other process or change t...
                            
                            
                                分类:
编程语言   时间:
2014-05-26 03:41:22   
                                阅读次数:
364
                             
                         
                    
                        
                            
                            
                                php在数组中查找指定值是否存在的方法有很多,记得很久以前我一直都是傻傻的用foreach循环来查找的,下面我主要分享一下用php内置的三个数组函数来查找指定值是否存在于数组中,这三个数组分别是 
in_array(),array_search(),array_key_exists()。首先分别介绍一...
                            
                            
                                分类:
Web程序   时间:
2014-05-25 19:35:54   
                                阅读次数:
272
                             
                         
                    
                        
                            
                            
                                loadHeadersFromResource(R.xml.settings_headers, headers);
error: xml cannot be resolved or is not a field, but res/xml/settings_headers.xml exists.
Every xml file will have its own ID in R.java,...
                            
                            
                                分类:
其他好文   时间:
2014-05-25 16:19:23   
                                阅读次数:
206
                             
                         
                    
                        
                            
                            
                                Command to launch genymotion headless -player 
--vm-name Nexus_4if player is not already added to path, add it to path using 
below command in your ~/.b...
                            
                            
                                分类:
其他好文   时间:
2014-05-24 10:13:35   
                                阅读次数:
320
                             
                         
                    
                        
                            
                            
                                环境:win 2003   + oracle 10g
            win 2003服务器物理内存4G
            oracle10g SGA             1504M
事故背景:
调整SGA大小,因为OS的内存只有4G,建议SGA的大小不要超过60%,我调整为2G 
SQL> alter systemset sga_max_size=2000m ...
                            
                            
                                分类:
其他好文   时间:
2014-05-22 23:46:00   
                                阅读次数:
430
                             
                         
                    
                        
                            
                            
                                Description
A subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X =  another sequence Z =  is a subsequence of X if there exists a ...
                            
                            
                                分类:
其他好文   时间:
2014-05-21 10:58:39   
                                阅读次数:
237