declare @id int,@value nvarchar(100);begin declare 
c_test_main cursor fast_forward for select hps_hpId,hps_time from 
hospitalPermSupp where hps_...
                            
                            
                                分类:
数据库   时间:
2014-05-08 14:39:27   
                                阅读次数:
498
                             
                         
                    
                        
                            
                            
                                2520 is the smallest number that can be divided 
by each of the numbers from 1 to 10 without any remainder.What is the smallest 
positive number that is...
                            
                            
                                分类:
其他好文   时间:
2014-05-08 14:36:50   
                                阅读次数:
248
                             
                         
                    
                        
                            
                            
                                http://blog.panks.me/posts/2013/11/install-gdb-on-os-x-mavericks-from-source/注意最后两步:killall 
taskgated (不行可以加sudo)codesign -fs gdbc /usr/local/bin/gdb ...
                            
                            
                                分类:
数据库   时间:
2014-05-08 13:53:15   
                                阅读次数:
304
                             
                         
                    
                        
                            
                            
                                分页语句:
Oracle:
--这种分页查询方式不仅仅是针对单表的简单查询,对于最内层查询是复杂的
--多表联合查询或最内层查询包含排序的情况一样有效
SELECT * FROM ( 
SELECT ROWNUM RN , T.*  FROM 
(SELECT * FROM FTNEMR.PATIENT_VISIT) T WHERE ROWNUM 40 ) 
WHERE RN >...
                            
                            
                                分类:
数据库   时间:
2014-05-07 22:47:41   
                                阅读次数:
601
                             
                         
                    
                        
                            
                            
                                建立数据库: mysql>create database test; 
//建立一个名为"test"的数据库建立数据库表: mysql> create table test -> (name char(16) not 
null, -> passwd...
                            
                            
                                分类:
数据库   时间:
2014-05-07 21:22:19   
                                阅读次数:
378
                             
                         
                    
                        
                            
                            
                                update 表1 set 表1.A=表2.A from 表2where表1.B=表2.B
                            
                            
                                分类:
数据库   时间:
2014-05-07 21:19:42   
                                阅读次数:
425
                             
                         
                    
                        
                            
                            
                                按网上教程搭建好环境后,执行下面的代码出现了错误:测试代码如下:from selenium 
import 
webdriverdriver=webdriver.Firefox()driver.get("http://www.baidu.com")错误信息如下:Traceback 
(most recen...
                            
                            
                                分类:
编程语言   时间:
2014-05-07 21:16:57   
                                阅读次数:
420
                             
                         
                    
                        
                            
                            
                                SELECT COUNT(*) AS 
AllCount,t.AssignedCount,(COUNT(*)-t.AssignedCount) AS UnassignedCountFROM 
药品表jOIN( SELECT COUNT(*) AS AssignedCount	FROM 质量分析分配表)....
                            
                            
                                分类:
数据库   时间:
2014-05-07 21:06:57   
                                阅读次数:
374
                             
                         
                    
                        
                            
                            
                                查看数据库的计数器: SELECT * FROM 
sys.dm_os_performance_counters **也可以使用系统的性能计监测器查看. 右键图表-> 添加计数器. 添加要监控的项 
计数器中一些项的说明 : http://www.cnblogs.com/flysun0311/archi...
                            
                            
                                分类:
数据库   时间:
2014-05-07 20:27:55   
                                阅读次数:
340
                             
                         
                    
                        
                            
                            
                                内容来源:http://blog.csdn.net/azhao_dn/article/details/6921429在hive上执行查询:select 
count(*) from user_active_vv_20110801_31 where active_type_3>0 UNION ALL s...
                            
                            
                                分类:
其他好文   时间:
2014-05-07 20:26:30   
                                阅读次数:
460