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

sql serverϵͳ±íÏêϸ˵Ã÷

 sql serverϵͳ±íÏêϸ˵Ã÷
sysaltfiles
 Ö÷Êý¾Ý¿â ±£´æÊý¾Ý¿âµÄÎļþ
syscharsets
 Ö÷Êý¾Ý¿â×Ö·û¼¯ÓëÅÅÐò˳Ðò
sysconfigures
Ö÷Êý¾Ý¿â ÅäÖÃÑ¡Ïî
 syscurconfigs
Ö÷Êý¾Ý¿âµ±Ç°ÅäÖÃÑ¡Ïî
  sysdatabases
Ö÷Êý¾Ý¿â·þÎñÆ÷ÖеÄÊý¾Ý¿â
  syslanguages
Ö÷Êý¾Ý¿âÓïÑÔ
  syslogins
Ö÷Êý¾Ý¿â µÇ½ÕʺÅÐÅÏ¢
 sysoledbusers
Ö÷Êý¾Ý¿â Á´½Ó·þÎñÆ÷µÇ½ÐÅÏ¢
  sysprocesses
Ö÷Êý¾Ý¿â½ø³Ì
  sysremotelogins
Ö÷ Êý¾Ý¿â Ô¶³ÌµÇ¼ÕʺÅ
  syscolumns
ÿ¸öÊý¾Ý¿â ÁÐ
  sysconstrains
ÿ¸öÊý¾Ý¿â ÏÞÖÆ
  sysfilegroups
ÿ¸öÊý¾Ý¿â Îļþ×é
  sysfiles
ÿ¸öÊý¾Ý¿â Îļþ
  sysforeignkeys
ÿ¸öÊý¾Ý¿â Íⲿ¹Ø¼ü×Ö
  sysindexs
ÿ¸öÊý¾Ý¿â Ë÷Òý
  sysmenbers
ÿ¸öÊý¾Ý¿â½ÇÉ«³ÉÔ±
  sysobjects
ÿ¸öÊý¾Ý¿âËùÓÐÊý¾Ý¿â¶ÔÏó
  syspermissions
ÿ¸öÊý¾Ý¿â ȨÏÞ
  systypes
ÿ¸öÊý¾Ý¿â Óû§¶¨ÒåÊý¾ÝÀàÐÍ
  sysusers
ÿ¸öÊý¾Ý¿â Óû§
sysaltfiles  Ò³ Ê×
ÔÚÌØÊâÇé¿öÏ£¬°üº¬ÓëÊý¾Ý¿âÖеÄÎļþÏà¶ÔÓ¦µÄÐС£¸Ã±í´æ´¢ÔÚ master
Êý¾Ý¿âÖС£
ÁÐÃû
Êý¾ÝÀàÐÍ
ÃèÊö
fileid
smallint
ÿ¸öÊý¾Ý¿âµÄΨһÎļþ±êʶºÅ¡£
groupid
smallint
Îļþ×é±êʶºÅ¡£
size
int
Îļþ´óС£¨ÒÔ 8 KB ҳΪµ¥Î»£©¡£
maxsize
int
×î´óÎļþ´óС£¨ÒÔ 8 KB ҳΪµ¥Î»£©¡£0 Öµ±íʾ²»Ôö³¤£¬–1 Öµ±íʾÎļþÓ¦Ò»Ö±Ôö³¤µ½´ÅÅÌÒÑÂú¡£
growth
int
Êý¾Ý¿âµÄÔö³¤´óС¡£0 Öµ±íʾ²»Ôö³¤¡£¸ù¾Ý״̬µÄÖµ£¬¿ÉÒÔÊÇÒ³Êý»òÎļþ´óСµÄ°Ù·Ö±È¡£Èç¹û status
Ϊ 0x100000£¬Ôò growth
ÊÇÎļþ´óСµÄ°Ù·Ö±È£»·ñÔòÊÇÒ³Êý¡£
status
int
½öÏÞÄÚ²¿Ê¹Óá£
perf
int
±£Áô¡£
dbid
smallint
¸ÃÎļþËùÊôÊý¾Ý¿âµÄÊý¾Ý¿â±êʶºÅ¡£
name
nchar(128)
ÎļþµÄÂß¼­Ãû³Æ¡£
filename
nchar(260)
ÎïÀíÉ豸µÄÃû³Æ£¬°üÀ¨ÎļþµÄÍêÕû·¾¶¡£
 
>syscharsets Ò³ Ê×
ÿ¸ö×Ö·û¼¯ÔÚ±íÖи÷Õ¼Ò»ÐУ¬±íÖл¹°üº¬¶¨Ò幩 Microsoft? SQL Server? ʹÓõÄÅÅÐò´ÎÐò¡£ÅÅÐò´ÎÐòÖеÄÒ»¸öÔÚ sysconfigures
Öбê¼ÇΪĬÈÏÅÅÐò´ÎÐò£¬¸Ã´ÎÐòÊÇʵ¼ÊʹÓõÄΨһ´ÎÐò¡£
ÁÐÃû
Êý¾ÝÀàÐÍ
ÃèÊö
type
smallint
¸ÃÐбíʾµÄʵÌåÀàÐÍ¡£1001 ÊÇ×Ö·û¼¯£»2001 ÊÇÅÅÐò´ÎÐò¡£
id


Ïà¹ØÎĵµ£º

VCʹÓÃSQLDMO²Ù×÷SQL Server

BOOL StartServer()
{
    if(FAILED(CoInitialize(NULL)))
    {
        AfxMessageBox(_T("Com³õʼ»¯Ê§°Ü"));
        return FALSE;
    }
    _SQLServerPtr spSQLServer ......

SQL Server ÍêÃÀSPLITº¯Êý


--
SQL Server Splitº¯Êý
--
Author:zc_0101 
--
˵Ã÷£º
--
Ö§³Ö·Ö¸î·û¶à×Ö½Ú
--
ʹÓ÷½·¨ 
--
Select * from DBO.F_SQLSERVER_SPLIT('1203401230105045','0')    
--
select * from DBO.F_SQLSERVER_SPLIT('abc1234a12348991234',' ......

ÔÚCMDϲÙ×÷SQL SERVERÊý¾Ý¿â


MYSQL¿ÉÒÔÔÚ¿ØÖÆ̨ϽøÐвÙ×÷£¬ÀûÓÃÃüÁî
SQL´úÂë
mysql -h localhost -u root -p123456  
¾Í¿ÉÒԵǽMYSQLµÄ¿ØÖÆ̨¡£
sql serverÒ²ÌṩÁË¿ØÖÆ̨ϵIJÙ×÷¹¦ÄÜ¡£
ÔÚSQL SERVERµÄ binnĿ¼Ï£¬ÌṩÁËosql.exeÓëisql.exeÕâÁ½¸öÎļþ¡£
ÕâÁ½¸ö³ÌÐò¶¼ÌṩÁË·ÃÎÊSQL SERVERµÄ¹¦ÄÜ£¬ÕâÁ ......

̽ÌÖSQLÓï¾ä¼¼ÇÉ ÓÅ»¯DB2Ó¦ÓóÌÐòÐÔÄÜ

±¾ÎÄÒÔIBMµÄ¹ØϵÊý¾Ý¿â¹ÜÀíϵͳDB2 Universal Database(ͨÓÃÊý¾Ý¿â) °æ±¾7.1Ϊ±³¾°£¬Óë´ó¼Ò¹²Í¬Ì½ÌÖ±àдºÃµÄSQLÓï¾äµÄ¼¼ÇÉ£¬ÒÔÇóDB2Ó¦ÓóÌÐòÒÔÇóDB2Ó¦ÓóÌÐò»ñµÃ¸üÓŵÄÐÔÄÜ¡£
¡¡¡¡µ±ÎÒÃÇÉè¼ÆÒ»¸öеĻò·ÖÎöÒ»¸öÏÖ´æµÄϵͳʱ£¬ÆäÖÐËùÒª¿¼ÂǵÄÒ»¸öÖØÒªÎÊÌâ¾ÍÊÇÓ¦ÓóÌÐòµÄÉè¼ÆÎÊÌâ¡£¼´Ê¹Êý¾Ý¿âÉè¼ÆµÃºÜºÃ¶øÇÒ»¹¾­¹ýÓÅ»¯´¦Àí£¬ ......

ÔÚSQL ServerÖÐÈçºÎÊä³öÐкÅ

Ô­ÎĵØÖ·£ºhttp://www.dingos.cn/index.php?topic=1688.0
OracleÓÐrownumÓÃÓÚ·ÃÎʱíÖÐÐкš£ÄÇôÔÚSQL ServerÖÐÊÇ·ñÓеÈЧµÄÄØ£¿»òÕßÔÚSQL ServerÖÐÈçºÎÊä³öÐкţ¿
-----------------------------------
ÔÚSQL ServerÖÐûÓÐÖ±½ÓµÈЧÓÚOracleµÄrownum
-----------------------------------
Ñϸñ˵À´£¬ÔÚ¹ØϵÊý¾Ý¿âÖУ¬± ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ