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

ͼÎÄÏê½âÈçºÎÓÃPowerDesignerÉè¼ÆSQL Server

¹¤¾ß£º
Sybase PowerDesigner 12.5
Microsoft SQL Server 2005
µÚÒ»²½£º¸ÅÒªÉè¼Æ
´ò¿ªPowerDesignerÈí¼þ£¬Éè¼Æ“¸ÅÄîÊý¾ÝÄ£ÐÍ”(Conceptual Data Model)£º
 
ͼ1
Éè¼Æ±í½á¹¹£º
 
ͼ2
ÔÚÉè¼ÆÊôÐÔ(×Ö¶Î)µÄʱºò£¬Èý¸ö×Öĸ(M¡¢P¡¢D)·Ö±ð±íʾ£º
M£ºÊÇ·ñΪ¿Õ;(√±íʾ²»ÔÊÐíΪ¿Õ)
P£ºÊÇ·ñΪÖ÷¼ü;
D£ºÊÇ·ñÔÚ¸ÃÈí¼þµÄÊÓͼÖÐÏÔʾ;
µÚ¶þ²½£ºÏêϸÉè¼Æ
½«“¸ÅÄîÊý¾ÝÄ£ÐÍ”Éè¼ÆµÄ±íת»»Îª“ÎïÀíÊý¾ÝÄ£ÐÍ”(Physical Data Model)£¬Êµ¼ÊÉÏÊÇ´Ó“¸ÅÒªÉè¼Æ”ת»»Îª“ÏêϸÉè¼Æ”£¬¼´¶Ô±íµÄ¾ßÌåʵÏÖ¡£
Ñ¡Ôñ“Tools”-->“Generate Physical Data Model…”¼´¿É¡£
 
ͼ3
È»ºóÑ¡Ôñ SQL Server 2005Êý¾Ý¿â¹ÜÀíÈí¼þ£º
 
ͼ4
µã»÷“È·¶¨”°´Å¥ÒԺ󣬾ͲúÉúÁ˶ÔÓ¦“SQL Server 2005”Êý¾Ý¿âµÄ±í¡¢ÊôÐÔ¡¢¹ØϵµÄ¾ßÌåʵÏÖ¡£
µÚÈý²½£ºÔÚSQL Server 2005ÖÐÊÖ¶¯´´½¨Êý¾Ý¿â
±ÈÈ磺ÎÒÔÚSQL Server 2005ÖÐÊÖ¶¯´´½¨Êý¾Ý¿â“Students”ʾÀý¡£
µÚËIJ½£ºÔÚÊý¾ÝÔ´ODBCÖÐÅäÖÃÓû§Êý¾ÝÔ´
±ÈÈ磺ÎÒÔÚÓû§Êý¾ÝÔ´ÖУ¬Ìí¼ÓÊý¾Ý¿â“Students”µÄÊý¾ÝÔ´¡£
 
ͼ5
µÚÎå²½£ºÔÚSQL Server 2005ÖÐ×Ô¶¯´´½¨±í½á¹¹
Ê×ÏÈ£º¸ù¾Ý“ÎïÀíÊý¾ÝÄ£ÐÍ”(Physical Data Model)×Ô¶¯½¨Á¢ÏàÓ¦µÄSQLÓï¾ä£º
 
ͼ6
Æä´Î£ºÖ´ÐÐÆä´´½¨µÄSQLÓï¾äÎļþ£¬½«Êý¾Ý±í½á¹¹×Ô¶¯´´½¨µ½SQL Server 2005Êý¾Ý¿âÖУº
 
ͼ7
Íê³ÉÒÔÉϲ½Öèºó£¬Ë¢ÐÂSQL Server 2005Êý¾Ý£¬½«»á¿´µ½ÄãËù´´½¨µÄÏà¹Ø±í½á¹¹¡£
µ±È»£¬ÒÔÉÏÁ½¸ö²½Öè(¼´£ºÍ¼6ºÍͼ7)¿ÉÒÔÒ»²½Íê³É£º
Ö»ÒªÔÚ“Database”à“Database Generation”ÖУ¬Ñ¡Ôñ“Direct generation”¼´¿É£º
 
ͼ8
ÕâÑù£¬Õû¸öʹÓÃPowerDesignerÉè¼ÆSQL ServerÊý¾Ý¿âµÄ²½Ö裬¾ÍÈ«²¿Íê³É!


Ïà¹ØÎĵµ£º

SQL server 2008 ÆóÒµ°æ

ºú»Ô£º13028803715       0755-82945017
9¡¢ÉîÛÚmicrosoft Windows 2003 Server±¨¼Û ÖÐÎıê×¼°æ5Óû§    4100
10¡¢ÉîÛÚmicrosoft Windws 2003 Server±¨¼Û ÖÐÎÄÆóÒµ°æ25Óû§   20500
11¡¢ÉîÛÚmicrosoft Windows 2008 Server±¨¼Û ÖÐÎıê×¼°æ5Óû§   580 ......

SQLÓï¾ä´óÈ«

Ò»¡¢»ù´¡
1¡¢ËµÃ÷£º´´½¨Êý¾Ý¿â
CREATE DATABASE database-name
2¡¢ËµÃ÷£ºÉ¾³ýÊý¾Ý¿â
drop database dbname
3¡¢ËµÃ÷£º±¸·Ýsql server
--- ´´½¨ ±¸·ÝÊý¾ÝµÄ device
USE master
EXEC sp_addumpdevice 'disk', 'testBack', 'c:\mssql7backup\MyNwind_1.dat'
--- ¿ªÊ¼ ±¸·Ý
BACKUP DATABASE pubs TO testBack
4¡¢Ëµ ......

Excelµ¼ÈëSQL£¨2£©

      ÓõÚÒ»ÖÖ·½·¨£¬ÉÏ´«·þÎñÆ÷ºó£¬ÔÚһЩ·þÎñÆ÷ÖУ¬¿ÉÄÜ»á³öÏÖÒÔÏ´íÎó£º
    ±ØÐëÔÚweb.configÖÐ¼Ó <system.web><identity impersonate="false"/></system.web> ,·ñÔò³öÏÖ´íÎó£ºSystem.Data.OleDb.OleDbException: δָ¶¨µÄ´íÎó¡£¼ÓÁËÒԺ󣬵ã¶à¼¸´ÎÁ´½Ó£¬» ......

jspÓëSQL Server 2000 µÄÁ¬½Ó

ÖÕÓڸ㶨JSPÁ¬½ÓSQL Server 2000Êý¾Ý¿âµÄÎÊÌâÁË
2008Äê01ÔÂ29ÈÕ ÐÇÆÚ¶þ 15:54
    Ç°¼¸Ì죬ƽƽͬѧһֱÔÚ¸ãJSP Á¬½ÓSQL Server 2000Êý¾Ý¿âµÄÎÊÌ⣬һֱÁ¬²»ÉÏ£¬È»ºó½ÐÎÒÈ¥°ïËû¿´¿´£¬Æ¾×ÅÒÔÇ°µÄ¾­Ñ飬¸ãÁËÒ»¸öÏÂÎ磬ºÙºÙ£¡ÖÕÓÚ°ïËûÁ¬½ÓÉÏÁË£¬Ö÷Òª²½ÖèÈçÏ£º
    1¡¢ÐèÒªµÄ¶«Î÷´ó¼Ò¿ÉÒÔµ½Î ......

sql´æ´¢

declare @p int
declare @p1 int
declare @count int
set @p=0
set @p1=10
set @count=2
if(@count<>0 or @count<>1)
set @p=@p1*@count-10
SELECT [t1].[userid], [t1].[username], [t1].[userorder]
from (
    SELECT ROW_NUMBER() OVER (ORDER BY [t0].[userorder]) AS [ROW_NU ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ