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

PowerDesignerÉú³ÉSQL½Å±¾Ê±±íÃû¡¢×Ö¶ÎÃû´øÒýºÅÎÊÌâ

 
 
 
PowerDesignerÉú³ÉSQL½Å±¾Ê±±íÃû¡¢×Ö¶ÎÃû´øÒýºÅÎÊÌâ
 
    Ê¹ÓÃPowerDesignerÉú³ÉÊý¾Ý¿â½Å±¾Ê±£¬±íÃûÒ»°ã»á´øÒýºÅ¡£ÈçÏ£º
¼ÓÒýºÅÊÇPL/SQLµÄ¹æ·¶£¬Êý¾Ý¿â»áÑϸñ°´ÕÕ“”ÖеÄÃû³Æ½¨±í£¬Èç¹ûûÓГ”£¬»á°´ÕÕORACLEĬÈϵÄÉèÖý¨±í£¬Ä¬ÈÏÊÇÈ«²¿´óд£¬ÕâÑù£¬ÔÚORACLEÊý¾Ý¿âÀïµÄ×ֶξÍÈç“Column_1”£¬Èç¹ûÄã°ÑÒýºÅÈ¥µô£¬ORACLE×Ô¶¯Ä¬ÈÏΪȫ²¿´óд£¬¼´“COLUMN_1”£¬ËùÒÔ²»±Øµ£ÐÄ£¬Õâ¶ÎSQLÔÚPL/SQLÖÐÖ´ÐеÄʱºòÊÇûÓÐÈκÎÎÊÌâµÄ£¬Èç¹û²»¼ÓÒýºÅ£¬ÔÚPL/SQL»á×Ô¶¯Ê¶±ðΪ´óд¡£
Õâ¸öÎÊÌâÊÇÉú³É½Å±¾¸ñʽµÄÎÊÌ⣬ÎÒÃÇ¿ÉÒÔ³¢ÊÔÔÚDBMSÅäÖÃÎļþÖÐÐÞ¸ÄÏàÓ¦µÄ¸ñʽÉèÖÃÀ´½â¾öÕâ¸öÎÊÌâ¡£ÔÚPowerDesignerÖУ¬Ñ¡ÔñDatabase->Edit current database£¬Ñ¡ÔñScript-->Sql->Format£¬ÓÐÒ»ÏîCaseSensitivityUsingQuote£¬ËüµÄcommentΪ “Determines if the case sensitivity for identifiers is managed using double quotes”£¬±íʾÊÇ·ñÊÊÓÃË«ÒýºÅÀ´¹æ¶¨±êʶ·ûµÄ´óСд£¬¿ÉÒÔ¿´µ½ÓұߵÄvaluesĬÈÏֵΪ“Yes”£¬ÈçÏÂËùʾ£º
½«“Yes”ÐÞ¸ÄΪ“No”£¬µã»÷¡¾È·¶¨¡¿°´Å¥¡£ÔÚµ¯³öµÄÈ·È϶Ի°¿òÖеã»÷¡¾È·ÈÏ¡¿¡£
    ÕâÑùÉèÖÃÖ®ºó£¬Éú³ÉSQL¾Í²»»á´øÒýºÅÁË¡£ÈçÏÂËùʾ£º
 
 
    Áí£ºÈç¹û½¨±í½Å±¾ÖÐʹÓÃÒýºÅ¡£Ôöɾ¸Ä²éʱ£¬±íÃû¡¢×Ö¶ÎÃûÒ²Òª¼ÓÒýºÅ¡£ÁíÍ⣬ÎÞ·¨Ê¹ÓÃdescÃüÁîÀ´²é¿´±íµÄ½á¹¹¡£¾ÙÀýÈçÏ£º
 
l ½¨±í(SQLÖеıíÃû¡¢×Ö¶ÎÃû´øÒýºÅ)£º
create table "xxxx"  (
   "alarm_def_id"       NUMBER(12)                      not null,
   "alarm_type_id"      CHAR(1)                         not null
      constraint CKC_xxx check ("alarm_t


Ïà¹ØÎĵµ£º

º½¿Õ¹«Ë¾¹ÜÀíϵͳ(VC++ ÓëSQL 2005)

ϵͳ»·¾³£ºWindows 7
Èí¼þ»·¾³£ºVisual C++ 2008 SP1 +SQL Server 2005
±¾´ÎÄ¿µÄ£º±àдһ¸öº½¿Õ¹ÜÀíϵͳ
      ÕâÊÇÊý¾Ý¿â¿Î³ÌÉè¼ÆµÄ³É¹û£¬ËäÈ»³É¼¨²»¼Ñ£¬µ«ÊÇ×÷ΪÎÒÓÃVC++ ÒÔÀ´±àдµÄ×î´ó³ÌÐò»¹ÊÇ´«µ½ÍøÉÏ£¬ÒÔ¹©²Î¿¼¡£ÓÃVC++ ×öÊý¾Ý¿âÉè¼Æ²¢²»ÈÝÒ×£¬µ«Ò²²»ÊDz»¿ÉÄÜ¡£ÒÔÏÂÊÇÎҵijÌÐò½çÃ棬ºóÃæ ......

Oracle PL/SQL±à³Ì¹æ·¶Ö¸ÄÏ

Ò»¡¢PL/SQL±à³Ì¹æ·¶Ö®´óСд
¾ÍÏñÔÚSQLÖÐÒ»Ñù£¬PL / SQLÖÐÊDz»Çø·Ö´óСдµÄ¡£ÆäÒ»°ã×¼ÔòÈçÏ£º
¹Ø¼ü×Ö(BEGIN, EXCEPTION, END, IF THEN ELSE,LOOP, END LOOP)¡¢Êý¾ÝÀàÐÍ(VARCHAR2, NUMBER)¡¢ÄÚ²¿º¯Êý(LEAST, SUBSTR)ºÍÓû§¶¨ÒåµÄ×Ó³ÌÐò(procedures, functions,packages)£¬Ê¹Óôóд¡£
±äÁ¿ÃûÒÔ¼°SQLÖеÄÁÐÃûºÍ±íÃû£¬Ê¹ÓÃÐ ......

³£ÓÃSQLÓï¾ä£¨Oracle£©(ת)

ORACLEÖÐ×ֶεÄÊý¾ÝÀàÐÍ
   ×Ö·ûÐÍ    char        ·¶Î§  ×î´ó2000¸ö×Ö½Ú ¶¨³¤
               char(10)   'ÕÅÈý' ºóÌí¿Õ¸ñ6¸ö°Ñ10¸ö×Ö½Ú²¹Âú  'ÕÅÈý &nb ......

SQL Server 2000 ¡°Ê¼þ̽²éÆ÷¡±µÄ¼òµ¥Ê¹ÓÃ

1¡¢ÔÚ°²×°ÓÐSQL SERVER 2000µÄµçÄÔÉÏ´ò¿ª“ʼþ̽²éÆ÷”£¬²Ù×÷Èçͼ£º
 
2¡¢Ôړʼþ̽²éÆ÷”ÖÐн¨Ò»¸ö¸ú×Ù£ºÎļþ/н¨/¸ú×Ù
 
3¡¢ÊäÈëÁ¬½Ó·þÎñÆ÷µÄÃØÃÜ£¬×¢ÒâÊÇU8µÄÊý¾Ý·þÎñÆ÷£¬¿ÉÒÔ¸ù¾Ýʵ¼ÊÐÞ¸ÄIPµØÖ·¡£
 
4¡¢¸ü¸Ä¹ýÂËÉèÖ㺿ÉÒÔÔÚ¡¾Îļþ/ÊôÐÔ¡¿´ò¿ªÕâ¸ö¶Ô»°¿ò£¬µ«ÊÇÒª¸ü¸Ä£¬Ê× ......

Sql Server×Ö¶ÎÀàÐ͵Ä×Ö·û³¤¶È

sql serverÊý¾ÝÀàÐÍcharºÍnchar,varcharºÍnvarchar,textºÍntextÔÊÐíµÄ×Ö·û³¤¶È
×Ö·û´®
char
¹Ì¶¨³¤¶ÈµÄ·Ç Unicode ×Ö·ûÊý¾Ý£¬×î´ó³¤¶ÈΪ 8,000 ¸ö×Ö·û¡£
varchar
¿É±ä³¤¶ÈµÄ·Ç Unicode Êý¾Ý£¬×Ϊ 8,000 ¸ö×Ö·û¡£
text
¿É±ä³¤¶ÈµÄ·Ç Unicode Êý¾Ý£¬×î´ó³¤¶ÈΪ 2^31 - 1 (2,147,483,647) ¸ö×Ö·û¡£
Unicode ×Ö·û´® ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ