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

°ïæ¿´Ò»sqlÓï¾ä

declare @ERR int;
insert into T_SpotPicInfo(SpotId,PicPath,smallPicPath,Description,AddUser)values( 1,'s','s','s',2);
select @ERR=@ERR+@@ERROR;--set @ERR=@ERR+@@ERROR;
insert into T_SpotPicInfo(SpotId,PicPath,smallPicPath,Description,AddUser)values( 1,'s','s','s',2);
select @ERR=@ERR+@@ERROR;--set @ERR=@ERR+@@ERROR;
SELECT @ERR
Ôõô@ERRΪNULL
@ERR ûÓгõÖµ°É

SQL code:

declare @ERR int;
set @ERR=0
insert into T_SpotPicInfo(SpotId,PicPath,smallPicPath,[Description],AddUser)values( 1,'s','s','s',2);
select @ERR=@ERR+@@ERROR; --»òÕßselect @ERR=isnull(@ERR+@@ERROR£¬0)
insert into T_SpotPicInfo(SpotId,PicPath,smallPicPath,[Description],AddUser)values( 1,'s','s','s',2);
select @ERR=@ERR+@@ERROR;
SELECT @ERR


null+Öµ=null

SQL code:
declare @ERR int
set @ERR=0



ûÓÐÉèÖóõÖµ£¬ISNULL(@ERR,0)


Ïà¹ØÎÊ´ð£º

sqlÓï¾ä¶à±í¶à×ֶβéѯ - MS-SQL Server / »ù´¡Àà

ÎÒÓжà¸ö±íA B C ½á¹¹ÊÇÒ»ÑùµÄ£¬¶¼ÓÐ2¸ö×Ö¶ÎnameºÍcontent,ÎÒÒªËÑË÷ËùÒÔ±íËùÓÐ×Ö¶ÎÖаüº¬¡°Öйú¡±µÄÄÚÈÝ Õâ¸öSQLÓï¾äÔõôд 

ÈçºÎ½«¶à¸ö±íµÄ²éѯ½á¹ûÁ¬³ÉÒ»¸ö±í Õâ¸öSQLÓï¾äÔõôд ±íµÄ½á¹¹ÊÇÒ»ÑùµÄ
ÀýÈç£ ......

jspÁ´½Ósql2000µÄÒÉÎÊ£¿



type Exception report


message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jas ......

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

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

sql ËÑË÷Óï¾ä - .NET¼¼Êõ / ASP.NET

<table style="width: 1000px"><tr>
  <td style="height: 38px; width: 35px;">
  ÐÕÃû</td>
  ......

ASPÁ´½ÓSQLµÄ¼òµ¥µÇ½½çÃæ - .NET¼¼Êõ / ASP.NET

protected void btnLogin_Click(object sender, EventArgs e)
  {
  SqlConnection conn = new SqlConnection("Server = (local);user id = sa;pwd = 1;database = Login");
&nb ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ