Date: Tue, 27 Jun 2006 07:29:53 +0900
From: who@example.ne.jp (ËÙ¹¾Àµ¹À)
--***kiritorisen***
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
¤¤¤Ä¤â¤ªÀ¤ÏäˤʤäƤª¤ê¤Þ¤¹¡£ËÙ¹¾¤È¤¤¤¤¤Þ¤¹¡£
ÇÓ¾¥í¥Ã¥¯¤Ë¤Ä¤¤¤Æ¡¢¶µ¤¨¤Æ¤¤¤¿¤À¤±¤ì¤Ð¤È»×¤¤¤Þ¤¹¡£
¡ÊSQL SERVER2000¤ò»È¤Ã¤Æ¤Þ¤¹¡£¡Ë
¤¿¤È¤¨¤Ð
CREATE TABLE TEST(
A INTEGER PRIMARYKEY,
B INTEGER)
GO
INSERT INTO TEST(A,B) VALUES (1,10)
GO
¤È¤·¤Æ¤ª¤¤Þ¤¹¡£
¡¥¯¥¨¥ê¥¢¥Ê¥é¥¤¥¶¡¼¤ÇÀܳ¤·²¼µ½èÍý¤ò¼Â¹Ô¤·¤Þ¤¹¡£
¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á
BEGIN TRAN
UPDATE TEST set B = 2 where A=1
¤ï¤¶¤È¥³¥ß¥Ã¥È¤·¤Ê¤¤
¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á
¢¥¯¥¨¥ê¥¢¥Ê¥é¥¤¥¶¡¼¤ÇÀܳ¤·²¼µ½èÍý¤ò¼Â¹Ô¤·¤Þ¤¹¡£
¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á
BEGIN TRAN
SET TRANSACTION ISOLATION LEVEL READ COMMITTED
select * from TEST where A=1
COMMIT TRAN
¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á
¢¤Ç¤Ï¡¢¥í¥Ã¥¯¥¿¥¤¥à¥¢¥¦¥È¤·¤Þ¤¹¡£
¤½¤ì¤Ï¡¢¡¤ÇÇÓ¾¥í¥Ã¥¯¤ò³Ý¤±¤Æ¤¤¤ë¤«¤é¤Ç¤¹¡£
¤Ç¤Ï¡¢¡¤ò¡¡¤ÎÍͤˤ«¤¨¤Æ¡¢¢¤ò¼Â¹Ô¤¹¤ë¤È¡¢
¡¡¥¯¥¨¥ê¥¢¥Ê¥é¥¤¥¶¡¼¤ÇÀܳ¤·²¼µ½èÍý¤ò¼Â¹Ô¤·¤Þ¤¹¡£
¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á
BEGIN TRAN
SELECT * FROM TEST WITH (XLOCK) where A=1
¤ï¤¶¤È¥³¥ß¥Ã¥È¤·¤Ê¤¤
¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á¡Á
¢¤ò¼Â¹Ô¤¹¤ë¤È¡¢Æɤ߹þ¤ß¤¬½ÐÍè¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
¡¡¤Ç¤â¡¢ÇÓ¾¥í¥Ã¥¯¤ò³Ý¤±¤Æ¤¤¤Þ¤¹¤·¡¢¥È¥é¥ó¥¶¥¯¥·¥ç¥ó¤â¤ï¤¶¤È¥³¥ß¥Ã¥È¤·
¤Æ¤Þ¤»¤ó¡£
»ä¤Î´õ˾¤Ç¤Ï¡¢SELECT»þ¤«¤éÇÓ¾¥í¥Ã¥¯¤ò³Ý¤±¡¢Â¾¤ÎÀܳ¤«¤é¸«¤ì¤Ê¤¤¤è¤¦¤Ë¤·
¤¿¤¤¤Î¤Ç¤¹¤¬¡¢
²¿¤¬¤¤¤±¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡©
¤´¶µ¼ø¤¤¤¿¤À¤±¤Þ¤¹¤Ç¤·¤ç¤¦¤«¡©
¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£
--***kiritorisen***
Content-Type: application/x-postpet; name="temp.ppd"; x-mac-type="70444154"; x-mac-creator="6D4F6D4F"
Content-Transfer-Encoding: base64
Content-Disposition: inline
Content-Description: Following data is used by PostPet(tm) mailer for its PetData.
AAAAAQAAAC0AAAMtAAAAAQfWAAYAGwAHAB8ACgACBIOCg4IIg32BW4N7g0VCRUFSAAROtAAAAABA
UGuuFHuvK0BY/Rc1jrYiP8qKG5RJP34AAAAAAAAAAEBZAAAAAAAAQFkAAAAAAABAKaPXCj01xgfP
AAIAFQAKACcADwAAFFFaQjEwMzczQG5pZnR5Lm5lLmpwAAAAAARARoAAAAAAAEBIgAAAAAAAQFkA
AAAAAABANvFEzL6tC0BZAAAAAAAAQFYITQE6iMkAAAAAAAAAAEBZAAAAAAAAQEkAAAAAAABAWQAA
AAAAAEBJ3Cj1wo9XQEmAAAAAAABASoAAAAAAAAAAAAAAAAAAQFkAAAAAAABAWQAAAAAAAEBIgAAA
AAAAQFkAAAAAAABAUHPAGjeOjEBZAAAAAAAAAAAAAEDExQAAAAAAQG/gAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAGIATQAAAAAAAAAAAAAAZAAAAAAAAAAAAAAAAAAAAT4AAAAA
--***kiritorisen***
Content-Type: text/plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
--***kiritorisen***--
[MSDE/SQLServer¤Ë´Ø¤·¤Æ¡¢º£¡¢¤É¤ó¤Ê¤³¤È¤Ë¤ªº¤¤ê¤Ç¤¹¤«¡©] |
¤è¤í¤·¤±¤ì¤Ð¤ªº¤¤ê¤ÎÆâÍƤò¡¢ÅŻҥ᡼¥ë¤Ç¶µ¤¨¤Æ²¼¤µ¤¤¡£ |
¼ÁÌä¤òÅŻҥ᡼¥ë¤ÇºîÀ®¤¹¤ë
|
[¥¦¥£¥ó¥É¤òÊĤ¸¤ë][MSDE/SQLServer FAQ ][MSDE / MSDE2000 µ»½Ñ¥µ¥Ý¡¼¥È¾ðÊó°ìÍ÷]
|