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

MSSQL ÈçºÎÍêÕûµÄ¸´ÖÆÒ»±í - MS-SQL Server / »ù´¡Àà

ÈçÌâ,Ö»Òª±í½á¹¹.²»ÐèÒªÊý¾ÝµÄ.±í½á¹¹¸´Öƺܺø´ÖÆ.µ«ÊǸú±íÓйصĴ¥·¢Æ÷,Ë÷ÒýµÈ,»¹ÓÐͳ¼ÆÐÅÏ¢Õâ¸öÊý¾ÝÄܹ»Ò»Æð¸´ÖÆ×ßÂð.¾ÍÊÇÁ½ÕűíÊÇһģһÑùµÄ.
select * into b from a

ÒýÓÃ
select * into b from a

ûÓÃ,ÕâÖ»ÊǸ´ÖƱíÄÚÊý¾Ý

ʹÓÃselect * into tab2 from tab1
µÄ·½Ê½£¬ÊDz»»áÁ¬Í¬Ö÷¼ü,Ë÷Òý,Ô¼Êø,´¥·¢Æ÷µÈÒ»Æ𸴹ýÈ¥
Ö»ÊÇ´´½¨ÐÂ±í²¢×°ÔØÊý¾Ý¶øÒÑ

û·¨×Ó,ÄãµÃÁí½¨ÆäËüµÄ²¿·Ö

¶ÔÁË,Äã¿ÉÒÔÕâÑù
°ÑÏÖÓеıíÉú³É.SQL½Å±¾£¬Ôڽű¾Öн«ÏÖÓбíµÄ±íÃû¸ÄΪÄãÒªµÄÁÙʱ±í£¬ÔÙÔËÐиýű¾

¾ßÌåµÄ²Ù×÷¹ý³ÌÊÇ
ÓÒ»÷ÄãµÄ±íÃû
³ö²Ëµ¥, Ö¸Ïò"±àдÊý¾Ý¿â½Å±¾Îª"->"CREATE µ½"->"вéѯ±à¼­Æ÷´°¿Ú"
Äã»á¿´µ½³öÏÖÒ»¸öд°¿Ú, °ÑÕâÀï´úÂëÖÐËùÓеıíÃû¸Ä³ÉÄãÒª¸´ÖƵ½µÄ±íÃû


ÀûÓÃÔ­ÓбíÉú³É½Å±¾£¬Éú³ÉÐÂ±í£¬È»ºó°ÑÔ­ÓбíµÄÊý¾Ý²åÈ뵽бíÖÐ

select * into b from a where 1=2


select * into #tmp from tab
select * from #TMP from TAB WHERE 1<=2


Éú³É±íµÄSQL½Å±¾³öÀ´£¬ÕâÑùÊǶԱí½á¹¹µÄ×îºÃ±£´æ¡£
{{


Ïà¹ØÎÊ´ð£º

csvÎļþת»»³Ésqlµ¼Èëµ½Êý¾Ý¿â£¬Ã»ÓÐÊý¾ÝΪºÎ£¿

Ö´ÐеÄ˳Ðò£º
1£©Îļþä¯ÀÀ¿ò£¨Ñ¡ÔñÎļþʹÓã©
Ñ¡ÔñºÃÎļþºó
µã»÷Ò»¸öµ¼Èë°´Å¥µÄʱºò £¬°ÑÉÏÃæÉÏ´«¿òÀïµÄcsvÎļþÒÔÒ»¸öIDΪÎļþÃû£¬ÉÏ´«µ½**/**Îļþ¼ÐÏÂ
2£©¶ÁÈ¡Õâ¸öÎļþ¼ÐϵÄcsvµÄÎļþ£¬×ª»»³Ésql
3 ......

¹ØÓÚACCESSºÍMSSQLµÄÎÊÌâ - Web ¿ª·¢ / ASP

ÓÐÒ»¸öÊý¾Ý¿âÀïÖ»ÓÐ2WÌõÊý¾Ý²»µ½£¬È´ÓÐ500MÄÇô´ó,Ôõô»ØÊ°¡£¿ÊÇACCESSµÄÊý¾Ý¿â¡£ºóÀ´ÎÒ°ÑACCESSµ¼Èëµ½MSSQLÖУ¬Ò²Õ¼ÓÃÁË500M×óÓҵĿռ䣬Èç¹ûѹËõÊý¾Ý¿âÄØ£¿Çë¸ßÊÖÖ¸µã
ѹËõÊý¾Ý¿â£¿ÄÜ×öµ½Ã´...
ÆÚ´ý¸ßÈËÖ¸µã ÎÒ ......

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

ÏÖÔÚÓÐÁ½ÕÅ±í£ºÎÄÕÂÖ÷±íA(articleId,articleTitle)£¬ÎÄÕÂÆÀÂÛ±íB(commentId,articleId,commentTitle)
ÏÖÔÚÎÒÏëʵÏÖÕâÑùµÄ¹¦ÄÜ£ºÁгöÎÄÕÂÁÐ±í£¬ÆäÖÐÿƪÎÄÕ±êÌâÏÂÃæÁгö´ËÎÄÕµÄÇ°2¸öÎÄÕÂÆÀÂÛ£¬ÇëÎÊsqlÓï¾äÔõôд°¡ ......

Çóһʱ¼ä±È½ÏµÄSQL Ö¸Áî - MS-SQL Server / »ù´¡Àà

±íÊý¾Ý
COL1 COL2 COL2 COL4 COL5
----------------------------------------------------------------------------------------------
2010-05-05 00:00 ......

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

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

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

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

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

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