<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Java·Applied·Geodesy·3D - SQL-Skript für Suchen &amp; Ersetzen</title>
<link>https://software.applied-geodesy.org/forum/</link>
<description>Support forum for JAG3D software package</description>
<language>en</language>
<item>
<title>SQL-Skript für Suchen &amp; Ersetzen (reply)</title>
<content:encoded><![CDATA[<p>Hallo Pierre,</p>
<blockquote><p>Dir ne E-Mail zu schreiben und Du hast mal eben ne Kurzanleitung zusammegestellt. <img src="https://software.applied-geodesy.org/forum/images/smilies/3.png" alt=";-)" title=";-)" /></p>
</blockquote><p>Auf die ich in jedem Fall noch antworten muss. <img src="https://software.applied-geodesy.org/forum/images/smilies/3.png" alt=";-)" title=";-)" /> Danke übrigens dafür.</p>
<blockquote><p>An der Script-Datei versuche ich mich ebenfalls mal.</p>
</blockquote><p>Du kannst hier mal die <a href="https://github.com/applied-geodesy/jag3d/blob/master/JAG3D/src/org/applied_geodesy/jag3d/sql/SQLDatabase.java">Erstellung der DB</a> sehen, wie diese von JAG3D abgearbeitet wird, wenn Du ein neues Projekt erstellst bzw. ein altes aktualisierst.</p>
<p>Beachte bitte, dass Du die Tabellenspalten alle in Anführungszeichen setzen musst. Eine einfache Abfrage wäre bspw.</p>
<pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #ff0000;">&quot;id&quot;</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">&quot;x0&quot;</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">&quot;y0&quot;</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">&quot;z0&quot;</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #ff0000;">&quot;PointApriori&quot;</span> <span style="color: #993333; font-weight: bold;">JOIN</span> <span style="color: #ff0000;">&quot;PointGroup&quot;</span> <span style="color: #993333; font-weight: bold;">ON</span> <span style="color: #ff0000;">&quot;group_id&quot;</span> <span style="color: #66cc66;">=</span> <span style="color: #ff0000;">&quot;PointGroup&quot;</span><span style="color: #66cc66;">.</span><span style="color: #ff0000;">&quot;id&quot;</span> <span style="color: #993333; font-weight: bold;">WHERE</span> <span style="color: #ff0000;">&quot;type&quot;</span> <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">2</span></pre><p>Viele Grüße<br />
Micha</p>
]]></content:encoded>
<link>https://software.applied-geodesy.org/forum/index.php?id=7992</link>
<guid>https://software.applied-geodesy.org/forum/index.php?id=7992</guid>
<pubDate>Fri, 22 Apr 2022 12:24:25 +0000</pubDate>
<dc:creator>Micha</dc:creator>
</item>
<item>
<title>SQL-Skript für Suchen &amp; Ersetzen (reply)</title>
<content:encoded><![CDATA[<p>Hi Micha,</p>
<p>na da warst Du aber fix². Ich brauche hier Wochen, um die Frage zu stellen bzw. Dir ne E-Mail zu schreiben und Du hast mal eben ne Kurzanleitung zusammegestellt. <img src="https://software.applied-geodesy.org/forum/images/smilies/3.png" alt=";-)" title=";-)" /></p>
<p>Ich denke das wird mir weiterhelfen. Muss ich mir mal ganz in Ruhe anschauen und ausprobieren. An der Script-Datei versuche ich mich ebenfalls mal.</p>
<p>Vielen Dank und Gruß<br />
Pierre</p>
]]></content:encoded>
<link>https://software.applied-geodesy.org/forum/index.php?id=7991</link>
<guid>https://software.applied-geodesy.org/forum/index.php?id=7991</guid>
<pubDate>Fri, 22 Apr 2022 11:40:30 +0000</pubDate>
<dc:creator>Pierre</dc:creator>
</item>
<item>
<title>SQL-Skript für Suchen &amp; Ersetzen (reply)</title>
<content:encoded><![CDATA[<p>Hi Pierre,</p>
<p>ich habe Dir mal fix eine Kurzanleitung zusammengestellt, wie Du die DB direkt öffnen und bearbeiten kannst - ohne den &quot;Umweg&quot; über JAG3D. Wenn Du dann wiederkehrende Aufgaben hast, kannst Du immer noch eine Datei erstellen und über die JAG3D Schnittstelle gehen. Hilft Dir das weiter?</p>
<p><a href="https://dev.applied-geodesy.org/tmp/pierre.pdf">pierre.pdf</a></p>
<p>Viele Grüße<br />
Micha</p>
]]></content:encoded>
<link>https://software.applied-geodesy.org/forum/index.php?id=7990</link>
<guid>https://software.applied-geodesy.org/forum/index.php?id=7990</guid>
<pubDate>Fri, 22 Apr 2022 09:45:11 +0000</pubDate>
<dc:creator>Micha</dc:creator>
</item>
<item>
<title>SQL-Skript für Suchen &amp; Ersetzen</title>
<content:encoded><![CDATA[<p>Hallo Micha,</p>
<p>ich möchte per SQL-Skript massenhaft Punktnr. umbenennen, um nicht einzeln über die GUI gehen zu müssen. Wenn ich richtig gesucht und gefunden habe, sollte dies per:<br />
</p>
<pre class="sql" style="font-family:monospace;">&nbsp;
<span style="color: #993333; font-weight: bold;">UPDATE</span> tabelle <span style="color: #993333; font-weight: bold;">SET</span> spalte <span style="color: #66cc66;">=</span> <span style="color: #993333; font-weight: bold;">REPLACE</span><span style="color: #66cc66;">&#40;</span>spalte<span style="color: #66cc66;">,</span><span style="color: #ff0000;">&quot;zu suchender Text&quot;</span><span style="color: #66cc66;">,</span><span style="color: #ff0000;">&quot;zu ersetzender Text&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;</pre><p><br />
möglich sein? Jetzt wollte ich mir im Github-Repository die Bezeichnungen für <em>tabelle, spalte etc.</em> suchen, habe mich aber in den vielen Dateien verloren. Dann habe ich mal in die ftlh-Dateien geschaut und bin zumindest der Meinung die Spalten-Bezeichnungen gefunden zu haben. Müsste doch bei den Punktgruppen die &quot;id&quot; sein und für die Beobachtungen &quot;station_id&quot; und &quot;target_id&quot;?</p>
<p>Ist das korrekt oder bin ich damit auf dem <em>Holzweg</em>?</p>
<p>Besten Dank und Gruß<br />
Pierre</p>
]]></content:encoded>
<link>https://software.applied-geodesy.org/forum/index.php?id=7989</link>
<guid>https://software.applied-geodesy.org/forum/index.php?id=7989</guid>
<pubDate>Fri, 22 Apr 2022 09:16:12 +0000</pubDate>
<dc:creator>Pierre</dc:creator>
</item>
</channel>
</rss>
