equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. --> |
|
3 <!-- This component and the accompanying materials are made available under the terms of the License |
|
4 "Eclipse Public License v1.0" which accompanies this distribution, |
|
5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". --> |
|
6 <!-- Initial Contributors: |
|
7 Nokia Corporation - initial contribution. |
|
8 Contributors: |
|
9 --> |
|
10 <!DOCTYPE concept |
|
11 PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> |
|
12 <concept id="GUID-F40E34F4-5B8B-523E-82B6-7717D8FD26AB" xml:lang="en"><title>Executing |
|
13 SQL statements</title><shortdesc>The <codeph>RDbDatabase</codeph> class provides a member function, <codeph>Execute()</codeph>, |
|
14 which directly executes <i>both</i> DDL and DML statements on the database.</shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody> |
|
15 <p>As most of these statements can take an extended time to complete, there |
|
16 are also interfaces to execute these statements incrementally. </p> |
|
17 <ul> |
|
18 <li id="GUID-D73DC76D-6E12-542D-9E60-81A7CDDF221F"><p><codeph>RDbIncremental</codeph> provides |
|
19 a member function, <codeph>Execute()</codeph>, which executes a DDL statement |
|
20 incrementally.</p> </li> |
|
21 <li id="GUID-AA5D4133-B777-5F3E-8DD1-3398D5012B11"><p><codeph>RDbUpdate</codeph> provides |
|
22 the functionality for executing a DML statement incrementally.</p> </li> |
|
23 </ul> |
|
24 <p>DML statements need a different interface because it is not always possible |
|
25 to know how many steps a DML operation is going to need.</p> |
|
26 </conbody></concept> |