<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Daniel,<br>
If I understand correctly, when you will use new GetObjectNames then
you must itterate throught returned collection to obtain "schema names"
+ "object names" (f.e. "table names").<br>
<br>
IMO very similar result you can get also with existing implementation,
when you use:<br>
<br>
with SQLQuery1 do begin<br>
SetSchemaInfo(stTables); // here you can set type of schema query
like stTables, stColumns, stProcedures, stSchemata etc.<br>
Open; // here is opened dataset with requested schema query<br>
while not Eof do begin<br>
// here you can use FieldByName('SCHAME_NAME').AsString ,
FieldByName('TABLE_NAME').AsString, etc.<br>
Next;<br>
end;<br>
end;<br>
<br>
-Laco.<br>
<br>
<blockquote
cite="mid:CAALDFzLVviuXWdFSzHZb2S74HuM=rYv71-SiG_HvqzikiMsZaQ@mail.gmail.com"
type="cite">
<pre wrap="">An Issue was created with the patch:
<a class="moz-txt-link-freetext" href="http://bugs.freepascal.org/view.php?id=26254">http://bugs.freepascal.org/view.php?id=26254</a>
On Sun, Jun 1, 2014 at 11:28 AM, Daniel Gaspary <a class="moz-txt-link-rfc2396E" href="mailto:dgaspary@gmail.com"><dgaspary@gmail.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I see no problem. It was just a wrong impression that I had about
TCollectionItem.
</pre>
</blockquote>
<pre wrap=""><!---->_______________________________________________
fpc-pascal maillist - <a class="moz-txt-link-abbreviated" href="mailto:fpc-pascal@lists.freepascal.org">fpc-pascal@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal">http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal</a>
</pre>
</blockquote>
<br>
</body>
</html>