Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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
 ×îÐÂÎÄÕ : mssql

ÇómssqlºÍorcalÁ½ÌõÓï¾ä - MS-SQL Server / ÒÉÄÑÎÊÌâ

SQL code:

sql2005£¬sql2008
SELECT
±íÃû=CASE WHEN a.colorder = 1 THEN d.name ELSE '' END,
±í˵Ã÷=CASE WHEN a.colorder = 1 THEN isnull(f.value, '') ELSE '' END ,
×Ö¶ÎÐòºÅ=a.colorder ,
×Ö¶ÎÃû=a.name ,
±êʶ=CASE WHEN COLUMNPROPERTY(a.id, a.name, 'IsIdentity') = 1 THEN '¡Ì' ELSE '' END , ......

MSSQLºÍJDBCµÄÁ¬½ÓÎÊÌâ! - Java / Web ¿ª·¢

СµÜÊdzõѧÕß.
Ê×ÏÈ˵ÏÂÎÒµÄÇé¿ö,JSP¿ª·¢»·¾³ÒѾ­½¨ºÃ,¿ÉÒÔ¿ª·¢JSPÒ³Ãæ,ÓõÄÊÇMS SQL 2000,Êý¾Ý¿âÒ²ÊÇûÎÊÌâµÄ.È»ºóÎÒÓÃJSPÁ¬½ÓSQL,È´Ò»Ö±²»³É¹¦.ÎÒÏÂÁËJDBCºÍODBCµÄÇŽÓ,²¢°²×°ÁË,È»ºóÏÂÁËJDBCµÄJAR°ü,·ÅÔÚD:\Tomcat 5.5\common\libÕâ¸öÎļþ¼ÐÀïÃæ.CLASSPATHµÄ±äÁ¿ÉèÖÃÊÇ.;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tool.j ......

ÇómssqlºÍorcalÁ½ÌõÓï¾ä - Oracle / ¸ß¼¶¼¼Êõ

SQL code:

sql2005£¬sql2008
SELECT
±íÃû=CASE WHEN a.colorder = 1 THEN d.name ELSE '' END,
±í˵Ã÷=CASE WHEN a.colorder = 1 THEN isnull(f.value, '') ELSE '' END ,
×Ö¶ÎÐòºÅ=a.colorder ,
×Ö¶ÎÃû=a.name ,
±êʶ=CASE WHEN COLUMNPROPERTY(a.id, a.name, 'IsIdentity') = 1 THEN '¡Ì' ELSE '' END , ......

oracle ºÍMSSQLÓÐÄÄЩÇø±ð£¡ - .NET¼¼Êõ / C#

´ó¼Ò·¢±íÒ»ÏÂ×Ô¼ºµÄÒâ¼û°¡£¡
1 ¿ªÔ´ÐÔ²»Ò»Ñù
2 Êý¾Ý¿âÈÝÁ¿ÐÔÄܽç±ð²»Äܲ¢ÂÛ
3 ¹«Ë¾¹æÄ£ÍêÈ«²»Ò»Ñù
  OracleÄ¿Ç°ÊǹØϵÊý¾Ý¿âÖв¢·¢ÐÔÄÜ×îºÃµÄ£¬Ò²µÃµ½¹«ÖÚÈÏ¿É¡£
  Mysql³äÆäÁ¿¿ÉÒÔËã¸öÖÐÐÍÊý¾Ý¿â

oracleÊÇÃæÏò´óÖÐÐÍÆóÒµÓ¦ÓõÄÊý¾Ý¿âϵͳ£¬¾ßÓнϸߺͽÏÍêÉƵÄÐÔÄÜ£¬µ«¶ÔÊý¾Ý¿â¹ÜÀíÔ±¾ßÓнϸߵÄÒªÇó¡£Ö ......

ÐÂÊÖÇómssql´¥·¢Æ÷Óï¾ä - MS-SQL Server / Ó¦ÓÃʵÀý

ÓÐÒ»¸ö±í a ( id ,c ,d) ºÍÒ»¸ö ±í b ( id ,a_id )
a±íºÍb±íµÄid¶¼ÊÇ ×Ô¶¯Ôö³¤µÄ 
µ«ÔÚa±íÖвåÈëÊý¾ÝµÄʱºò ÄܰѸÃÊý¾ÝµÄ id ²åÈë b±íÖÐ ¡£

SQL code:
create trigger tri_tb_insert
on a
for insert
as
insert b(aid) select id from inserted
go

°ï¶¥»Ø¸´ÄÚÈÝÌ«¶ÌÁË£¡

SQL code:
crea ......

µ÷ÓÃMSSQLµÄ´æ´¢¹ý³Ì³öÏÖÎÊÌâÁË - .NET¼¼Êõ / C#

SQL code:

create
-----alter
proc AddNewAlm( @DID int ,
@UID int , @ATID int , @P1 int ,@P2 int, @SCIP nvarchar(20), @ATime datetime )
--returns int
as
begin
declare @IsHas int;
declare @AID int;
set @AID = 0;
update AlmInfoTmp set UID=UID where DID=@DID ......
×ܼǼÊý:200; ×ÜÒ³Êý:34; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [1] [2] [3] [4] 5 [6] [7] [8] [9] [10]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ