OracleÈçºÎʹÓô°¿Úº¯ÊýʵÏÖÕâÑùµÄ²éѯ
±í¼Ç¼
======================================
name date score
Fei Zhang 1 100
Fei Zhang 2 99
Fei Zhang 3 100
Fei Zhang 4 100
Fei Zhang 5 98
Fei Zhang 6 100
Fei Zhang 7 100
Fei Zhang 8 100
Fei Zhang 9 100
Fei Zhang 10 60
ÏÖÒªÇóͳ¼ÆÕÅ·Éͬѧ¸÷´Î²âÑéµÄµÃÂú·ÖµÄÇé¿ö£¬°üÀ¨³ÖÐøÂú·Ö´ÎÊýºÍ×ÜÂú·Ö´ÎÊý£¬ÐèÒªµÃµ½ÓαêÈçÏÂ
======================================
name date score uninterrupted_100 total_100
Fei Zhang 1 100 1 1
Fei Zhang 3 100 1 2
Fei Zhang 4  
Ïà¹ØÎÊ´ð£º
ÈÕÇ°ÓÃociº¯Êý²éѯoracleÊý¾Ýʱ³öÏÖ¸öÎÊÌ⣬¾ÍÊÇÔÚ²éѯµ½dateÀàÐ͵ÄÊý¾Ýʱ£¬Ê¹ÓÃpl/sql ²éѯoracle¿âÖеÄÊý¾ÝÏÔʾÊÇ
2009-9-29 12:12:12
µ«ÊÇͨ¹ýÓï¾äselect * from tablename ²éѯ£¬Ê¹ÓÃoci_fetch_array£¨£© ......
with adod_dict do
begin
close;
commandtext:='select bgqxcode,count(*) wjsl from wscl_wsda_file where wjnd=:tnd group by bgqxcode'; ......
MSSQL2000 to Oracle 10g, text×Ö¶ÎÔõô´¦Àí£¿
ÓÃdtsµ¼Èë\µ¼³ö¹¤¾ß£¿
ѧϰ°ï¶¥²ä·Ö
sql server ÖÐµÄ±íµ¼µ½oracleÖУ¬ÔÚoracleÖжÔÓ¦textµÄÊý¾ÝÀàÐÍÊÇclobÀàÐÍ¡£
ÀûÓÃsqlserverµÄµ¼Èëµ¼³ö¹¦ÄÜ
× ......
ÎÒÄÜ·ñÖ¸¶¨oracleÖÐijÕűíuser1.table1 Ö»ÄÜÓÉÓû§user1²ÅÄܲéѯ£¿
»òÕߣ¬ÄÜ·ñÖ¸¶¨user1.table1¾ÍÊDz»Äܱ»Óû§user2²éѯ£¿
ȨÏÞ¿ØÖÆ£¬²»¸øÆäËû±ðµÄÓû§È¨Ï޾ͿÉÒÔÁË
grant,revoke½øÐÐȨÏÞÏÞÖÆ
grantÊÚȨ
......