Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : sqlserver

¹ØÓÚsqlserverÖеÄÊ¡ÂԺŠ- MS-SQL Server / »ù´¡Àà

SELECT *
INTO newtable
from OPENDATASOURCE ('Microsoft.Jet.OLEDB.4.0', 
  'Data Source="c:\DB.mdb";User ID=Admin;Password=' )...±íÃû
Õâ¸ö Êý¾Ýµ¼ÈëµÄ ÆäÖкóÃæµÄ ...±íÃû ÕâÈý¸öµãÊǸÉʲôÓõİ¡
Ê¡ÂԺźóÃæÊǹ¤×÷±íµÄÃû×ÖÈ磺sheet1

Õâ¸ö£¬²»ÊÇSQLÓï¾ä£¬ÊÇÓÃÀ´¸øÄã½âÊ͵Ä
......

SQLSERVER ×Ö·û´®±í´ïʽ - MS-SQL Server / ÒÉÄÑÎÊÌâ

SQLSERVER ÎÒÓÐÒ»¸ö±í£¬²é³öÀ´µÄÒ»¸ö×Ö¶ÎÊÇ×Ö·û´®±í´ïʽ
±ÈÈç
a b c 5*6-3
a be ce 15*(6-3)
a b c 36-3
a be ce 1*(9-8)
ÎÒÏëÔڴ˺óÃæÔö¼ÓÒ»ÁÐ×ֶΣ¬°Ñ¼ÆËã½á¹ûÊä³öÀ´£¬
a b c 5*6-3 27
a be ce ......

php·ÃÎÊsqlserverÊý¾Ý¿âµÄÎÊÌâ - PHP / »ù´¡±à³Ì

ERPÈí¼þµÄÊý¾Ý¿âÊÇSQLSERVER2000µÄ£¬¹«Ë¾ÈÃÎÒ×ö¸öÍøÕ¾£¬ÆäÖÐÓÐЩÊý¾ÝÊǵ÷ÓÃERPÀïµÄ£¬ÎÒÏëÓÃPHP×öÍøÕ¾£¬µ«ÊDz»ÖªµÀPHP·ÃÎÊSQLSERVER¿âºÃʵÏÖ²»£¬ÔÙ¾ÍËٶȷ½ÃæÓ°Ïì²»»áÌ«´ó°É£¿¸úASP·ÃÎÊSQLSERVERÏà±ÈËٶȱ仯´ó²»£¿£¨ASPÖ÷ÒªÊÇ°²È«ÐÔ²»Ì«ºÃ£¬²»ÏëÓÃËü£©
¶¥Ò»Ï£¬²»¾ÃÎÒÒ²µÃ°Ñmysql»»³ÉsqlserverÁË£¬µ½Ê±²»ÖªµÀ»áÓöµ½Ê²Ã´Ñùµ ......

SqlServer²åÈëÂýµÄÎÊÌâ½â¾ö - .NET¼¼Êõ / ASP.NET

http://blog.csdn.net/realwar/archive/2010/05/29/5632359.aspx
ͦÓд´Ò⣬¾ÓÈ»°Ñ¾Û¼¯Ë÷Òý½¨Á¢ÄÇô¶à×ֶΡ£
Îҵľۼ¯Ë÷Òý¼¸ºõ¶¼ÊÇÀ˷Ѿ͸øidÓá£

¶¥ÏÂÌùÔÙ¿´£¡

see it .

²»´í £¬Õâ¸ö¶«Î÷ÖµµÃÒ»¿´£¡

ÒýÓÃ
ͦÓд´Ò⣬¾ÓÈ»°Ñ¾Û¼¯Ë÷Òý½¨Á¢ÄÇô¶à×ֶΡ£
Îҵľۼ¯Ë÷Òý¼¸ºõ¶¼ÊÇÀ˷Ѿ͸øidÓá£
ºÇºÇ, id²¢²»ÊÇ ......

sqlserver ´¥·¢Æ÷ - MS-SQL Server / »ù´¡Àà

ÓÐÁ½¸ö±íÒ»¸öÊÇ¿Í»§¶©µ¥±í(¶©µ¥ºÅ£¬²úÆ·ºÅ£¬ÊýÁ¿£¬¼Û¸ñ£©,Ò»¸öÊÇÉÌÆ·±í(²úÆ·ºÅ£¬²úÆ·Ãû£¬²úÆ·ÊýÁ¿)
ÈçºÎÓô¥·¢Æ÷Íê³Éµ±²åÈë¿Í»§¶©µ¥±íºó£¬»á×Ô¶¯¸üÐÂÉÌÆ·±íÖеIJúÆ·ÊýÁ¿
Èô²úÆ·ÊýÁ¿²»¹»Ê±±¨´í£¨¿ÉÊä³öÎÄ×Ö±¨´íÐÅÏ¢£©
лл´ó¼Ò¡£
-- ×Ô¶¯¸üÐÂÉÌÆ·±íÖеIJúÆ·ÊýÁ¿
-- ²úÆ·ÊýÁ¿²»ÄÜΪ¸º£¬
-- ËùÒÔÔÚ×ö¶©µ¥Ê±£¬Òª¼ì²âÉÌÆ·± ......

sqlserverÑ­»·Éú³ÉÊý¾Ý - MS-SQL Server / »ù´¡Àà

ÏÖÔÚÓÐÒ»¸ö±ítable1£¬Ö»ÓÐÒ»¸ö×ֶΣ¬varchar£¨10£©
num
111
112
113
114
ÏÖÔÚÏëҪѭ»·table1ÖеÄËùÓÐÊý¾Ý£¬Ô­À´µÄ111Éú³É111001-111999²åÈëµ½table2ÖÐ
SQL code:
Select ltrim([num])+right(1000+number,3)col
from tb a,master..spt_values b
where type='P' and number between 1 and 999

sqlÖеÄÑ­»·ÒªÓà ......
×ܼǼÊý:322; ×ÜÒ³Êý:54; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³[2] [3] [4] [5] [6] [7] [8] [9] [10]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ