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

sql server 2000Óï¾äÇóÀß - MS-SQL Server / Ó¦ÓÃʵÀý

ÎÒÕâÓжþÕÅ±í£¬
±íÒ»£ºArvichFile
CameraSign(int 4),FileEndTime(datetime),FileEndTime(datetime)
303101 2010-3-18 15:51:12 2010-3-18:15:35:26
303201 2010-3-18 15:54:42 2010-3-18 16:00:00

303101 2010-4-1 09:20:07 2010-4-1 12:30:00
303201 2010-4-1 09:20:07 2010-4-1 12:30:40
303501 2010-4-1 09:20:07 2010-4-1 12:30:00

204101 2010-4-1 09:27:07 2010-4-1 12:30:00
204201 2010-4-1 09:27:07 2010-4-1 12:30:00
204301 2010-4-1 09:27:07 2010-4-1 12:30:00

204101 2010-4-22 09:27:07 2010-4-22 12:30:00
204201 2010-4-22 09:27:47 2010-4-22 12:30:00
204301 2010-4-22 09:27:07 2010-4-22 11:30:00

304101 2010-4-1 13:00:04 2010-4-1 18:00:04
304201 2010-4-1 13:00:04 2010-4-1 18:00:05
304301 2010-4-1 13:00:01 2010-4-1 18:00:54

305101 2010-4-1 18:00:04 2010-4-1 18:15:00
305201 2010-4-1 18:00:04 2010-4-1 18:15:00
305301 2010-4-1 18:00:04 2010-4-1 18:15:01
   

   
±í¶þ£ºCamera
StationID(int 4) CameraSign(int 4)  
1 303101
1 303201
1 303501
2 204101  
2 204201  
2 204301  
3 304101
3 304201
3 304301
4 305101
4 305201
4 305301

ÏÖÔÚÒÑÖªµÄÊÇStationID
ÒªµÃ³öµÄ½á¹ûÊÇ£º
StationID FileBeginTime FileEndTime
1 2010-4-1 09:20:07 2010-4-1 12:30:00
2 2010-4-1 09:27:07 2010-4-1 12:30:00
3 2010-4-1 13:00:04 2010-4-1 18:00:04
4 2


Ïà¹ØÎÊ´ð£º

Asp+sql serverÎÊÌâ - Web ¿ª·¢ / ASP

ÎÒÒ»¸öÏîÄ¿£¬Óиö²åÈë²Ù×÷£¬¾ßÌåÊÇÕâÑùµÄ£º
ÎÒÓнø»õÐÅÏ¢±í¡£ÔÚ³ö»õʱѡÔñÏàÓ¦µÄ½ø»õÐÅÏ¢£¬ÊäÈëÊýÁ¿£¬Ñ¡Ôñ²¿Ãź󣬵㱣´æ°´Å¥£¬ÓÉÓÚÍøÂçÑÓʱ£¬µãÒ»ÏÂûÓз´Ó³£¬ÓÚÊÇÓû§¾ÍÓÖµãһϣ¬µ¼ÖÂÒ»´Î²åÈëÁËÁ½Ìõ¼Ç¼:
Àý£º ......

Çë½ÌsqlÓï¾ä¡£ - Oracle / ¿ª·¢

ÎÒÓÐÒ»¸ö±í£¬½á¹¹ÊÇÕâÑù¡£
  ת³ö µ¥Î» תÈ뵥λ ±ÊÊý ½ð¶î
date(Ö÷) outid(Ö÷) inid(Ö÷) num amt
2009 1 2 1 500 Ϊ 1 µ¥Î» ÔÚ2009Ä ......

sqlÓï¾äÎÊÌâ - MS-SQL Server / ÒÉÄÑÎÊÌâ

ÏÖÔÚÓÐÒ»¸ö²¿Ãűídept£¨²¿ÃÅÃû³Æ£¬²¿Ãźš£¡££©ÓÐÒ»¸öÈËÔ±±íemp£¨ÐÕÃû£¬ÈËÔ±±àºÅ£¬Ö°Î»£¬Ð½×Ê£¬²¿ÃÅ£©
emp±íÖеÄÄÚÈÝÊÇÕâÑùµÄ£º
a 1 ¹¤³Ìʦ 3000 Èí¼þ²¿
b 2 ÆÕͨԱ¹¤ 2000 Ó²¼þ²¿
c 3 ¹¤³Ìʦ 4000 Ó²¼þ²¿
d ......

¹ØÓÚSqlµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

½«Ò»¸ö²éѯÓï¾ä¸³¸øÒ»¸ö±äÁ¿£¬ÈçÏ£º
DECLARE @STR NVARCHAR(MAX)
SET @STR='SELECT * from SALE_PROD'
ÔõôÑù²ÅÄÜÖ´ÐÐËüÄØ£¿
Çë¸ßÊÖ£¬ÈÊÐÖ£¬ÏÀ½ã°ï°ïæ°¡


¶àл£¬¿ÉÒÔÀ²£¬¸ßÊÖ°¡

Ö±½ÓÖ´ÐоÍÐÐÁË

exec ......

Ôõô°ÑMDFÊý¾Ýתµ½MySQL£¿ - MS-SQL Server / »ù´¡Àà

Ôõô°ÑMDFÊý¾Ýתµ½MySQL£¿
ÖÁÉٵø½¼Óµ½sqlserverÉÏ

¾ßÌåÔõôŪ°¡ ÎҵıÏÒµÉè¼ÆµÄÊý¾Ý¿âÊÇ´ÓÍøÉÏdownÏÂÀ´µÄ£¿£¿

Ä㻹²»ÈçÖ±½ÓÓÃsqlserverÄØ

º¯Êý¡¢´æ´¢¹ý³Ì¶¼µÃ¸ÄÁË¡£

sqlserverûÔõôÓùý¡£Ò²Ã»Óа²× ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ