database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
ㆍMS-SQL
DB2
Cache
CUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
MS-SQL Q&A 726 게시물 읽기
No. 726
[ODBC질문]autocommit mode에서 batch 실행 시 transaction boundary?
작성자
이윤원(kelovon)
작성일
2003-02-26 13:24
조회수
4,105

ODBC에서 autocommit mode에서 batch 실행 시 transaction boundary가 어떻게 되는지 아시는 분 있나요?

 

MSDN에서는 다음과 같이 이야기하고 있네요...

 

When a batch is executed in autocommit mode, two things are possible. The entire batch can be treated as an autocommitable unit, or each statement in a batch is treated as an autocommitable unit. Certain data sources can support both these behaviors and may provide a way of choosing one or the other. It is driver-defined whether a batch is treated as an autocommitable unit or whether each individual statement within the batch is autocommitable.

 

(ODBC Programmer's Reference의 SQLSetConnectAttr()에서 발췌)

 

여기서 driver-defined라는데.. MS SQL-Server용 ODBC(최근 버전을 받았는데 정확한 버전은 모르겠네요...)는 이를 어떻게 하는지 모르겠네요...

 

즉, 한 batch가 하나의 transaction인지, batch 안의 각각의 statement가 한 batch인지?

[Top]
No.
제목
작성자
작성일
조회
729mssql dblib thread-safe 하나요?
박준철
2003-03-03
3747
728링크드서버 관련 트리거 질문입니다.
홍종근
2003-02-28
4013
727테이블을 어케 짜야 할지 감이 없습니다...도와주세여
초보자
2003-02-27
3457
726[ODBC질문]autocommit mode에서 batch 실행 시 transaction boundary?
이윤원
2003-02-26
4105
725[질문]데이터베이스 문자셋을 UTF-8로 어떻게 설정할 수 있나요?
김정태
2003-02-24
4642
724[질문]리눅스+php에서 원격의 mssql서버와의 연동 어떻게.. 잡죠?
김성림
2003-02-24
4178
723[질문]오라클 설치하고 MSSQL 설치시 에러
질문
2003-02-21
3672
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2024 DSN, All rights reserved.
작업시간: 0.019초, 이곳 서비스는
	PostgreSQL v16.2로 자료를 관리합니다