SQLPrepare

 

SQLPrepare 함수는 SQL로 실행할 문장을 등록하여 SQLExecute 함수로 실행하게 한다.

 

void @SQLPrepare(int id, string query);

 

함수인자

int id : 연결된 접속 번호

string query : 실행할 query 문

 

반환 값

없음

 

예제1

@SQLPrepare($AddrID, "DELETE from Table1 WHERE ID=1");

문장설명 : 연결된  데이터 베이스, Table1 테이블, ID 번 필드의 자료삭제를 준비한다.

준비된 SQL 명령은 SQLExecute 함수로 명령을 실행할 수 있다.

 

참조

SQLConnect()

SQLCreateTable()

SQLDelete()

SQLDisconnect()

SQLExecute()

SQLFirst()

SQLGetPos()

SQLInsert()

SQLLast()

SQLNext()

SQLPrev()

SQLSelect()

SQLSetPos()

SQLUpdate()