git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.RemObjects@68 b6239004-a887-0f4b-9937-50029ccdca16
37 lines
1.3 KiB
HTML
37 lines
1.3 KiB
HTML
<html>
|
|
<head>
|
|
<link rel="stylesheet" type="text/css" href="..\styles.css">
|
|
</head>
|
|
<body>
|
|
<img src="..\..\da.png" alt="" align="right">
|
|
|
|
<!-------------------------------------------------------------------------->
|
|
|
|
<p class="h1">DA SQL Sample</p>
|
|
|
|
<p>
|
|
<b><font color="red">NOTICE</font></b><br/>
|
|
This sample can be successfully executed against .NET Data Abstract server only.
|
|
DA SQL feature is not supported for Delphi Data Abstract servers yet!
|
|
</p>
|
|
|
|
<p>
|
|
This sample shows how DA SQL works in general. It has a set of predefined SQL statements, that you can load, execute and see the results.
|
|
You can see each statement in the "SQL Statement" box. You can also change any predefined SQLs or write your custom one and execute it.
|
|
</p>
|
|
|
|
<p class="h2">Examine the code</p>
|
|
<p>
|
|
The code is quite simple.<br />
|
|
We are using a structure called <b>TableRequestInfoV6</b>. It has property "SQL" that will hold our SQL statement.
|
|
So, look at the <b>TClientForm.btExecuteClick</b> event handler in the client form,
|
|
where you can find out how we send SQL statement and get the result back.</p>
|
|
|
|
<p class="h2">Getting started</p>
|
|
<ul>
|
|
<li>Run the Sample Server. .NET one please!</li>
|
|
<li>Run the DA SQL Client.</li>
|
|
<li>Select any predefined SQL statement in the tree view, then try to execute it.</li>
|
|
</ul>
|
|
</body>
|
|
</html> |