Response.Clear();
Response.ContentType = "image/jpeg";
string idCard = Request.QueryString["id"];
if (!string.IsNullOrEmpty(idCard))
  ......
create trigger [trgDeleteEuser]
on [dbo].[E_UserInfo]
for delete
as
delete Job_Info from Job_Info j join Deleted d on j.user_name=d.user_name
delete job_evaluation from job_evaluation e join Deleted d on e.user_name=d.user_name
ÔÚÏߣ¬¼±µÈ¡£¡£¡£{{ ......
ÎÒÒ»¸öÏîÄ¿ÀïÒªÁ¬½ÓSQLserverºÍORACLEÁ½¸öÊý¾Ý¿â£¬
·â×°ÀàÀïÃæÓõÄÊÇusing System.Data.OleDb; £¨±¾ÈËÓõÄÊÇC#£©
ÏëÄDzÙ×÷ÕâÁ½¸öÊý¾Ý¿âµÄÀà·â×°ÔÚÒ»Æ𣬠ÈçºÎ×öÄØ£¿ ÓÐûÄÄλÓÐдºÃÁ˵ģ¿
Óù¤³§Ä£Ê½À´Ð´ÄúµÄÊý¾Ý¿âÁ¬½ÓÀà¾Í¿ÉÒÔÁË.
»òÕß²»¶®µÄ,¿ÉÒÔÖ±½ÓÔÚÀàÀïÃæ¸ù¾ÝCONNECTSTRINGÀ´Çø·Ö°É,IF ELSE½â ......
ÓÐÈËÊÔ¹ýÔÚwin7ÉÏ°²×°sqlserverÂð£¿
Ìý˵sql2000×°²»ÉÏÈ¥£¬²»ÖªµÀÆäËû°æ±¾Ðв»ÐС£
ºÃÏñ²»ÐÐ,²»¼æÈÝ,ÉÏ´ÎÒ²ÓÐÈËÎʹýѽ
ºÇºÇ£¬ÓÐÍøÓÑÓÐÏà¹ØµÄ¾ÑéÂð£¿
Õâ¸ösqlserverÒª¾¡Á¿×°ÔÚwin7ÉÏ¡£
SQLSERVER 2000ûÊÔ¹ý¡£
ÎÒÔÚWINDOWS 2008 R2ÉÏ×°¹ý¡£¿ÉÒÔµÄ
win2008ÊÇ·þÎñÆ÷Âï
¾Ý˵sql2005ÔÚ°²×°sp3ºó¾Í¿ÉÒÔÁË
² ......
create procedure test
as
declare @var_0 varchar(100)
declare @cc int
set @cc=0
exec('select @var_'+@cc +'=fullName from contact')
go
exec test
Ö´Ðиô洢¹ý³ÌµÄʱºò »á±¨@var_0 δÉùÃ÷
ÇëÎʸ÷λ´óÏÀ£¬£¬Õâ¸ÃÈçºÎ´¦Àí £¬£¬£¨ÕâÖ»ÊDzâ ......
ÔÚÊý¾Ý¿âÖÐÈÕÆÚÈçÏÂÏÔʾ£º2009-2-27 9:40:47
Õâ¸ö²»ÊÇÎÒÏëÒªµÄ£¬ÎÒÐèÒªÔ·ݺÍʱ¼äÓÃÁ½Î»Êý±íʾ£¬ÉÏÃæµÄÓ¦¸Ãת»»Îª;2009-02-27 09:40:47
ÇëÎÊ
1¡¢ÈçºÎ¶ÔÏÖÓÐÈÕÆÚ½øÐÐת»»£¨Êý¾Ý¿âÖÐÒÑ´æÔÚÐí¶àÀàËƵÄÖµ£¬ÎÒÐèÒª½«Æä¸Ä»ØÀ´£©
2¡¢ÈçºÎÈ·±£Ï´βåÈëµÄʱºòֵΪÎÒÐèÒªµÄÄÚÈÝ£¨²åÈëʱÄÚÈÝÊÇÕýÈ·µÄ£©
SQL code:
SELECT CONVER ......