SQL functions programmer s reference 1st Edition Arie Jones All Chapters Instant Download
SQL functions programmer s reference 1st Edition Arie Jones All Chapters Instant Download
com
https://ebookname.com/product/sql-functions-programmer-s-
reference-1st-edition-arie-jones/
OR CLICK BUTTON
DOWLOAD EBOOK
https://ebookname.com/product/access-2010-programmer-s-reference-
teresa-hennig/
ebookname.com
https://ebookname.com/product/visual-basic-2012-programmer-s-
reference-1st-edition-rod-stephens/
ebookname.com
https://ebookname.com/product/c-2005-programmer-s-reference-1st-
edition-adrian-kingsley-hughes/
ebookname.com
https://ebookname.com/product/student-centered-coaching-a-guide-
for-k-8-coaches-and-principals-1st-edition-diane-sweeney/
ebookname.com
Communicate science papers presentations and posters
effectively papers posters and presentations 1st Edition
Boffito
https://ebookname.com/product/communicate-science-papers-
presentations-and-posters-effectively-papers-posters-and-
presentations-1st-edition-boffito/
ebookname.com
https://ebookname.com/product/handbook-of-clinical-drug-data-10th-
edition-philip-anderson/
ebookname.com
https://ebookname.com/product/culture-wars-in-america-an-encyclopedia-
of-issues-viewpoints-and-voices-2nd-edition-roger-chapman/
ebookname.com
https://ebookname.com/product/illuminate-an-advent-experience-1st-
edition-paul-sheneman/
ebookname.com
Nonconventional and Vernacular Construction Materials
Characterisation Properties and Applications 1st Edition
Kent A Harries
https://ebookname.com/product/nonconventional-and-vernacular-
construction-materials-characterisation-properties-and-
applications-1st-edition-kent-a-harries/
ebookname.com
SQL Functions Programmer’s Reference
SQL Functions Programmer’s Reference
Arie Jones
Ryan K. Stephens
Ronald R. Plew
Robert F. Garrett
Alex Kriegel
SQL Functions Programmer’s Reference
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
Copyright © 2005 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN 13 978-0-7645-6901-2
ISBN 10 0-7645-6901-5
Manufactured in the United States of America
10 9 8 7 6 5 4 3 2 1
1B/RU/QU/QV/IN
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic,
mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United
States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appro-
priate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600.
Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint
Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, or online at http://www.wiley.com/go/permission.
LIMIT OF LIABILITY/DISCLAIMER OF WARRANTY: THE PUBLISHER AND THE AUTHOR MAKE NO REPRESENTATIONS
OR WARRANTIES WITH RESPECT TO THE ACCURACY OR COMPLETENESS OF THE CONTENTS OF THIS WORK AND
SPECIFICALLY DISCLAIM ALL WARRANTIES, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PAR-
TICULAR PURPOSE. NO WARRANTY MAY BE CREATED OR EXTENDED BY SALES OR PROMOTIONAL MATERIALS. THE
ADVICE AND STRATEGIES CONTAINED HEREIN MAY NOT BE SUITABLE FOR EVERY SITUATION. THIS WORK IS SOLD
WITH THE UNDERSTANDING THAT THE PUBLISHER IS NOT ENGAGED IN RENDERING LEGAL, ACCOUNTING, OR
OTHER PROFESSIONAL SERVICES. IF PROFESSIONAL ASSISTANCE IS REQUIRED, THE SERVICES OF A COMPETENT PRO-
FESSIONAL PERSON SHOULD BE SOUGHT. NEITHER THE PUBLISHER NOR THE AUTHOR SHALL BE LIABLE FOR DAM-
AGES ARISING HEREFROM. THE FACT THAT AN ORGANIZATION OR WEBSITE IS REFERRED TO IN THIS WORK AS A
CITATION AND/OR A POTENTIAL SOURCE OF FURTHER INFORMATION DOES NOT MEAN THAT THE AUTHOR OR THE
PUBLISHER ENDORSES THE INFORMATION THE ORGANIZATION OR WEBSITE MAY PROVIDE OR RECOMMENDA-
TIONS IT MAY MAKE. FURTHER, READERS SHOULD BE AWARE THAT INTERNET WEBSITES LISTED IN THIS WORK MAY
HAVE CHANGED OR DISAPPEARED BETWEEN WHEN THIS WORK WAS WRITTEN AND WHEN IT IS READ.
For general information on our other products and services or to obtain technical support, please contact our Customer Care
Department within the U.S. at (800) 762-2974, outside the U.S. at (317) 572-3993 or fax (317) 572-4002.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in elec-
tronic books.
Trademarks: Wiley, the Wiley Publishing logo, Wrox, the Wrox logo, Programmer to Programmer, and related trade dress are trade-
marks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may
not be used without written permission. All other trademarks are the property of their respective owners. Wiley Publishing, Inc., is
not associated with any product or vendor mentioned in this book.
About the Authors
Arie Jones
Arie Jones is a senior database administrator for Perpetual Technologies, Inc. (www.perptech.com). He holds
a master’s degree in physics from Indiana State University and also works as the chief Web architect/DBA
for the USPFO for Indiana. Arie’s main specialty is in developing .NET-based database solutions for the gov-
ernment. He and his wife and family live outside of Indianapolis, Indiana.
Ryan K. Stephens
Ryan Stephens is the president and CEO of Perpetual Technologies, Inc. (www.perptech.com), an Indianapolis-
based IT firm specializing in database technologies. Ryan has been working with SQL and databases for 15
years and has held the positions of project manager, database administrator, and programmer/analyst. Ryan
has been teaching database courses for local universities since 1997 and has authored several internationally
published books on topics such as database design, SQL, database architecture, database administration, and
Oracle. Ryan enjoys discovering new ways to optimize the use of technology to streamline business operations,
as well as empowering others to do the same. Ryan and his wife live in Indianapolis with their three children.
Ronald R. Plew
Ronald R. Plew is vice president and CIO for Perpetual Technologies, Inc. (www.perptech.com) in
Indianapolis, Indiana. Ron is a Certified Oracle Professional. He has coauthored several internationally
published books on SQL and database technology. Ron is also an adjunct professor for Vincennes
University in Indiana, where he teaches SQL and various database courses. Ron holds a bachelor of
science degree in business administration/management from Indiana Institute of Technology out of Fort
Wayne, Indiana. Ron recently retired from the Indiana Army National Guard, where he served as a
programmer/analyst. His hobbies include automobile racing, chess, golf, and collecting Indy 500
memorabilia. Ron resides in Indianapolis with his wife Linda.
Robert F. Garrett
Bob Garrett is the software development manager at Perpetual Technologies, Inc. (www.perptech.com).
Bob’s languages of preference are Java, C++, and English. He has extensive experience integrating appli-
cations with relational databases. Bob has a degree in computer science and mathematics from Purdue
University, and lives with his wife and daughter near Indianapolis.
Alex Kriegel
Alex Kriegel is a professional database systems analyst with a major manufacturing firm in Oregon. He
has more than 10 years of database experience working with Microsoft SQL Server, Oracle, DB2, Sybase,
and PostgreSQL both as developer and DBA. Alex has a bachelor of science degree in solid-state physics
from State Polytechnic Institute of Minsk, Belarus, and has earned the Microsoft Certified Solution
Developer (MCSD) accreditation. He is the author of SQL Bible. Alex wrote the first draft of approxi-
mately two-thirds of this book.
Contributing Authors
Joshua Stephens
Joshua Stephens is a systems administrator/DBA for Perpetual Technologies, Inc. (www.perptech.com).
He has eight years of experience in various IT areas. As a former technical writer and trainer, he contin-
ues to enjoy helping others through writing. He holds a bachelor of arts degree in pure mathematics and
physics from Franklin College. He lives in Franklin, Indiana, with his wife and daughter.
Richard Bulley
Richard is a Ferris State University graduate and received a master of arts degree from Ball State
University. He has had 20 years of data processing experience with the United States Air Force and is a
United States Air Force Reserves Retiree and currently has over six years of experience as a Sybase and
MS SQL Server system DBA.
Credits
Acquisitions Editor Vice President & Executive Group Publisher
Jim Minatel Richard Swadley
— Arie Jones
— Ryan Stephens
For Linda
— Ron Plew
— Bob Garrett
Acknowledgments
Shortly after we accepted this project, it became clear how much of a team effort would be needed to
make this book a must-have for anyone’s SQL library. Fortunately, I have an incredible technical team
that knows how to come together and get the job done. Most of my thanks go to Arie Jones. Arie stepped
up when I needed the most help, unafraid of commitment, confidently accepting another aggressive
assignment. Our author team included Arie Jones, Ron Plew, Bob Garrett, Alex Kriegel, and myself.
Contributing authors were Joshua Stephens and Richard Bulley. I cannot say enough about their profes-
sionalism and technical proficiency. Thank you for being part of another successful project!
Probably as no surprise to the Wiley audience, the author team thanks the editorial staff at Wiley, which
is one of the best with whom we have had the pleasure of working. Specifically, we appreciate Jim
Minatel’s efforts and confidence in our team, Kevin Shafer’s strict attention to detail, and the technical
editorial team’s thoroughness. Their dedication, patience, and thoroughness, we believe, reflect directly
on the quality and timely delivery of this book, which would not have been possible without each of
them, as well as the unmentioned Wiley staff behind the scenes.
Acknowledgments ix
Introduction xxxv
xiii
Contents
Character Functions 97
CHR() and NCHR() 99
INITCAP() 100
LPAD() and RPAD() 101
TRIM(), LTRIM(), and RTRIM() 102
REPLACE() 103
SOUNDEX() 103
SUBSTR() 104
TRANSLATE() 105
Regular Expressions 106
Conversion Functions 106
CAST() 107
COMPOSE() 108
CONVERT() 108
DECOMPOSE() 110
TO_CHAR() 110
TRANSLATE...USING 113
UNISTR() 113
Date and Time Functions 114
ADD_MONTHS() 115
DBTIMEZONE and SESSIONTIMEZONE 116
EXTRACT() 117
MONTH_BETWEEN() 118
NEW_TIME() 118
ROUND() 119
SYSDATE 120
TRUNC() 121
Numeric Functions 123
ABS() 123
BITAND() 124
CEIL() and FLOOR() 124
MOD() 125
SIGN() 125
ROUND() 126
TRUNC() 127
Object Reference Functions 127
Miscellaneous Single-Row Functions 127
COALESCE() 128
DECODE() 129
DUMP() 130
GREATEST() 131
NULLIF() 132
NVL() 133
xiv
Contents
NVL2() 133
UID 134
VSIZE() 134
Summary 135
xv
Contents
WEEK_ISO() 161
YEAR() 161
Conversion Functions 162
DEC or DECIMAL 163
HEX() 164
DOUBLE or DOUBLE_PRECISION 164
INT() or INTEGER() and SMALLINT() 165
TRANSLATE() 165
VARCHAR() 166
Security Functions 167
DECRYPT_BIN() 167
DECRYPT_CHAR() 168
ENCRYPT() 168
GETHINT() 169
IBM DB2 UDB Special Registers 169
CURRENT DATE 170
CURRENT DEFAULT TRANSFORM GROUP 171
CURRENT DEGREE 171
CURRENT EXPLAIN MODE 171
CURRENT EXPLAIN SNAPSHOT 172
CURRENT ISOLATION 172
CURRENT NODE 173
CURRENT PATH 173
CURRENT QUERY OPTIMIZATION 174
CURRENT REFRESH AGE 174
CURRENT SCHEMA 174
CURRENT SERVER 175
CURRENT TIME 175
CURRENT TIMESTAMP 175
CURRENT TIMEZONE 176
SESSION_USER 176
USER 177
Miscellaneous Functions 177
COALESCE() and VALUE() 178
DIGITS() 179
GENERATE_UNIQUE() 179
NULLIF() 180
RAND() 180
TABLE_NAME() 181
TYPE_ID() 182
TYPE_NAME() 182
Summary 182
xvi
Contents
xvii
Contents
Configuration Functions 207
@@CONNECTION 207
@@LANGID 208
@@LANGUAGE 208
@@LOCK_TIMEOUT 210
@@MAX_CONNECTIONS 210
@@NESTLEVEL 211
@@OPTIONS 211
@@SPID 211
@@VERSION 212
Security Functions 212
HAS_DBACCESS() 213
SUSER_SID() 214
SUSER_SNAME() 214
USER 214
USER_ID() 215
USER_NAME() 215
System Functions 216
APP_NAME() 219
CASE 219
CAST() and CONVERT() 220
COALESCE() 224
CURRENT_TIMESTAMP 225
CURRENT_USER 225
DATALENGTH() 226
@@ERROR 226
HOST_ID() 227
HOST_NAME() 227
@@IDENTITY 228
IDENTITY() 228
ISDATE() 229
ISNULL() 229
ISNUMERIC() 230
NEWID() 230
PERMISSIONS() 231
ROWCOUNT_BIG and @@ROWCOUNT 231
@@TRANCOUNT 232
COLLATIONPROPERTY() 233
SCOPE_IDENTITY() 233
System Statistical Functions 234
@@CPU_BUSY 235
@@IDLE 235
xviii
Contents
@@IO_BUSY 236
@@TIMETICKS 236
@@TOTAL_ERRORS 236
@@TOTAL_READ 237
@@TOTAL_WRITE 237
fn_virtualfilestats() 238
Undocumented Functions 239
ENCRYPT() 240
FN_GET_SQL() 240
@@MICROSOFTVERSION 241
PWDCOMPARE() 241
PWDENCRYPT() 242
TSEQUAL() 242
Summary 243
xix
Contents
Conversion Functions 264
CONVERT() 266
INTTOHEX() 270
HEXTOINT() 271
Security Functions 271
IS_SEC_SERVICE_ON() 272
SHOW_SEC_SERVICES() 272
Aggregate Functions 272
AVG() 273
COUNT() 274
MAX() 274
MIN() 275
SUM() 275
Mathematical Functions 275
ABS() 277
ACOS() 278
ASIN() 278
ATAN() 278
ATN2() 279
CEILING() 279
COS() 280
COT() 280
DEGREES() 280
EXP() 281
FLOOR() 281
LOG() 281
LOG10() 282
PI() 282
POWER() 282
RADIANS() 283
RAND() 283
ROUND() 284
SIGN() 285
SIN() 285
SQRT() 286
TAN() 286
Text and Image Functions 286
TEXTPTR() 287
TEXTVALID() 287
System Functions 288
COL_LENGTH() 289
COL_NAME() 290
xx
Contents
DATALENGTH() 291
DB_ID() 291
DB_NAME() 292
OBJECT_ID() 292
OBJECT_NAME() 293
RAND() 293
SUSER_ID() 294
SUSER_NAME() 295
TSEQUAL() 295
USER() 296
USER_ID() 296
USER_NAME() 297
VALID_NAME() 297
VALID_USER() 298
Unary System Functions 299
@@BOOTTIME 301
@@CLIENT_CSID 301
@@CLIENT_CSNAME 302
@@CONNECTIONS 302
@@CPU_BUSY 303
@@ERROR 303
@@ERRORLOG 303
@@IDENTITY 304
@@IDLE 305
@@IO_BUSY 305
@@LANGID 305
@@LANGUAGE 306
@@MAXCHARLEN 306
@@MAX_CONNECTIONS 306
@@NCHARSIZE 307
@@NESTLEVEL 307
@@OPTIONS 308
@@PROBESUID 308
@@ROWCOUNT 308
@@SPID 309
@@SQLSTATUS 309
@@TIMETICKS 310
@@TOTAL_ERRORS 310
@@TOTAL_READ 311
@@TOTAL_WRITE 311
@@TRANCHAINED 311
@@TRANCOUNT 312
xxi
Contents
@@TRANSTATE 312
@@UNICHARSIZE 313
@@VERSION 313
@@VERSION_AS_INTEGER 314
Summary 314
xxii
Contents
ROUND() 331
SIGN() 332
SIN() 332
SQRT() 332
STD() or STDDEV() 332
TAN() 333
TRUNCATE() 333
String Functions 333
ASCII() 338
BIN() 339
CHAR() 339
COMPRESS() 339
CONCAT() 340
CONCAT_WS() 340
ELT() 341
FIELD() 341
FIND_IN_SET() 342
HEX() 342
INSERT() 342
INSTR() 343
ISNULL() 343
LCASE() or LOWER() 344
LEFT() 344
LENGTH(), CHAR_LENGTH(), and CHARACTER_LENGTH() 344
LOCATE() 345
LPAD() 346
LTRIM() 346
MAKE_SET() 346
NULLIF() 347
OCT() 347
ORD() 348
REPEAT() 348
REPLACE() 348
REVERSE() 349
RIGHT() 349
RPAD() 349
RTRIM() 350
SOUNDEX() 350
SUBSTRING() 350
SUBSTRING_INDEX() 351
TRIM() 352
UCASE() or UPPER() 352
xxiii
Exploring the Variety of Random
Documents with Different Content
CHAPTER V.
ICELAND.
Volcanic Origin of the Island.—The Klofa Jökul.—Lava-streams.—The
Burning Mountains of Krisuvik.—The Mud-caldrons of Reykjahlid.—The
Tungo-hver at Reykholt.—The Great Geysir.—The Strokkr.—Crystal
Pools.—The Almannagja.—The Surts-hellir.—Beautiful Ice-cave.—The
Gotha Foss.—The Detti Foss.—Climate.—Vegetation.—Cattle.—
Barbarous Mode of Sheep-shearing.—Reindeer.—Polar Bears.—Birds.—
The Eider-duck.—Videy.—Vigr.—The Wild Swan.—The Raven.—The
Jerfalcon.—The Giant auk, or Geirfugl.—Fish.—Fishing Season.—The
White Shark.—Mineral Kingdom.—Sulphur.—Peat.—Drift-wood.
The eider-duck holds the first rank among the useful birds of
Iceland. Its chief breeding-places are small flat islands on various
parts of the coast, where it is safe from the attacks of the Arctic fox,
such as Akurey, Flatey, and Videy, which, from its vicinity to
Reykjavik, is frequently visited by travellers. All these breeding-
places are private property, and several have been for centuries in
the possession of the same families, which, thanks to the birds, are
among the wealthiest of the land. It may easily be imagined that the
eider-ducks are guarded with the most sedulous care. Whoever kills
one is obliged to pay a fine of thirty dollars; and the secreting of an
egg, or the pocketing of a few downs, is punished with all the rigor
of the law. The chief occupation of Mr. Stephenson, the aged
proprietor of Videy, who dwells alone on the islet, is to examine
through his telescope all the boats that approach, so as to be sure
that there are no guns on board. During the breeding season no one
is allowed to land without his special permission, and all noise,
shouting, or loud speaking is strictly prohibited. But, in spite of these
precautions, we are informed by recent travellers that latterly the
greater part of the ducks of Videy have been tempted to leave their
old quarters for the neighboring Engey, whose proprietor hit upon
the plan of laying hay upon the strand, so as to afford them greater
facilities for nest-building. The eider-down is easily collected, as the
birds are quite tame. The female having laid five or six pale
greenish-olive eggs, in a nest thickly lined with her beautiful down,
the collectors, after carefully removing the bird, rob the nest of its
contents, after which they replace her. She then begins to lay afresh,
though this time only three or four eggs, and again has recourse to
the down on her body. But her greedy persecutors once more rifle
her nest, and oblige her to line it for the third time. Now, however,
her own stock of down is exhausted, and with a plaintive voice she
calls her mate to her assistance, who willingly plucks the soft
feathers from his breast to supply the deficiency. If the cruel robbery
be again repeated, which in former times was frequently the case,
the poor eider-duck abandons the spot, never to return, and seeks
for a new home where she may indulge her maternal instinct
undisturbed.
Mr. Shepherd thus describes his visit to Vigr, in the
Isafjardardjup, one of the head-quarters of the eider-duck in the
north of Iceland: “As the island was approached, we could see flocks
upon flocks of the sacred birds, and could hear their cooings at a
great distance. We landed on a rocky wave-worn shore, against
which the waters scarcely rippled, and set off to investigate the
island. The shore was the most wonderful ornithological sight
conceivable. The ducks and their nests were everywhere in a
manner that was quite alarming. Great brown ducks sat upon their
nests in masses, and at every step
started up from under our feet. It
was with difficulty that we avoided
treading on some of the nests. The
island being but three-quarters of a
mile in width, the opposite shore was
soon reached. On the coast was a
wall built of large stones, just above
the high-water level, about three feet
in height, and of considerable
49. EIDER-DUCK. thickness. At the bottom, on both
sides of it, alternate stones had been
left out, so as to form a series of
square compartments for the ducks to make their nests in. Almost
every compartment was occupied; and, as we walked along the
shore, a long line of ducks flew out one after another. The surface of
the water also was perfectly white with drakes, who welcomed their
brown wives with loud and clamorous cooing. When we arrived at
the farmhouse we were cordially welcomed by its mistress. The
house itself was a great marvel. The earthern wall that surrounded it
and the window embrasures were occupied by ducks. On the
ground, the house was fringed with ducks. On the turf slopes of the
roof we could see ducks; and a duck sat in the scraper.
“A grassy bank close by had been cut into square patches like a
chessboard (a square of turf of about eighteen inches being
removed, and a hollow made), and all were filled with ducks. A
windmill was infested, and so were all the outhouses, mounds,
rocks, and crevices. The ducks were everywhere. Many of them were
so tame that we could stroke them on their nests; and the good lady
told us that there was scarcely a duck on the island which would not
allow her to take its eggs without flight or fear. When she first
became possessor of the island, the produce of down from the ducks
was not more than fifteen pounds’ weight in the year, but, under her
careful nurture of twenty years, it had risen to nearly one hundred
pounds annually. It requires about one pound and a half to make a
coverlet for a single bed, and the down is worth from twelve to
fifteen shillings per pound. Most of the eggs are taken and pickled
for winter consumption, one or two only being left to hatch.”
Though not so important as the eider, the other members of the
duck family which during the summer season enliven the lakes and
swamps of Iceland are very serviceable. On the Myvatn, or Gnat
Lake, one of their chief places of resort, the eggs of the long-tailed
duck, the wild duck, the scoter, the common goosander, the red-
breasted merganser, the scaup-duck, etc., and other anserines are
carefully gathered and preserved in enormous quantities for the
winter, closely packed in a fine gray volcanic sand.
The wild swan is frequently shot or caught for his feathers,
which bring in many a dollar to the fortunate huntsman. This noble
bird frequents both the salt and brackish waters along the coast and
the inland lakes and rivers, where it is seen either in single pairs or
congregated in large flocks. To build its nest, which is said to
resemble closely that of the flamingo, being a large mound,
composed of mud, rushes, grass, and stones, with a cavity at top
lined with soft down, it retires to some solitary, uninhabited spot.
Much has been said in ancient times of the singing of the swan, and
the beauty of its dying notes; but, in truth, the voice of the swan is
very loud, shrill, and harsh, though when high in the air, and
modulated by the winds, the note or whoop of an assemblage of
them is not unpleasant to the ear. It has a peculiar charm in the
unfrequented wastes of Iceland, where it agreeably interrupts the
profound silence that reigns around.
The raven, one of the commonest land-birds in Iceland, is an
object of aversion to the islanders, as it not only seizes on their
young lambs and eider-ducks, but also commits great depredations
among the fishes laid out to dry upon the shore. Poles to which dead
ravens are attached, to serve as a warning to the living, are
frequently seen in the meadows; and the Icelander is never so
happy as when he has succeeded in shooting a raven. This,
however, is no easy task, as no bird is more cautious, and its eyes
are as sharp as those of the eagle. Of all Icelandic birds, the raven
breeds the earliest, laying about the middle of March its five or six
pale-green eggs, spotted with brown, in the inaccessible crevices of
rocks. Towards the end of June, Preyer saw many young ravens
grown to a good size, and but little inferior to the old ones in
cunning.
In the gloomy Scandinavian mythology the raven occupies a
rank equal to that of the eagle in the more cheerful fables of ancient
Greece. It was dedicated to Odin, who, as the traditional history of
Iceland informs us, had two ravens, which were let loose every
morning to gather tidings of what was going on in the world, and
which on returning in the evening perched upon Odin’s shoulders to
whisper the news in his ear; the name of one was Hugin, or spirit; of
the other, Mumin, or memory. Even now many superstitious notions
remain attached to the raven; for the Icelanders believe this bird to
be not only acquainted with what is going on at a distance, but also
with what is to happen in future, and are convinced that it foretells
when any of the family is about to die, by perching on the roof of
the house, or wheeling round in the air with a continual cry, varying
its voice in a singular and melodious manner.
The white-tailed sea-eagle is not uncommon in Iceland, where
he stands in evil repute as a kidnapper of lambs and eider-ducks. He
is sometimes found dead in the nets of the fishermen; for, pouncing
upon a haddock or salmon, he gets entangled in the meshes, and is
unable to extricate himself. The skins of the bird, which seems to
attain a larger size than in Great Britain, most likely from being less
disturbed by man, are sold at Reykjavik and Akureyre for from three
to six rix-dollars.
The jyrfalcon (Falco gyrfalco), generally considered as the
boldest and most beautiful of the falcon tribe, has its head-quarters
in Iceland. As long as the noble sport of falconry was in fashion, for
which it was highly esteemed, the trade in falcons was worth from
2000 to 3000 rix-dollars annually to the islanders, and even now
high prices are paid for it by English amateurs.
The rarest bird of Iceland, if not
entirely extinct, is the Giant-auk, or
Geirfugl. The last pair was caught
about seventeen years ago near the
Geirfuglaskers, a group of solitary
rocks to the south of the Westman
Isles, its only known habitat besides
some similar cliffs on the north-
eastern coast. Since that time it is
said to have been seen by some
fishermen; but this testimony is
extremely doubtful, and the question
of its existence can only be solved by
a visit to the Geirfuglaskers
themselves—an undertaking which, if
50. THE JYRFALCON.
practicable at all, is attended with
extreme difficulty and danger, as
these rocks are completely isolated in the sea, which even in calm
weather breaks with such violence against their abrupt declivities
that for years it must be absolutely impossible to approach them.
In 1858 two English naturalists determined at least to make the
attempt, and settled for a season in a small hamlet on the
neighboring coast, eager to seize the first opportunity for storming
the Geirfugl’s stronghold. They waited for several months, but in
vain, the stormy summer being more than usually unfavorable for
their undertaking; and they were equally unsuccessful in the north,
whither they had sent an Icelandic student specially instructed for
the purpose. The giant-auk is three feet high, and has a black bill
four inches and a quarter long, both mandibles being crossed
obliquely with several ridges and furrows. Its wings are mere
stumps, like those of the Antarctic penguins. Thirty pounds have
been paid for its egg, which is larger than that of any other
European bird; and there is no knowing the price the Zoological
Society would pay for a live bird, if this truly “rara avis” could still be
found.
The waters of Iceland
abound with excellent fish,
which not only supply the
islanders with a great part of
their food and furnish them
with one of their chief articles
of exportation, but also attract
a number of foreign seamen.
Thus about 300 French, Dutch,
and Belgian fishing-sloops,
manned with crews amounting
in all to 7000 men, annually
make their appearance on the
southern and western coasts of
Iceland, particularly those of
the Guldbringe Syssel, or gold- 51. THE GIANT-AUK.
bringing country: thus named,
not from any evidence of the
precious metal, but from the golden cod-harvests reaped on its
shores. Between thirty and forty English fishing-smacks yearly visit
the northern coast. When they have obtained a good cargo they run
to Shetland to discharge it, and return again for more.
The Icelandic fishing-season, which begins in February and ends
in June, occupies one-half of the male inhabitants of the island, who
come flocking to the west, even from the remotest districts of the
north and east, to partake of the rich harvest of the seas. Many thus
travel for more than 200 miles in the midst of winter, while the storm
howls over the naked waste, and the pale sun scarcely dispels for a
few hours the darkness of the night. In every hut where they tarry
on the road they are welcome, and have but rarely to pay for their
entertainment, for hospitality is still reckoned a duty in Iceland. On
reaching the fishing-station, an agreement is soon made with the
proprietor of a boat. They usually engage to assist in fishing from
February 12 to May 12, and receive in return a share of the fish
which they help to catch, besides forty pounds of flour and a daily
allowance of sour curds, or “skier.”
All the men belonging to a boat generally live in the same damp
and narrow hut. At daybreak they launch forth, to brave for many
hours the inclemencies of the weather and the sea, and while
engaged in their hard day’s work their sole refreshment is the
chewing of tobacco or a mouthful of skier. On returning to their
comfortless hut, their supper consists of the fishes of inferior quality
they may have caught, or of the heads of the cod or ling, which are
too valuable for their own consumption. These are split open and
hung upon lines, or exposed on the shore to the cold wind and the
hot sun; this renders them perfectly hard, and they keep good for
years. In this dried state the cod is called stockfish. About the middle
of May the migratory fishermen return to their homes, leaving their
fish which are not yet quite dry to the care of the fishermen dwelling
on the spot. Towards the middle of June, when the horses have so
far recovered from their long winter’s fast as to be able to bear a
load, they come back to fetch their stockfish, which they convey
either to their own homes for the consumption of their own families,
or to the nearest port for the purpose of bartering it against other
articles. Haddocks, flatfish, and herrings are also very abundant in
the Icelandic seas; and along the northern and north-western coasts
the basking shark is largely fished for all the summer. Strong hooks
baited with mussels or pieces of fish, and attached to chains
anchored at a short distance from the shore, serve for the capture of
this monster, which is scarcely, if at all, inferior in size to the white
shark, though not nearly so formidable, as it rarely attacks man. The
skin serves for making sandals; the coarse flesh is eaten by the
islanders, whom necessity has taught not to be over-nice in their
food; and the liver, the most valuable part, is stewed for the sake of
its oil.
“We had observed,” says Mr. Shepherd, “that the horrible smell
which infested Jsa-fjordr varied in intensity as we approached or
receded from a certain black-looking building at the northern end of
the town. On investigating this building, we discovered that the seat
of the smell was to be found in a mass of putrid sharks’ livers, part
of which were undergoing a process of stewing in a huge copper. It
was a noisome green mass, fearful to contemplate. The place was
endurable only for a few seconds; yet dirty-looking men stirred up
the mass with long poles, and seemed to enjoy the reeking vapors.”
The salmon of Iceland, which formerly remained undisturbed by
the phlegmatic inhabitants, are now caught in large numbers for the
British market. A small river bearing the significant name of Laxaa,
or Salmon River, has been rented for the trifling sum of £100 a year
by an English company, which sends every spring its agents to the
spot well provided with the best fishing apparatus. The captured fish
are immediately boiled, and hermetically packed in tin boxes, so that
they can be eaten in London almost as fresh as if they had just been
caught.
The mineral kingdom contributes but little to the prosperity of
Iceland. It affords neither metals, nor precious stones, nor rock-salt,
nor coal; for the seams of “surturbrand”, or “lignite”, found here and
there, are too unimportant to be worked. The solfataras of Krisuvik
and Husavik, though extremely interesting to the geologist, likewise
furnish sulphur in too impure a condition or too thinly scattered to
afford any prospect of being worked with success, not to mention
the vast expense of transport over the almost impassable lava-tracks
that separate them from the nearest ports. In 1839–40, when, in
consequence of the monopoly granted by the Neapolitan
Government to a French company, sulphur had risen to more than
three times its usual price, Mr. Knudsen, an enterprising Danish
merchant, undertook to work the mines of Krisuvik, but even then it
would not answer.
In 1859, a London company, founded by Mr. Bushby,—who
having explored the sulphur districts, had raised great expectations
on what he considered their dormant wealth,—renewed the attempt,
but after a year’s trial it was abandoned as perfectly hopeless. The
“solfataras of Iceland”, says Professor Sartorius of Waltershausen,
“can not compete with those of Sicily, where more sulphur is
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com