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

ÈçºÎͬʱÁ¬½ÓÁ½¸ösqlserverÊý¾Ý¿â

ÈçºÎͬʱÁ¬½ÓÁ½¸ösqlserverÊý¾Ý¿â
×öÁ½¸öÊý¾Ý¿âÁ¬¾Í¿ÉÒÔÁË

ÒýÓÃ
ÈçºÎͬʱÁ¬½ÓÁ½¸ösqlserverÊý¾Ý¿â


ÊÇÈçºÎÁ¬½Ó¡£



End_rbody_60474109//-->
¸Ã»Ø¸´ÓÚ2009-10-19 10:39:55±»¹ÜÀíԱɾ³ý



¶ÔÎÒÓÐÓÃ[0]
¶ª¸ö°åש[0]
ÒýÓÃ
¾Ù±¨
¹ÜÀí
TOP








ayouori


µÈ¡¡¼¶£º



#4Â¥ µÃ·Ö£º10»Ø¸´ÓÚ£º2009-10-17 08:54:04


Ö»ÒªÁ¬½Ó¶ÔÏñÃû×Ö²»Ò»Ñù¾ÍÐÐÁË,¶àÉÙ¸öÊý¾Ý¿â¶¼¿ÉÒÔ,²»Í¬ÀàÐ͵ÄÊý¾ÝÒ²ÐÐ.
±ÈÈç
VBScript code:

set conn1=server.createobject("ADODB.connection")
connstr="Driver={SQL Server};Server=zy;Database=Êý¾Ý¿âÒ»;Uid=sa;Pwd=sa;"
conn1.open connstr

set conn2=server.createobject("ADODB.connection")
connstr="Driver={SQL Server};Server=zy;Database=Êý¾Ý¿â¶þ;Uid=sa;Pwd=sa;"
conn2.open connstr



Ö»ÒªÁ¬½ÓÃû²»Ò»Ñù¾Íok£¬´úÂ룬¥ÉÏÕý½â£¡

set conn1=server.createobject("ADODB.connection")
connstr="Driver={SQL Server};Server=zy;Database=Êý¾Ý¿âÒ»;Uid=sa;Pwd=sa;"
conn1.open connstr

set conn2=server.createobject("ADODB.connection")
connstr2="Driver={SQL Server};Server=zy;Database=Êý¾Ý¿â¶þ;Uid=sa;Pwd=sa;"
conn2.open connstr2


ÎÒÒ²ÊÇÕâôдµÄ£¬ÄѵÀ¾ÍûÓбðµÄ°ì·¨À


Ïà¹ØÎÊ´ð£º

sqlserverÖУ¬Óô洢¹ý³Ì·ÖÒ³

´ó¼ÒÓÐûÓÐ ´æ´¢¹ý³Ì·ÖÒ³µÄÀý×Ó£¬¹²Ïíһϣ¬Ð»Ð»£¡£¡£¡
http://wyf.javaeye.com/blog/462396

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO


/*--ʵÏÖ·ÖÒ³µÄͨÓô洢¹ý³Ì

  ......

sqlserver¡¡µÄ¹æÔòruleÈçºÎÀí½â

sqlserver¡¡µÄ¹æÔòruleÈçºÎÀí½â£¬¡¡ÏÂÃæÊÇÒ»¸öʵÀý£¬Çë½áºÏ¸ÃÀý×Ó½âÊÍ£º
ΪĿ±êÊý¾Ý¿â¹ÜÀíϵͳÉè¼ÆÒµÎñ¹æÔò£º
4.2.1 ¹æÔò£º
Ø rule[Sex]
create rule [Sex] as @ in ('ÄÐ','Å®') ......

¡¾ÇóÖú¡¿SqlServer²é¿´Êý¾Ý¿âµÄ¶ÔÏó

ÔÚSqlServerÖÐÈçºÎ²é¿´Êý¾Ý¿âµÄ¶ÔÏ󣬱ÈÈçÎÒÏë²é¿´Êý¾ÝÖÐÓÐÄÄЩ±í£¬ÊÓͼ£¬º¯Êý£¬¹ý³Ì¡£
£¨Í¨¹ýsqlÓï¾äÀ´²é£¬¶ø²»ÊÇͨ¹ýÆóÒµ¹ÜÀíÆ÷¿´£©

ps£ºÖ÷ÒªÊÇÒòΪÎÒÓÐÁ½¸öÊý¾Ý¿â£¬¿â½á¹¹ºÜÏàËÆ£¬ÎÒÏë¶Ô±Èһϣ¬ÕÒ³ö¶Ô ......

java³ÌÐòÁ¬½ÓSQlServerµÄÎÊÌâ - Java / Java SE

import java.sql.Connection;
import java.sql.Date;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
public class QueryTest&n ......

SQLServer ÎÞ·¨½¨Á¢Á¬½Ó£¬·þÎñÈ«²¿¹Ø±Õ£¬Æô¶¯²»ÁË

Ê×ÏÈ£º¼ÒÀïµçÄÔ×°×ÅSQLServer ÊÇ×Ô¼ºµ½¼ÒÀïÒ²ÄÜ·½±ã¹¤×÷£¬Ç°¼¸Ì컹ºÃºÃµÄ£¬×òÌìÎÒÉÏSQL È´´ò²»¿ªÁË£¬µÇ¼²»ÉÏÈ¥£¬ÎÒÊÔ×Å»»saµÇ¼Ҳ²»ÐС£ÓÃwindowsµÇ¼»¹ÊÇÁ¬½Óʧ°Ü ±¨´íÊÇÕâÑùµÄ£º
      ÔÚ½¨Á¢ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ