/usr/share/doc/stilts/sun256/secB.19.2.html is in stilts-doc 3.1.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="sun-style.css">
<title>Examples</title>
</head>
<body>
<hr>
<a href="taplint.html">Next</a> <a href="sqlupdate-usage.html">Previous</a> <a href="sqlupdate.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="taplint.html">taplint: Tests TAP services</a><br>
<b>Up: </b><a href="sqlupdate.html">sqlupdate: Updates values in an SQL table</a><br>
<b>Previous: </b><a href="sqlupdate-usage.html">Usage</a><br>
<hr>
<h3><a name="secB.19.2">B.19.2 Examples</a></h3>
<p>Here are some examples of <code>sqlupdate</code>:
<dl>
<dt><strong><pre>
stilts -classpath lib/drivers/mysql-connector-java.jar \
-Djdbc.drivers=com.mysql.jdbc.Driver \
sqlupdate db='jdbc:mysql://localhost/RADIO' user=root
select='SELECT * from FIRST" \
assign='HTMID=htmIndex(20,POS_EQ_RA,POS_EQ_DEC)'
</pre></strong></dt>
<dd>Fills in the HTMID column of a table called FIRST in the local MySQL
database RADIO, using HTM pixel indices based on the existing
right ascension and declination columns in that table.
The HTMID column must exist prior to executing this command.
</dd>
</dl>
</p>
<hr><a href="taplint.html">Next</a> <a href="sqlupdate-usage.html">Previous</a> <a href="sqlupdate.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="taplint.html">taplint: Tests TAP services</a><br>
<b>Up: </b><a href="sqlupdate.html">sqlupdate: Updates values in an SQL table</a><br>
<b>Previous: </b><a href="sqlupdate-usage.html">Usage</a><br>
<hr><i>STILTS - Starlink Tables Infrastructure Library Tool Set<br>Starlink User Note256<br>STILTS web page:
<a href="http://www.starlink.ac.uk/stilts/">http://www.starlink.ac.uk/stilts/</a><br>Author email:
<a href="mailto:m.b.taylor@bristol.ac.uk">m.b.taylor@bristol.ac.uk</a><br>Mailing list:
<a href="mailto:topcat-user@jiscmail.ac.uk">topcat-user@jiscmail.ac.uk</a><br></i></body>
</html>
|