티스토리 뷰

Data.Win.ADODB.TADOQuery.ExecSQL

Delphi

function ExecSQL: Integer; {for TQuery compatibility}

C++

int __fastcall ExecSQL(void);

Properties

TypeVisibilitySourceUnitParent
functionpublic
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODBTADOQuery

Description

Executes the SQL statement / for the ADO query.

Call ExecSQL / to execute / the SQL statement / currently assigned to the SQL property. 

Use ExecSQL / to execute queries / that do not return / a cursor to data (such as INSERT, UPDATE, DELETE, and CREATE TABLE).

ExecSQL / returns an integer value / reflecting the number of rows / affected by / the executed SQL statement.


ADO 쿼리의 SQL 문을 실행합니다.

ExecSQL 메소드를 호출하면 현재 SQL 속성에 지정되어있는 SQL 문이 실행됩니다. 

ExecSQL 를 사용하면 커서를 데이터에 반환하지 않는 쿼리 (INSERT, UPDATE, DELETE 및 CREATE TABLE 등)을 실행할 수 있습니다.

ExecSQL 는 실행 된 SQL 문의 영향을 받는 행 수를 반영하는 정수 값을 반환합니다.


Note: For SELECT statements, / call Open instead of ExecSQL / or set the Active property to true.
참고 :   SELECT 문의 경우 ExecSQL 대신 Open 을 호출하거나 Active 속성을 true로 설정합니다.


To speed performance, / an application / should ordinarily prepare the query by / setting the Prepared property to true / before calling ExecSQL for the first time.


처리 효율을 향상시키는 응용 프로그램은 ExecSQL 를 먼저 호출하기 전에 Prepared 속성을 true로 설정하고 쿼리를 준비 해야합니다.


assign 
미국·영국 |saɪn]

1. (일・책임 등을) 맡기다   2. 선임하다, 파견하다   3. (사람을) 배치하다 4. 할당·분배하다

ordinarily 
미국식 [|ɔ:rdn|erəli]

1. 정상적으로   2. 보통 때는, 대개는


출처: http://docwiki.embarcadero.com/Libraries/Berlin/en/Data.Win.ADODB.TADOQuery.ExecSQL

'프로그래밍 언어 > Delphi' 카테고리의 다른 글

[Reference] TADOConnection.BeginTrans  (0) 2016.11.24
[Reference] TStrings.Clear  (0) 2016.11.23
[Reference] TDataSet.Close  (0) 2016.11.21
[Reference] TADOConnection.Open  (0) 2016.11.20
[연산자] IS와 AS  (0) 2016.11.13
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함