Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3d50e10

Browse files
committed
Remove extra <para>
1 parent249f07b commit3d50e10

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

‎doc/src/sgml/ref/copy.sgml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.67 2005/09/05 14:44:05 adunstan Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.68 2005/10/13 02:00:09 momjian Exp $
33
PostgreSQL documentation
44
-->
55

@@ -708,6 +708,18 @@ COPY country FROM '/usr1/proj/bray/sql/country_data';
708708
</programlisting>
709709
</para>
710710

711+
<para>
712+
To copy into a file just the countries whose names start with 'A'
713+
using a temporary table which is automatically deleted:
714+
<programlisting>
715+
BEGIN;
716+
CREATE TEMP TABLE a_list_COUNTRIES AS
717+
SELECT * FROM country WHERE country_name LIKE 'A%';
718+
COPY a_list_countries TO '/usr1/proj/bray/sql/a_list_countries.copy';
719+
ROLLBACK;
720+
</programlisting>
721+
</para>
722+
711723
<para>
712724
Here is a sample of data suitable for copying into a table from
713725
<literal>STDIN</literal>:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp