Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

sys.tables£¨sql server 2005£©

Ϊÿ¸ö±í¶ÔÏó·µ»ØÒ»ÐС£µ±Ç°½öÓÃÓÚ sys.objects.type = U µÄ±í¶ÔÏó¡£
ÁÐÃû Êý¾ÝÀàÐÍ ËµÃ÷
<¼Ì³ÐµÄÁÐ>
 
ÓйشËÊÓͼËù¼Ì³ÐµÄÁеÄÁÐ±í£¬Çë²ÎÔÄ sys.objects
lob_data_space_id
int
Ò»¸ö·ÇÁãÖµ£¬ÊDZ£´æ´Ë±íµÄ text¡¢ntext ºÍ image Êý¾ÝµÄ´ÅÅ̿ռ䣨Îļþ×é»ò·ÖÇø¼Ü¹¹£©µÄ ID¡£
0 = ±í²»°üº¬ text¡¢ntext »ò image Êý¾Ý¡£
filestream_data_space_id
int
½öÏÞÄÚ²¿ÏµÍ³Ê¹Óá£
max_column_id_used
int
´Ë±íÔøʹÓõÄ×î´óÁÐ ID¡£
lock_on_bulk_load
bit
Ëø±»Ëø¶¨ÓÚ´óÈÝÁ¿×°ÔØ¡£ÓйØÏêϸÐÅÏ¢£¬Çë²ÎÔÄ sp_tableoption
uses_ansi_nulls
bit
´´½¨±íʱ£¬SET ANSI_NULLS Êý¾Ý¿âÑ¡ÏîÉèÖÃΪ ON¡£
is_replicated
bit
1 = ʹÓÿìÕÕ¸´ÖÆ»òÊÂÎñ¸´ÖÆ·¢²¼±í¡£
has_replication_filter
bit
1 = ±í¾ßÓи´ÖÆɸѡÆ÷¡£
is_merge_published
bit
1 = ʹÓúϲ¢¸´ÖÆ·¢²¼±í¡£
is_sync_tran_subscribed
bit
1 = ʹÓÃÁ¢¼´¸üж©ÔÄÀ´¶©ÔÄ±í¡£
has_unchecked_assembly_data
bit
1 = ±í°üº¬µÄ³Ö¾Ã»¯Êý¾ÝÒÀÀµÓÚÉÏ´Î ALTER ASSEMBLY ÆÚ¼äÆ䶨Òå·¢Éú¸ü¸ÄµÄ³ÌÐò¼¯¡£ÔÚÏÂÒ»´Î³É¹¦Ö´ÐÐ DBCC CHECKDB »ò DBCC CHECKTABLE ºó½«ÖØÖÃΪ 0¡£
text_in_row_limit
int
Text in row µÄ×î´óÔÊÐí×Ö½ÚÊý¡£
0 = δÉèÖà Text in row Ñ¡Ïî¡£ÓйØÏêϸÐÅÏ¢£¬Çë²ÎÔÄ sp_tableoption
large_value_types_out_of_row
bit
1 = ³¬Ðд洢´óÖµÀàÐÍ¡£ÓйØÏêϸÐÅÏ¢£¬Çë²ÎÔÄ sp_tableoption


Ïà¹ØÎĵµ£º

µäÐ͵ÄÐÐתÁеÄSQLÓï¾ä

ÒÔORACLEÊý¾Ý¿âΪÀý£¬ ½«tab±íÖеÄtname×Ö¶Îת³ÉÒÔ¶ººÅ·Ö¸ôµÄ×Ö·û´®
SQLÈçÏ£º
select substr(max(sys_connect_by_path(tname, ',')), 2)
from (
  select b.tname, b.t1, lead(b.t1, 1) over (order by b.t1) t2
  from (
       select a.tname, row_number() over (orde ......

SQL²Ù×÷È«¼¯


ÏÂÁÐÓï¾ä²¿·ÖÊÇMssqlÓï¾ä£¬²»¿ÉÒÔÔÚaccessÖÐʹÓá£
SQL·ÖÀࣺ
DDL—Êý¾Ý¶¨ÒåÓïÑÔ(CREATE£¬ALTER£¬DROP£¬DECLARE)
DML—Êý¾Ý²Ù×ÝÓïÑÔ(SELECT£¬DELETE£¬UPDATE£¬INSERT)
DCL—Êý¾Ý¿ØÖÆÓïÑÔ(GRANT£¬REVOKE£¬COMMIT£¬ROLLBACK)
Ê×ÏÈ,¼òÒª½éÉÜ»ù´¡Óï¾ä£º
1¡¢ËµÃ÷£º´´½¨Êý¾Ý¿â
CREATE DATABASE da ......

sqlÓï¾ä

1. ²é¿´Êý¾Ý¿âµÄ°æ±¾       
   select @@version
  2. ²é¿´Êý¾Ý¿âËùÔÚ»úÆ÷²Ù×÷ϵͳ²ÎÊý       
  exec master..xp_msver
  3. ²é¿´Êý¾Ý¿âÆô¶¯µÄ²ÎÊý        
  ......

HibernateÓëSQLµÄÑ¡Ôñ

HibernateÊÇÒ»¿îÓÅÐãµÄORM¹¤¾ß¡£µ«ÊÇÔÚijЩÇé¿öÏÂÄÑÃâ»á¸øÎÒÃǵÄÏîÄ¿´øÀ´Ò»¶¨µÄ¸´ÔÓÐÔ¡£¾ÍËãʹÓÃspring×öÒ»¶¨µÄÊÂÎñ¼ò»¯£¬¸Ä±äµÄÒ²½ö½öÊDZàдµÄʱºò¸ü¼ÓµÄ¼òµ¥¶øÒÑ¡£ÌرðÊÇÔÚ´¦Àí²éѯµÄʱºò£¬hibernateºÍsql±È½ÏÆðÀ´£¬¾ÍËƺõûÓÐÄÇô´óµÄÓÅÊÆÁË¡£ËùÒÔÔںܶàµÄÏîÄ¿ÀïÃæÔÚʹÓÃhibernateºÍspringµÄͬʱ»¹»áʹÓÃibatisµÄsqlmap¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ