| From: | Richard Huxton <dev(at)archonet(dot)com> |
|---|---|
| To: | Paul Ganainm <paulsnewsgroups(at)hotmail(dot)com>, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Groff and Weinberg SQL Complete Reference - Sample database? |
| Date: | 2003-12-22 10:50:17 |
| Message-ID: | 200312221050.17245.dev@archonet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Monday 22 December 2003 07:47, Paul Ganainm wrote:
> Not really a PostgreSQL question, but maybe somebody here knows the
> answer!
>
>
> I recently purchased Groff and Weinberg's The Complete Reference SQL,
> and a fine meaty tome it is too!
>
>
> However, I find to my absolute *_horror_* that there doesn't appear to
> be an electronic version of the sample database - it's all down on paper
> in Appendix A, but no way of downloading it electronically.
>
> On the CD, there are files such as office.dat where the data is in the
> format
>
> 22|Denver|Western|108|300000.00|186042.00
> 11|New York|Eastern|106|575000.00|692637.00
>
> i.e. pipe delimited.
Read up on \copy and COPY - you can tell PG to use whatever delimiter you
want. Should make it straightforward then.
--
Richard Huxton
Archonet Ltd
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tony (Unihost) | 2003-12-22 10:57:43 | Tables Referencing themselves As Foreign Keys |
| Previous Message | Pavel Stehule | 2003-12-22 10:44:36 | questions about tsearch2 (for czech language) |