SQLÓï¾äµÃµ½´æ´¢¹ý³Ì¹ØÁªÄÄЩ±íÃû
##################################################
# ÉùÃ÷£º
# ±¾ÎÄת×ÔCSDN£¬Óû§ID£ºhtl258
# ÔÌûµØÖ·£ºhttp://blog.csdn.net/htl258/archive/2010/05/12/5582744.aspx
##################################################
SELECT DISTINCT '['+user_name(b.uid)+'].['+b.name+']' AS ¶ÔÏóÃû,b.type AS ÀàÐÍ
from sysdepends a,sysobjects b
WHERE b.id=a.depid
AND a.id=OBJECT_ID('¹ý³ÌÃû');
EXEC SP_DEPENDS '¹ý³ÌÃû';
Ïà¹ØÎĵµ£º
º¯ÊýÒÀÀµ
==========================================
Ò»¡¢º¯ÊýÒÀÀµ¸ÅÄî
¡¡¡¡º¯ÊýÒÀÀµÊÇ´ÓÊýѧ½Ç¶ÈÀ´¶¨ÒåµÄ£¬ÔÚ¹ØϵÖÐÓÃÀ´¿Ì»¹Øϵ¸÷ÊôÐÔÖ®¼äÏ໥ÖÆÔ¼¶øÓÖÏ໥ÒÀÀµµÄÇé¿ö¡£º¯ÊýÒÀÀµÆÕ±é´æÔÚÓÚÏÖʵÉú»îÖУ¬±ÈÈ磬ÃèÊöÒ»¸öѧÉúµÄ¹Øϵ£¬¿ÉÒÔÓÐѧºÅ¡¢ÐÕÃû¡¢ËùÔÚϵµÈ¶à¸öÊôÐÔ£ ......
ÏÂÔؽâѹÁËOracle SQL Developer¹¤¾ß£¬ÔËÐÐʱ£¬Æô¶¯²»ÁË£¬±¨´íÐÅÏ¢ÈçÏ£º
---------------------------
Unable to create an instance of the Java Virtual Machine
Located at path:
<SQLDEVELOPER>\jdk\jre\bin\client\jvm.dll
---------------------------
ÊÇJVM²ÎÊýÉèÖõÄÎÊÌ⣬ÎҵĽâ¾ö·½°¸ÈçÏ£º
<SQ ......
sqlͳ¼Æ£¹ØÓÚѧÉú³É¼¨
http://blog.sina.com.cn/s/blog_61380b320100ej9k.html
sqlͳ¼Æ£¹ØÓÚѧÉú³É¼¨
ѧÉú³É¼¨±í(stuscore)£º
ÐÕÃû£ºname
¿Î³Ì£ºsubject
·ÖÊý£ºscore
ѧºÅ£ºstuid
ÕÅÈý
Êýѧ
89
1
ÕÅÈý
ÓïÎÄ
80
1
ÕÅÈý
Ó¢Óï
70
1
ÀîËÄ
Êýѧ
90
2
ÀîËÄ
ÓïÎÄ
70
2
ÀîËÄ
Ó¢Óï
......
¼Ó[ ]ÓÃÓÚ¶¨½çÁÐÃû»ò±íÃûµÈÐÅÏ¢£¬ÒÔÇø±ðһЩÌØÊâµÄ²»ºÏÃüÃû¹æÔòµÄ×Ö´®£¬»òÊÇÓëϵͳ±£Áô×ÖÓгåÍ»¡£Èç"user"ÊÇSQL Server±£ÁôµÄ¹Ø¼ü×Ö£¬ËùÒÔÓÃ"select * from user"²éѯ»áÌáʾÓï·¨´íÎó¡£¼ÓÉÏÖÐÀ¨ºÅ£¬ÒÔÉùÃ÷Æä²»ÊDZ£Áô×Ö¡£ "select * from [user]" Èç¹û±íÃû²»Êǹؼü×Ö£¬ÈçCompany£¬ÔòÓÃ"select * from Company"ÊÇûÎÊÌâµÄ£¬²»Ó ......
ÏÂÁÐÓï¾ä²¿·ÖÊÇ
Mssql
Óï¾ä£¬²»¿ÉÒÔÔÚ
access
ÖÐʹÓá£
¡¡¡¡
SQL
·ÖÀࣺ
¡¡¡¡
DDL
—Êý¾Ý¶¨ÒåÓïÑÔ
(CREATE
£¬
ALTER
£¬
DROP
£¬
DECLARE)
¡¡¡¡
DML
—Êý¾Ý²Ù×ÝÓïÑÔ
(SELECT
£¬
DELETE
£¬
UPDATE
£¬
INSERT)
¡¡¡¡
DCL
—Êý¾Ý¿ØÖÆÓïÑÔ
(GRANT
£¬
REVOK ......