Book Summary and Reviews of Lucy by the Sea by Elizabeth Strout

Lucy by the Sea by Elizabeth Strout

Lucy by the Sea

A Novel

by Elizabeth Strout

  • Critics' Consensus (6):
  • Readers' Rating (28):
  • Published:
  • Sep 2023, 304 pages
  • Rate this book

About this book

Book Summary

From Pulitzer Prize–winning, #1 New York Times bestselling author Elizabeth Strout comes a poignant, pitch-perfect novel about a divorced couple stuck together during lockdown - and the love, loss, despair, and hope that animate us even as the world seems to be falling apart.

With her trademark spare, crystalline prose—a voice infused with "intimate, fragile, desperate humanness" (Washington Post)—Elizabeth Strout turns her exquisitely tuned eye to the inner workings of the human heart, following the indomitable heroine of My Name Is Lucy Barton through the early days of the pandemic.

As a panicked world goes into lockdown, Lucy Barton is uprooted from her life in Manhattan and bundled away to a small town in Maine by her ex-husband and on-again, off-again friend, William. For the next several months, it's just Lucy, William, and their complex past together in a little house nestled against the moody, swirling sea.

Rich with empathy and emotion, Lucy by the Sea vividly captures the fear and struggles that come with isolation, as well as the hope, peace, and possibilities that those long, quiet days can inspire. At the heart of this story are the deep human connections that unite us even when we're apart—the pain of a beloved daughter's suffering, the emptiness that comes from the death of a loved one, the promise of a new friendship, and the comfort of an old, enduring love.

First published September 2022; paperback reprint September 2023

Please be aware that this discussion guide will contain spoilers!
  1. At the start of the novel, Lucy doesn't understand William's concern about getting out of New York City. Could you understand Lucy's ambivalence? How did you process the early days of the pandemic?
  2. Reflective. Melancholy. Hopeful. Insightful. How would you describe the tone of Lucy by the Sea, and why?
  3. Discuss Lucy's relationship with her ex-husband, William. Why do you think they have remained in each other's lives for so long? Were you satisfied with how they ended up at the end of the novel, or were you wary, like their daughters? Please explain.
  4. There are many moving scenes in Lucy by the Sea. Which ones stayed with you, and why?
  5. Lucy's brother. William's half-sister. How did these siblings shape Lucy and William? What role did ...
Please be aware that this discussion may contain spoilers!

You can see the full discussion in our legacy forum here. This discussion will contain spoilers!

Some of the recent comments posted about Lucy by the Sea:

Could you understand Lucy's ambivalence to leaving New York City? How did you process the early days of the pandemic?
As others have said, the early days were punctuated by disbelief, doubt, naivete. We had never lived through anything like the COVID-19 pandemic, and had no way to predict what was going to happen. I related to Lucy's ambivalence about leaving ... - JHSiess

Discuss Lucy's relationship with her daughter Becka.
In some ways, Lucy sees herself in Becka. She knows the pain that Becka experiences when she discovers Trey is having an affair. It hurts, even if the partner who is betrayed by the affair knows that the marriage isn't strong in the first place ... - JHSiess

Discuss Lucy's relationship with her ex-husband, William. Why do you think they have remained in each other's lives for so long? Were you satisfied with how they ended up?
Lucy and William have an unbreakable bond based upon all they have been through together, and the fact that they have two daughters. They are comfortable around each other with no need for pretense and that is refreshing. They have genuine affection ... - JHSiess

How did their siblings shape Lucy and William?
I feel like I might have a better answer to this if this wasn't my first book about Lucy, but I do feel like the author gave me enough history to be able to understand the book I was reading. Lucy mourns her brother, and his life from such ... - pnelson384

How would you describe the tone of Lucy by the Sea?
Everyday. About nothing and about everything. Reflective. What I loved about the book is it's ability to talk about normal everyday things and then zoom all the way out and all the way back in to what's important to notice. - pnelson384

Membership Advantages
  • Reviews
  • "Beyond the Book" articles
  • Free books to read and review (US only)
  • Find books by time period, setting & theme
  • Read-alike suggestions by book and author
  • Book club discussions
  • and much more!
  • Just $60 for 12 months or $20 for 3 months.
  • More about membership!

Reviews

Media Reviews

"Graceful, deceptively light ... Lucy's done the hard work of transformation. May we do the same." —The New York Times

"Lucy by the Sea has an anecdotal surface that belies a firm underlying structure. It is meant to feel like life—random, surprising, occasionally lit with flashes of larger meaning—but it is art." —The New Yorker

"No novelist working today has Strout's extraordinary capacity for radical empathy, for seeing the essence of people beyond reductive categories, for uniting us without sentimentality. I didn't just love Lucy by the Sea; I needed it. May droves of readers come to feel enlarged, comforted, and genuinely uplifted by Lucy's story." —The Boston Globe

"Strout follows up Oh William! with a captivating entry in the Lucy Barton series...Loneliness, grief, longing, and loss pervade intertwined family stories as Lucy and William attempt to create new friendships in an initially hostile town. What emerges is a prime testament to the characters' resilience. With Lucy Barton, Strout continues to draw from a deep well." —Publishers Weekly (starred review)

This information about Lucy by the Sea was first featured in "The BookBrowse Review" - BookBrowse's membership magazine, and in our weekly "Publishing This Week" newsletter. Publication information is for the USA, and (unless stated otherwise) represents the first print edition. The reviews are necessarily limited to those that were available to us ahead of publication. If you are the publisher or author and feel that they do not properly reflect the range of media opinion now available, send us a message with the mainstream reviews that you would like to see added.

Any "Author Information" displayed below reflects the author's biography at the time this particular book was published.

Reader Reviews

Write your own reviewwrite your own review

Cloggie Downunder

Such a moving, powerful read.
Lucy By The Sea is the fourth book in the Amgash series by best-selling, Pulitzer Prize winning American author, Elizabeth Strout. In early 2020, Lucy Barton’s ex-husband, parasitologist William Gerhardt is deeply concerned about the new virus spreading around the world. He urges his daughters to leave New York City for somewhere safer. Chrissie and her asthmatic husband, Michael readily take his advice, heading to his parents’ house in Connecticut.

Becka and Trey are resistant, opting to stay. Lucy feels sure he’s overreacting, but allows him to sweep her up and drive them both to a vacant house his friend, Bob Burgess is managing in the little town of Crosby in coastal Maine. They self-isolate for two weeks. Initially, Lucy isn’t impressed by the house or the town, where out-of-towners, especially New Yorkers, are not welcome.

Gradually, the idea of working from home, masks and social distancing is accepted. They spend their time walking, and have books, games and puzzles at their disposal. Lucy starts off rather petulant, her priorities a bit skewed, and is often vocal about it to William: “I hate this kind of thing” to which he calmly replies “Lucy, we’re in lockdown, stop hating everything.” But she does find herself worrying about those friends and acquaintances left behind in NYC, and those essential and emergency workers she sees on the TV news who are exposed daily to the virus.

Lucy observes “Even as all of this went on, even with the knowledge that my doctor had said it would be a year, I still did not… I don’t know how to say it, but my mind was having trouble taking things in. it was as though each day was like a huge stretch of ice I had to walk over. And in the ice were small trees stuck there and twigs, this is the only way I can describe it, as though the world had become a different landscape and I had to make it through each day without knowing when it would stop, and it seemed it would not stop, so I felt a great uneasiness”, something that will resonate with many who experienced the pandemic.

After a while, Lucy finds herself taking pleasure in nature: sunsets, a robin’s egg, dandelions, the view of the islands, thunderstorms, sea creatures, autumn colours. Separated from their former lives, it’s a time of reflection, connection and reconnection: they get to know some neighbours, volunteers, and Bob and his wife. They share worries over their daughters, and discover things about themselves.

Initially blocked, when she observes some teens and a policeman while they are out on a jaunt, “I wondered, What is it like to be a policeman, especially now, these days? What is it like to be you? This is the question that has made me a writer; always a deep desire to know what it feels like to be a different person.” She begins writing again.

And Lucy finds some empathy for certain reviled protestors: “I suddenly felt that I saw what these people were feeling. They had been made to feel poorly about themselves, they were looked at with disdain, and they could no longer stand it.”

Strout gives her characters palpable emotions, wise words and insightful observations. While Lucy admits to self-interest leading her to do something of which she’s not proud, she also details the compassion she encounters. And of the many kindnesses Lucy mentions, some from unexpected quarters, outstanding for her is William, infinitely kind, perceptive and resourceful. Olive Kitteridge gets a mention as an acquaintance of someone she meets.

Strout’s writing, its quality, style and subject matter, is reminiscent of Sebastian Barry with shades of Anne Tyler. Strout writes about ordinary people leading what they believe are ordinary lives (although there are definitely some quirky ones doing strange things amongst them, and life in a pandemic is far from ordinary) and she does it with exquisite yet succinct prose. Such a moving, powerful read.

Patricia Nelson

Great read
This is my first Elizabeth Strout book, and I loved it. I don't know if I could have read it sooner than now - I needed some time and space from the events in the book in order to really enjoy this one. I loved this story about two people who are thrown together for an extended time. It's a story about nothing and everything. It's about long-term relationships, mothers and daughters, politics (only lightly alluded to), disagreeing without being disagreeable, forgiveness, maturity, how we deal with stress. I loved Lucy's voice. She's a flawed person, to be sure, just as we all are. William's personality reminded me of people I know and love, so while he didn't always come across very well on the page, I could see others in his character. (I'm not referring to his past actions, just his general personality.) This would be a great book club book because there is so much to discuss.

susan

Lucy By the Sea
Inspired by the true events surrounding the destruction of the town, Iola, in the 1960’s, this story tells of hardship, loss, courage and resilience. Story begins on a small peach ranch in Iola, Colorado. The Gunnison River is damned, the town is flooded, and a reservoir built. Prior to this, Victoria, 17, encounters young Wilson Moon, by chance and falls for him. She gets pregnant and tragedy strikes. She isolates herself in a small hut in the mountains, where she struggles in the wilderness. Alone, she has the baby and gives him up to a young woman who, by chance is stopped in the woods with a newborn baby of her own. Character development superb and the writer is truly gifted. Example- “my insides were tumbling like pebbles in a stream.” She is able to describe the beautiful, harsh landscape so that you feel that you are there. A must read!

anita r

unexpected surprises
I really liked and enjoyed reading Lucy By The Sea. Not at all complicated and was easy reading. Lucy was a bit manipulative but managed to get what she wanted. I personally think the author took Covid too far....I guess there would not be a story if she did otherwise. William was a little off-putting but still I liked his character, I do like the way the author phrases....to the point and short paragraphs. Now I will read O William and get a better handle on who William is.

Cathryn_Conroy

A Lovely, Heartfelt, and Deeply Endearing Story That Is the Literary Equivalent of a Comfy Blanket
Oh, I just want to hug this book!

This is a lovely, heartfelt, deeply endearing story about the Covid lockdown as experienced by one of Elizabeth Strout's most beloved characters, Lucy Barton. And while each of us has our own unique story to tell about this unsettling time, somehow Lucy manages to speak for many of us about the isolation, fear, uncertainties, anxieties, disruption, and political unrest, as well as the newfound friendships, love, and personal growth that defined 2020 and 2021.

It's March 2020 and this strange, fearsome virus is making its presence known. Lucy is still reeling from the death a year ago of her beloved second husband, David, when her first husband, William, calls her and tells her in no uncertain terms that he is whisking her away from New York City to the wilds of coastal Maine to save her life. Lucy is confused. Figuring that William's odd trip to Maine with her in tow will last a few weeks at most, she packs only one small suitcase. The two rent a house and set up platonic housekeeping, while also trying to rescue their two married daughters, who live in New York City.

The heart and soul of the story is how Lucy and William adjust to the isolation, make new friends, and discover new things about themselves as individuals and each other as a couple. In addition to dealing with grief for those close to them who die of Covid, Lucy wrestles with being the mother to grown-up daughters who don't particularly need her, as well as horrifying memories of her terrible, abusive childhood.

But the most brilliant parts of the book are how Strout addresses the disparities of the lockdown—the ultimate haves vs. the have nots, as well as the vast and stark political differences of the country. Her prose should be read by everyone for a greater understanding of how "the other" thinks—no matter who "the other" is for you.

Written in Lucy's first-person voice, this ingenious novel reminds me of two friends conversing about the details of their day. It is filled with both joy and sorrow, and at times it is brutally raw with human emotion.

A really fun bonus: Characters from other Strout novels make appearances big and small, including Bob Burgess from "The Burgess Boys" and Olive Kitteridge from the "Olive Kitteridge" and "Olive, Again." While you can totally appreciate "Lucy by the Sea" as a standalone book without having read any of the others before it (it is fourth in the "Lucy Barton" series), it's a much richer experience if you know what comes previously.

This novel resonates with wisdom, insights, and a deep, almost visceral, understanding of what it means to be fully human. Reading this book is the literary equivalent of a soft, comfortable blanket. It will make you feel warm and good all over, knowing that even though we all felt so alone and lonely at the beginning of the Covid pandemic, we are not alone and lonely. We still have each other. And we still have Lucy Barton.

CarolT

The pandemic
Elizabeth Strout does it again, walking us through what the pandemic meant to those who could protect themselves early on. As always, the characters feel like someone I might actually know.

...5 more reader reviews

Membership Advantages
  • Reviews
  • "Beyond the Book" articles
  • Free books to read and review (US only)
  • Find books by time period, setting & theme
  • Read-alike suggestions by book and author
  • Book club discussions
  • and much more!
  • Just $60 for 12 months or $20 for 3 months.
  • More about membership!

Author Information

Elizabeth Strout Author Biography

Elizabeth Strout was born in Portland, Maine, and grew up in small towns in Maine and New Hampshire. From a young age she was drawn to writing things down, keeping notebooks that recorded the quotidian details of her days. She was also drawn to books, and spent hours of her youth in the local library lingering among the stacks of fiction. During the summer months of her childhood she played outdoors, either with her brother, or, more often, alone, and this is where she developed her deep and abiding love of the physical world: the seaweed covered rocks along the coast of Maine, and the woods of New Hampshire with its hidden wildflowers.

During her adolescent years, Strout continued writing avidly, having conceived of herself as a writer from early on. She read biographies of writers, ...

... Full Biography
Author Interview
Link to Elizabeth Strout's Website

Other books by Elizabeth Strout at BookBrowse
  • The Burgess Boys jacket
  • Tell Me Everything jacket
  • Olive, Again jacket
  • Olive Kitteridge jacket

10 more...

Membership Advantages
  • Reviews
  • "Beyond the Book" articles
  • Free books to read and review (US only)
  • Find books by time period, setting & theme
  • Read-alike suggestions by book and author
  • Book club discussions
  • and much more!
  • Just $60 for 12 months or $20 for 3 months.
  • More about membership!

Read-Alikes

Membership Advantages
  • Reviews
  • "Beyond the Book" articles
  • Free books to read and review (US only)
  • Find books by time period, setting & theme
  • Read-alike suggestions by book and author
  • Book club discussions
  • and much more!
  • Just $60 for 12 months or $20 for 3 months.
  • More about membership!

BookBrowse Book Club

Book Jacket
The Cover Girl
by Amy Rossi
Find them early enough, and they will always be her girls.

Members Recommend

  • Book Jacket
    The Sister's Curse
    by Nicola Solvinic
  • Book Jacket
    The Lost Story of Eva Fuentes
    by Chanel Cleeton
    A mysterious book links three women across generations in this novel by New York Times bestselling author Chanel Cleeton.
  • Book Jacket
    The Vanishing Place
    by Zoë Rankin
Who Said...

Tread softly because you tread on my dreams.

Click Here to find out who said this, as well as discovering other famous literary quotes!

Book
Trivia
  • Book Trivia

    Can you name the title?

    Test your book knowledge with our daily trivia challenge!

Wordplay

Solve this clue:

W the C A the M W P

and be entered to win..

Your guide toexceptional          books

BookBrowse seeks out and recommends the best in contemporary fiction and nonfiction—books that not only engage and entertain but also deepen our understanding of ourselves and the world around us.

 


Debugging Information
ColdFusion Server Developer 2021,0,13,330286
Template /bb_briefs/detail/index.cfm
Time Stamp 31-May-26 09:14 PM
Locale en
User Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Remote IP 127.0.0.1
Host Name 127.0.0.1


Execution Time

Total Time Avg Time Count Template
1780262050305 ms 1.78026205031E+012 ms 1 /root/website/app_server.cfm
895 ms 895 ms 1 /root/website/bb_briefs/detail/index.cfm
306 ms 306 ms 1 /root/website/queries/qry_get_discussion_by_id.cfm
223 ms 223 ms 1 /root/website/bb_briefs/detail/dsp_main.cfm
140 ms 140 ms 1 /root/website/app_layout.cfm
103 ms 103 ms 1 /root/website/app_globals.cfm
84 ms 21 ms 4 /root/website/adsystem/adsystem_mod.cfm
71 ms 71 ms 1 /root/website/site/blocks/layout/dsp_right_column.cfm
45 ms 45 ms 1 /root/website/site/blocks/layout/dsp_header.cfm
43 ms 43 ms 1 /root/website/queries/qry_get_briefs_reader_rating.cfm
40 ms 40 ms 1 /root/website/queries/qry_get_reader_reviews_by_preview_number.cfm
36 ms 36 ms 1 /root/website/adzones/AdZone6.cfm
35 ms 9 ms 4 /root/website/site/blocks/membership_advantages.cfm
34 ms 9 ms 4 /root/website/queries/qry_get_member_account_types.cfm
23 ms 23 ms 1 /root/website/queries/qry_get_liked_by_brief_id.cfm
22 ms 22 ms 1 /root/website/queries/qry_get_current_competition.cfm
22 ms 22 ms 1 /root/website/site/blocks/dsp_border_first_impressions.cfm
20 ms 20 ms 1 /root/website/queries/qry_get_arcs_for_ad.cfm
19 ms 19 ms 1 /root/website/actions/adstatus.cfm
19 ms 19 ms 1 /root/website/site/blocks/layout/dsp_footer.cfm
18 ms 18 ms 1 /root/website/adzones/AdZone3.cfm
18 ms 18 ms 1 /root/website/queries/qry_get_active_obc.cfm
17 ms 17 ms 1 /root/website/adzones/showcase_track.cfm
15 ms 15 ms 1 /root/website/adzones/AdZone11.cfm
14 ms 14 ms 1 /root/website/queries/qry_get_books_by_briefs_category.cfm
13 ms 13 ms 1 /root/website/queries/qry_get_preview_by_id.cfm
12 ms 12 ms 1 /root/website/act_check_login.cfm
12 ms 2 ms 5 /root/website/actions/act_spider_tracker.cfm
11 ms 11 ms 1 /root/website/queries/qry_get_member_info.cfm
10 ms 10 ms 1 /root/website/queries/qry_get_current_wordplay.cfm
6 ms 6 ms 1 /root/website/site/blocks/dsp_book_giveaway.cfm
2 ms 2 ms 1 /root/website/queries/qry_get_author_bookcount.cfm
2 ms 2 ms 1 /root/website/queries/qry_get_obc_number.cfm
2 ms 2 ms 1 /root/website/queries/qry_get_preview_awards_by_id.cfm
1 ms 1 ms 1 /root/website/site/blocks/dsp_top_brief_block.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/head.cfm
0 ms 0 ms 1 /root/website/Application.cfm
0 ms 0 ms 1 /root/website/act_libraryIPLogin.cfm
0 ms 0 ms 1 /root/website/actions/udfs.cfm
0 ms 0 ms 1 /root/website/banners/ad_594.cfm
0 ms 0 ms 1 /root/website/formurl2attributes.cfm
0 ms 0 ms 1 /root/website/js/fbjavascriptsdk.cfm
0 ms 0 ms 1 /root/website/queries/qry_get_current_ezine.cfm
0 ms 0 ms 1 /root/website/queries/qry_get_free_newsletters.cfm
0 ms 0 ms 1 /root/website/queries/qry_get_previous_arcs_for_ad.cfm
0 ms 0 ms 1 /root/website/site/blocks/act_book_view_tracking.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_border_booktalk.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_header_newsletter.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_wordplay.cfm
0 ms 0 ms 1 /root/website/site/blocks/email_modal.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/dsp_bottom_block.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/google_tags.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/header_announcement.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/main_menu.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/main_search.cfm
1 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
896 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

spidercheck (Datasource=bookbrowse_com_new, Time=12ms, Records=1) in /root/website/actions/act_spider_tracker.cfm @ 21:14:10.010
SELECT	a.bot_number
        FROM	bots a
        WHERE	charindex(a.bot_name, ?) > 0
		OR a.bot_ip = ?
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Parameter #2(cf_sql_varchar) = 127.0.0.1

get_member_info (Datasource=bookbrowse_com_new, Time=10ms, Records=0) in /root/website/queries/qry_get_member_info.cfm @ 21:14:10.010
select 	a.*, 
    		b.member_account_type_name, b.member_account_type_charge, b.member_account_type_charge_frequency,  b.member_account_type_months, 
            c.member_chargetype_name, c.member_chargetype_number, a.member_classification_number, a.member_book_format
	
    from members a, member_account_types b, member_chargetype c
	
    where a.member_account_type_number = b.member_account_type_number
	and a.payment_method_id = c.member_chargetype_number
	and a.member_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 0

adactive (Datasource=bookbrowse_com_new, Time=18ms, Records=2) in /root/website/actions/adstatus.cfm @ 21:14:10.010
SELECT	viewby, section
    FROM	adsystem 
    WHERE	active  = 1 
    AND		start_date <= GETDATE()
    AND 	(viewby = ? OR viewby = 'all')
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = non

get_current_ezine (Datasource=bookbrowse_com_new, Time=0ms, Records=1, Cached Query) in /root/website/queries/qry_get_current_ezine.cfm @ 21:14:10.010
select		top 1 ezine_number, ezine_dt, ezine_image, ezine_brief_description, ezine_introduction
from		ezines
where		ezine_active_flag = 1
and 		ezine_type_number = 4
and			ezine_dt < getdate()
order by 	ezine_dt DESC
get_current_wordplay (Datasource=bookbrowse_com_new, Time=9ms, Records=1) in /root/website/queries/qry_get_current_wordplay.cfm @ 21:14:10.010
SELECT		a.wordplay_number, a.wordplay_dt, a.wordplay_name, a.wordplay_intro_text, b.wordplay_puzzle_number, b.wordplay_puzzle_question
    FROM		wordplays a 
	INNER JOIN	wordplay_puzzle_mapping c on c.wordplay_number = a.wordplay_number
	INNER JOIN	wordplay_puzzles b on b.wordplay_puzzle_number = c.wordplay_puzzle_number
	WHERE		a.wordplay_number = (	select top 1 a.wordplay_number
                                from wordplays a, wordplay_puzzles b, wordplay_puzzle_mapping c
                                where a.wordplay_number = c.wordplay_number
                                and b.wordplay_puzzle_number = c.wordplay_puzzle_number
                                and a.wordplay_dt < getdate()
                                and a.wordplay_expiration_dt > dateadd(day, -1, getdate())
                                order by a.wordplay_dt asc
                                )
get_ComNo (Datasource=bookbrowse_com_new, Time=12ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 21:14:10.010
SELECT 	TOP 1 	x.competition_number, x.bb_briefs_flag
	from			competitions x
	
		WHERE	x.competition_dt <= getdate()
		AND		x.competition_expiration_dt > dateadd(d,-1,getdate())
get_current_competition (Datasource=bookbrowse_com_new, Time=9ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 21:14:10.010
SELECT 	x.competition_number, x.book_number, x.competition_teaser_title, x.competition_teaser_description, x.competition_intro_text, x.competition_expiration_dt, x.bb_briefs_flag, x.competition_full_info_flag, x.competition_type, x.competition_optin,x.competition_optin_text, 
				a.book_title as "title",
				(b.author_first_name + ' ' +  b.author_middle_initial + ' ' + b.author_last_name) as "author",
	            f.edition_publish_dt AS "hardcover_publish_dt", f.edition_jacket_image as "hardcover_jacket_image",
				g.edition_publish_dt AS "paperback_publish_dt", g.edition_jacket_image as "paperback_jacket_image"
	
		FROM 		competitions x
		INNER JOIN	books a on a.book_number = x.book_number
		INNER JOIN	book_author_mapping c on c.book_number = x.book_number
		INNER JOIN	authors b on c.author_number = b.author_number
		LEFT JOIN	editions f on a.book_number = f.book_number and f.edition_paperback_flag = 0
		LEFT JOIN	editions g on a.book_number = g.book_number and g.edition_paperback_flag = 1

		WHERE		x.competition_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 0

get_previous_arcs_for_ad (Datasource=bookbrowse_com_new, Time=0ms, Records=0, Cached Query) in /root/website/queries/qry_get_previous_arcs_for_ad.cfm @ 21:14:10.010
SELECT 	a.arc_number,a.arc_client_url,a.arc_active_dt, a.arc_off_ad_dt,
		b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_publisher, 
		b.ezine_preview_publish_dt, b.ezine_preview_jacket_desc, b.ezine_preview_number_of_pages, b.ezine_preview_bb_comments, b.ezine_preview_isbn13,
		c.ezine_preview_category_name AS "ezine_preview_category",
		(select count(*) from arc_allocator d where d.arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) as "reviews",
		(select (CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,0))) AS numeric(12,0)))+
				(CASE WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 25 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 50 THEN 0.5
				 WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 50 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 75 THEN -0.5
				 ELSE 0
				 END)
 			from arc_allocator	where arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) AS arcrating,
 			(select (CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,1))) AS numeric(12,1)))from arc_allocator where arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) AS "decrating"

FROM arcs a
INNER JOIN ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
INNER JOIN ezine_preview_categories c ON b.ezine_preview_category_number = c.ezine_preview_category_number

WHERE arc_closed_flag = 1
AND arc_obc_flag = 0
AND getdate() >= arc_on_ad_dt
AND getdate() < arc_off_ad_dt

ORDER BY a.arc_on_ad_dt DESC
get_future_obc (Datasource=bookbrowse_com_new, Time=5ms, Records=0) in /root/website/queries/qry_get_active_obc.cfm @ 21:14:10.010
SELECT 		a.arc_forumidfk, a.discourse_flag, a.arc_promo_text, arc_on_ad_dt,
				b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_jacket_desc, b.ezine_preview_publisher, ezine_preview_publish_dt, ezine_preview_number_of_pages, ezine_preview_isbn, ezine_preview_short_summary,
	            b.ezine_preview_bb_author_link, ezine_preview_bb_link
	
	FROM 		arcs a
	INNER JOIN 	ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
	
	WHERE 		arc_obc_flag = 1

	AND 		getdate() < arc_on_ad_dt
	
		ORDER BY  	NEWID()
get_active_obc (Datasource=bookbrowse_com_new, Time=6ms, Records=1) in /root/website/queries/qry_get_active_obc.cfm @ 21:14:10.010
SELECT 		a.arc_forumidfk, a.discourse_flag, a.arc_promo_text,
				b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_jacket_desc, b.ezine_preview_publisher, ezine_preview_publish_dt, ezine_preview_number_of_pages,  ezine_preview_isbn, ezine_preview_short_summary,
	            b.ezine_preview_bb_author_link, ezine_preview_bb_link,
	            c.book_reading_guide
	
	FROM 		arcs a
	INNER JOIN 	ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
	LEFT JOIN  	books c on c.book_number = b.ezine_preview_bb_link
	
	WHERE 		a.arc_obc_flag = 1
	AND			a.arc_active_flag = 0
	AND 		arc_closed_flag = 1
	AND 		getdate() >= arc_on_ad_dt
	AND 		getdate() < arc_off_ad_dt
	ORDER BY  	NEWID()
get_recent_obc (Datasource=bookbrowse_com_new, Time=4ms, Records=4) in /root/website/queries/qry_get_active_obc.cfm @ 21:14:10.010
SELECT 		a.arc_forumidfk, a.discourse_flag, a.arc_promo_text,
				b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_jacket_desc, b.ezine_preview_publisher, ezine_preview_publish_dt, ezine_preview_number_of_pages,  ezine_preview_isbn, ezine_preview_short_summary,
	            b.ezine_preview_bb_author_link, ezine_preview_bb_link,
	            c.book_reading_guide
	
	FROM 		arcs a
	INNER JOIN 	ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
	LEFT JOIN  	books c on c.book_number = b.ezine_preview_bb_link
	
	WHERE a.arc_number IN (select top 4 arc_number
							from		arcs
							WHERE 		arc_obc_flag = 1
							AND			arc_active_flag = 0
							AND 		arc_closed_flag = 1
							AND 		getdate() > arc_off_ad_dt
							ORDER BY	arc_on_ad_dt DESC)
	ORDER BY  	NEWID()
get_preview_by_id (Datasource=bookbrowse_com_new, Time=9ms, Records=1) in /root/website/queries/qry_get_preview_by_id.cfm @ 21:14:10.010
select 			a.ezine_preview_number,
				a.ezine_number, 
				a.ezine_preview_category_number, 
				a.ezine_preview_title, 
				a.ezine_preview_subtitle, 
				a.ezine_preview_author, 
				a.ezine_preview_publisher,
				a.ezine_preview_publish_dt,
				a.ezine_preview_number_of_pages, 
				a.ezine_preview_jacket_image,
				a.ezine_preview_reviews,
				a.ezine_preview_short_summary,
				a.ezine_preview_jacket_desc,
				a.ezine_preview_reading_guide,
				a.ezine_preview_bb_comments, 
				a.ezine_preview_isbn,
				a.ezine_preview_isbn13,
				a.ezine_preview_rating,
				a.ezine_preview_bb_link,
                a.ezine_preview_bb_author_link,
                a.ezine_preview_firsts_flag,
                a.ezine_preview_reading_level,
                a.ezine_preview_paperback_flag,
				b.*,
                c.ezine_dt, c.ezine_description
,(select publisher_holding_company from publishers where ezine_preview_publisher like publisher_imprint AND publisher_holding_company LIKE 'Harper%') AS "publisher_holding_company"		
 				
from ezine_previews a 
inner join ezine_preview_categories b ON b.ezine_preview_category_number = a.ezine_preview_category_number
left join ezines c ON c.ezine_number = a.ezine_number

where ezine_preview_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 17048

get_author_name (Datasource=bookbrowse_com_new, Time=4ms, Records=1) in /root/website/queries/qry_get_preview_by_id.cfm @ 21:14:10.010
SELECT author_number, 
        CASE WHEN datalength(author_middle_initial) > 0 then author_first_name + ' ' + author_middle_initial + '. ' + author_last_name
            ELSE author_first_name + ' ' + author_last_name
            END "author_name"
        FROM authors 
        WHERE author_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 312

get_preview_awards_by_id (Datasource=bookbrowse_com_new, Time=2ms, Records=0) in /root/website/queries/qry_get_preview_awards_by_id.cfm @ 21:14:10.010
select a.book_award_number, a.book_award_name, a.book_award_image, c.book_award_dt
    from book_awards a 
    inner join book_awards_category b on b.book_award_number = a.book_award_number
    inner join book_awards_mapping c on c.book_awards_category_number = b.book_awards_category_number
    where ezine_preview_number =  ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 17048

get_briefs_reader_rating (Datasource=bookbrowse_com_new, Time=42ms, Records=1) in /root/website/queries/qry_get_briefs_reader_rating.cfm @ 21:14:10.010
SELECT	(CAST(AVG(CAST(rating AS numeric(12,0))) AS numeric(12,0)))+
				(CASE WHEN right(CAST(AVG(CAST(rating AS numeric(12,2))) AS numeric(12,2)),2) > 25 AND right(CAST(AVG(CAST(rating AS numeric(12,2))) AS numeric(12,2)),2) < 50 THEN 0.5
				 WHEN right(CAST(AVG(CAST(rating AS numeric(12,2))) AS numeric(12,2)),2) >= 50 AND right(CAST(AVG(CAST(rating AS numeric(12,2))) AS numeric(12,2)),2) < 75 THEN -0.5
			ELSE 0
			END) AS "avrating",
            count(rating) as "ratcount"
            
	FROM (
		SELECT reader_review_rating AS rating
		FROM reader_reviews
		WHERE ezine_preview_number = ?
		
		AND reader_review_rating > 0
		
		UNION ALL
		
		SELECT reading_list_book_rating AS rating
		FROM reading_lists
		WHERE book_number LIKE 'p%'
		AND TRY_CAST(SUBSTRING(book_number, 2, LEN(book_number)) AS INT) = ?
		AND reading_list_book_rating > 0
		AND TRY_CAST(SUBSTRING(book_number, 2, LEN(book_number)) AS INT) IS NOT NULL
	) combined_ratings
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 17048
Parameter #2(CF_SQL_INTEGER) = 17048

get_reader_reviews_by_preview_number (Datasource=bookbrowse_com_new, Time=39ms, Records=11) in /root/website/queries/qry_get_reader_reviews_by_preview_number.cfm @ 21:14:10.010
SELECT 		a.reader_review_number, a.book_number, a.ezine_preview_number, a.reader_review_approved_flag, a.reader_review_dt,
				COALESCE(NULLIF(LTRIM(RTRIM(m.discourse_username)), ''), NULLIF(LTRIM(RTRIM(a.reader_review_reviewer_name)), '')) AS reader_review_reviewer_name,
				a.reader_review_reviewer_email_address, a.reader_review_reviewer_from_locale, a.reader_review_recommended, a.reader_review_rating, a.reader_review_title, a.reader_review_description, ISNULL(a.like_count, 0) AS like_count,
    			b.ezine_preview_title,
    			ISNULL(e.edit_count, 0) AS edit_count,
    			e.last_edit_dt,
    			a.member_number AS review_member_number
    FROM 		reader_reviews a
    INNER JOIN	ezine_previews b ON a.ezine_preview_number = b.ezine_preview_number
    LEFT OUTER JOIN (
    	SELECT reader_review_number, COUNT(*) AS edit_count, MAX(edited_dt) AS last_edit_dt
    	FROM   reader_review_edits
    	GROUP BY reader_review_number
    ) e ON e.reader_review_number = a.reader_review_number
    LEFT OUTER JOIN members m ON m.member_number = a.member_number
	WHERE 		a.ezine_preview_number = ?
    AND			a.book_number = 0
    AND 		a.reader_review_approved_flag = 1
    

	ORDER BY a.reader_review_rating DESC, a.reader_review_dt DESC
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 17048

get_arc_idfk (Datasource=bookbrowse_com_new, Time=7ms, Records=1) in /root/website/queries/qry_get_discussion_by_id.cfm @ 21:14:10.010
SELECT 		a.arc_forumidfk,a.discourse_flag
    FROM 		arcs a
    INNER JOIN 	ezine_previews e on e.ezine_preview_number = a.ezine_preview_number
    
	
        WHERE 		e.ezine_preview_number = ? 
    AND DATALENGTH(a.arc_forumidfk) > 0 AND arc_obc_flag=1
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 17048

get_arc_idfk_legacy (Datasource=bookbrowse_com_new, Time=11ms, Records=1) in /root/website/queries/qry_get_discussion_by_id.cfm @ 21:14:10.010
SELECT 		a.arc_forumidfk,a.discourse_flag
    FROM 		arcs a
    INNER JOIN 	ezine_previews e on e.ezine_preview_number = a.ezine_preview_number
    
	
        WHERE 		e.ezine_preview_number = ? 
    AND DATALENGTH(a.arc_forumidfk) > 0 AND arc_obc_flag=1 AND a.discourse_flag = 0
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 17048

obc_discussions (Datasource=booktalk_new, Time=257ms, Records=21) in /root/website/queries/qry_get_discussion_by_id.cfm @ 21:14:10.010
SELECT 		t.name,
                m.title, m.body,
                u.username, t.id,
				(SELECT COUNT(*) from booktalk_messages where threadidfk = t.id) AS	"responses"
                
    FROM 		booktalk_forums f
    INNER JOIN	booktalk_threads t on t.forumidfk = f.id
    INNER JOIN	booktalk_messages m on m.posted = t.lastpostcreated
    INNER JOIN	booktalk_users u on u.id = m.useridfk
    
    WHERE 	f.id = ?
    AND 	f.active = 1
	AND		t.active = 1
    
    ORDER BY t.name, t.messages DESC
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = 5C65C43C-F5C9-01D9-0F42766631E62580

searchResults (Datasource=bookbrowse_com_new, Time=29ms, Records=0) in /root/website/queries/qry_get_discussion_by_id.cfm @ 21:14:10.010
SELECT book_number, post_id, topic_id, blurb, username, topic_title
					FROM DiscourseSearchResults
					
        WHERE 		book_number = ? 
                    AND topic_id IS NOT NULL
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = p17048

ya_check (Datasource=bookbrowse_com_new, Time=9ms, Records=0) in /root/website/queries/qry_get_books_by_briefs_category.cfm @ 21:14:10.010
select ezine_preview_reading_level 
from ezine_previews 
where ezine_preview_number = ?
and ezine_preview_reading_level = 2
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 17048

get_books_by_brief (Datasource=bookbrowse_com_new, Time=4ms, Records=20) in /root/website/queries/qry_get_books_by_briefs_category.cfm @ 21:14:10.010
select 			top 20
				a.ezine_preview_reading_level,
				b.category_name,
				c.category_number, 
				d.book_number, d.book_title,
				f.author_number, f.author_first_name, author_middle_initial, author_last_name
				
from 			ezine_previews a 
inner join		categories b on b.ezine_preview_category_number = a.ezine_preview_category_number
inner join		category_book_mapping c on c.category_number = b.category_number
inner join		books d on d.book_number = c.book_number
inner join		book_author_mapping e on e.book_number = d.book_number
inner join		authors f on f.author_number = e.author_number

where			a.ezine_preview_number = ? 

order by 		d.book_number DESC
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 17048

get_author_bookcount (Datasource=bookbrowse_com_new, Time=1ms, Records=10) in /root/website/queries/qry_get_author_bookcount.cfm @ 21:14:10.010
select		b.book_title as "title", 1 as "bb_flag", b.book_number as "number"
        from		book_author_mapping a
		inner join	books b on b.book_number = a.book_number
        where		a.author_number = ?
union
    	select		c.ezine_preview_title as "title", 0 as "bb_flag", c.ezine_preview_number as "number"
        from		ezine_previews c
        where		c.ezine_preview_bb_author_link = ?
        and			c.ezine_preview_bb_link = 0
		
order by title DESC
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 312
Parameter #2(CF_SQL_INTEGER) = 312

get_obc_number (Datasource=bookbrowse_com_new, Time=2ms, Records=1) in /root/website/queries/qry_get_obc_number.cfm @ 21:14:10.010
select a.arc_forumidfk
    from arcs a
    
    	where a.ezine_preview_number = ?
Query Parameter Value(s) -
Parameter #1(cf_sql_numeric) = 17048.0

existingResults (Datasource=bookbrowse_com_new, Time=36ms, Records=1) in /root/website/actions/udfs.cfm @ 21:14:10.010
SELECT id, last_updated
        FROM DiscourseSearchResults
        WHERE book_number = ?
        ORDER BY last_updated DESC
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = p17048

get_ads (Datasource=bookbrowse_com_new, Time=8ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:14:10.010
SELECT		a.adid,	adweight
	FROM		adsystem a
	INNER JOIN 	ad_category_mapping b ON b.adid = a.adid
	WHERE		a.section = ?
	AND			a.active  = 1
	AND 		a.start_date <= GETDATE()
	
	AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
            

	AND     (b.category_number IN (	SELECT	category_number
									FROM	category_book_mapping
									WHERE	book_number = ?)
      		OR 	b.category_number = ?)
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone3
Parameter #2(CF_SQL_VARCHAR) = 0
Parameter #3(CF_SQL_VARCHAR) = 0

get_ads (Datasource=bookbrowse_com_new, Time=8ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:14:10.010
SELECT	a.adid,	adweight
        FROM	adsystem a
        WHERE	a.section = ? 
        AND 	a.active  = 1 
        AND		a.start_date <= GETDATE()	
        
        AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
        AND (select count(*) from ad_category_mapping where datalength(category_number) >= 1 and adid = a.adid) = 0
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone3

get_member_account_types (Datasource=bookbrowse_com_new, Time=6ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:14:10.010
select member_account_type_number, member_account_type_name, member_account_type_charge, member_account_type_charge_frequency, member_account_type_postscript, member_account_type_months, member_account_type_stripe_lookup_key
from member_account_types
where member_account_type_number = (select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 12
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
or member_account_type_number =		(select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 3
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
order by member_account_type_sort_order ASC
get_member_account_types (Datasource=bookbrowse_com_new, Time=2ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:14:10.010
select member_account_type_number, member_account_type_name, member_account_type_charge, member_account_type_charge_frequency, member_account_type_postscript, member_account_type_months, member_account_type_stripe_lookup_key
from member_account_types
where member_account_type_number = (select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 12
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
or member_account_type_number =		(select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 3
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
order by member_account_type_sort_order ASC
get_ads (Datasource=bookbrowse_com_new, Time=3ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:14:10.010
SELECT		a.adid,	adweight
	FROM		adsystem a
	INNER JOIN 	ad_category_mapping b ON b.adid = a.adid
	WHERE		a.section = ?
	AND			a.active  = 1
	AND 		a.start_date <= GETDATE()
	
	AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
            

	AND     (b.category_number IN (	SELECT	category_number
									FROM	category_book_mapping
									WHERE	book_number = ?)
      		OR 	b.category_number = ?)
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone11
Parameter #2(CF_SQL_VARCHAR) = 0
Parameter #3(CF_SQL_VARCHAR) = 0

get_ads (Datasource=bookbrowse_com_new, Time=8ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:14:10.010
SELECT	a.adid,	adweight
        FROM	adsystem a
        WHERE	a.section = ? 
        AND 	a.active  = 1 
        AND		a.start_date <= GETDATE()	
        
        AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
        AND (select count(*) from ad_category_mapping where datalength(category_number) >= 1 and adid = a.adid) = 0
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone11

get_bio (Datasource=bookbrowse_com_new, Time=7ms, Records=1) in /root/website/bb_briefs/detail/dsp_main.cfm @ 21:14:10.010
SELECT 	a.author_number, author_info_biography, author_info_image, author_info_copyright_info, author_info_interview, author_pronunciation, author_info_url
                        FROM 	author_info a
                        inner join authors b on b.author_number = a.author_number
                        WHERE 	a.author_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 312

get_book_image (Datasource=bookbrowse_com_new, Time=10ms, Records=1) in /root/website/actions/udfs.cfm @ 21:14:10.010
select 	f.edition_publish_dt "hardcover_publish_dt", f.edition_jacket_image "hardcover_jacket_image", 
            g.edition_publish_dt "paperback_publish_dt", g.edition_jacket_image "paperback_jacket_image"
    
    from   	books a
	left join editions f on a.book_number = f.book_number and f.edition_paperback_flag = 0
	left join editions g on a.book_number = g.book_number and g.edition_paperback_flag = 1
                    
    where 	a.book_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 2825

get_book_image (Datasource=bookbrowse_com_new, Time=6ms, Records=1) in /root/website/actions/udfs.cfm @ 21:14:10.010
select 	f.edition_publish_dt "hardcover_publish_dt", f.edition_jacket_image "hardcover_jacket_image", 
            g.edition_publish_dt "paperback_publish_dt", g.edition_jacket_image "paperback_jacket_image"
    
    from   	books a
	left join editions f on a.book_number = f.book_number and f.edition_paperback_flag = 0
	left join editions g on a.book_number = g.book_number and g.edition_paperback_flag = 1
                    
    where 	a.book_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 4898

get_book_image (Datasource=bookbrowse_com_new, Time=10ms, Records=1) in /root/website/actions/udfs.cfm @ 21:14:10.010
select 	f.edition_publish_dt "hardcover_publish_dt", f.edition_jacket_image "hardcover_jacket_image", 
            g.edition_publish_dt "paperback_publish_dt", g.edition_jacket_image "paperback_jacket_image"
    
    from   	books a
	left join editions f on a.book_number = f.book_number and f.edition_paperback_flag = 0
	left join editions g on a.book_number = g.book_number and g.edition_paperback_flag = 1
                    
    where 	a.book_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 4021

get_book_image (Datasource=bookbrowse_com_new, Time=17ms, Records=1) in /root/website/actions/udfs.cfm @ 21:14:11.011
select 	f.edition_publish_dt "hardcover_publish_dt", f.edition_jacket_image "hardcover_jacket_image", 
            g.edition_publish_dt "paperback_publish_dt", g.edition_jacket_image "paperback_jacket_image"
    
    from   	books a
	left join editions f on a.book_number = f.book_number and f.edition_paperback_flag = 0
	left join editions g on a.book_number = g.book_number and g.edition_paperback_flag = 1
                    
    where 	a.book_number = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 2257

get_member_account_types (Datasource=bookbrowse_com_new, Time=17ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:14:11.011
select member_account_type_number, member_account_type_name, member_account_type_charge, member_account_type_charge_frequency, member_account_type_postscript, member_account_type_months, member_account_type_stripe_lookup_key
from member_account_types
where member_account_type_number = (select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 12
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
or member_account_type_number =		(select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 3
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
order by member_account_type_sort_order ASC
get_liked_by_brief_id (Datasource=bookbrowse_com_new, Time=23ms, Records=0) in /root/website/queries/qry_get_liked_by_brief_id.cfm @ 21:14:11.011
SELECT
		ep.ezine_preview_title AS book_title,
		'p' + CAST(ep.ezine_preview_number AS VARCHAR) AS book_number,
		b.book_title AS "referenced_book_title",
		CAST(b.book_number AS VARCHAR) AS "liked_book_number",
		b.book_short_summary AS "liked_short_summary",
		CASE
			WHEN datalength(e.author_middle_initial) > 0
			THEN e.author_first_name + ' ' + e.author_middle_initial + '. ' + e.author_last_name
			ELSE e.author_first_name + ' ' + e.author_last_name
		END AS "author_name",
		(select top 1 edition_publish_dt from editions where editions.book_number = b.book_number order by edition_publish_dt DESC) AS 'sortdate',
		(select count(*) from book_author_mapping m where m.author_number = d.author_number)
		+ (select count(*) from ezine_previews where ezine_preview_bb_author_link = d.author_number and ezine_preview_bb_link =0) AS 'liked_author_bookcount',
		0 AS 'is_brief'

	FROM 		liked a
	INNER JOIN	ezine_previews ep ON ep.ezine_preview_number = ?
		AND a.book_number = ep.ezine_preview_number
	INNER JOIN	books b ON b.book_number = a.liked_book_number
	INNER JOIN	book_author_mapping d ON d.book_number = b.book_number
	INNER JOIN	authors e ON e.author_number = d.author_number

	UNION

	
	SELECT
		ep.ezine_preview_title AS book_title,
		'p' + CAST(ep.ezine_preview_number AS VARCHAR) AS book_number,
		b.book_title AS "referenced_book_title",
		CAST(b.book_number AS VARCHAR) AS "liked_book_number",
		b.book_short_summary AS "liked_short_summary",
		CASE
			WHEN datalength(auth.author_middle_initial) > 0
			THEN auth.author_first_name + ' ' + auth.author_middle_initial + '. ' + auth.author_last_name
			ELSE auth.author_first_name + ' ' + auth.author_last_name
		END AS "author_name",
		(select top 1 edition_publish_dt from editions where editions.book_number = b.book_number order by edition_publish_dt DESC) AS 'sortdate',
		0 AS 'liked_author_bookcount',
		0 AS 'is_brief'

	FROM 		readalikes_cache rc
	INNER JOIN	ezine_previews ep ON ep.ezine_preview_number = ?
		AND rc.source_book_number = 'p' + CAST(ep.ezine_preview_number AS VARCHAR)
	INNER JOIN	books b ON b.book_number = rc.recommended_book_number
	INNER JOIN	book_author_mapping bam ON bam.book_number = b.book_number
	INNER JOIN	authors auth ON auth.author_number = bam.author_number

	ORDER BY 	sortdate desc, referenced_book_title
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 17048
Parameter #2(CF_SQL_INTEGER) = 17048

get_member_account_types (Datasource=bookbrowse_com_new, Time=3ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:14:11.011
select member_account_type_number, member_account_type_name, member_account_type_charge, member_account_type_charge_frequency, member_account_type_postscript, member_account_type_months, member_account_type_stripe_lookup_key
from member_account_types
where member_account_type_number = (select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 12
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
or member_account_type_number =		(select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 3
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
order by member_account_type_sort_order ASC
get_arcs_for_ad (Datasource=bookbrowse_com_new, Time=8ms, Records=0) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 21:14:11.011
SELECT 	top 10 a.arc_number,arc_promo_text,
		b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_publish_dt, 
		(select (CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,0))) AS numeric(12,0)))+
				(CASE WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 25 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 50 THEN 0.5
				 WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 50 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 75 THEN -0.5
				 ELSE 0
				 END)
 			from arc_allocator	where arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) AS arcrating

FROM arcs a
INNER JOIN ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number

WHERE arc_closed_flag = 1
AND arc_obc_flag = 0
AND getdate() >= arc_on_ad_dt
AND (select count(*) from arc_allocator d where d.arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) > 1
and getdate() <= dateadd(day,1,a.arc_off_ad_dt)

ORDER BY NEWID()
get_arcs_for_ad (Datasource=bookbrowse_com_new, Time=9ms, Records=3) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 21:14:11.011
SELECT 	top 3 a.arc_number,arc_promo_text,
			b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_publish_dt, 
			(select (CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,0))) AS numeric(12,0)))+
					(CASE WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 25 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 50 THEN 0.5
					 WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 50 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 75 THEN -0.5
					 ELSE 0
					 END)
				from arc_allocator	where arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) AS arcrating

	FROM arcs a
	INNER JOIN ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number

	WHERE arc_closed_flag = 1
	AND arc_obc_flag = 0
	AND getdate() >= arc_on_ad_dt
	AND (select count(*) from arc_allocator d where d.arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) > 1

	ORDER BY a.arc_off_ad_dt DESC
get_ads (Datasource=bookbrowse_com_new, Time=8ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:14:11.011
SELECT		a.adid,	adweight
	FROM		adsystem a
	INNER JOIN 	ad_category_mapping b ON b.adid = a.adid
	WHERE		a.section = ?
	AND			a.active  = 1
	AND 		a.start_date <= GETDATE()
	
	AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
            

	AND     (b.category_number IN (	SELECT	category_number
									FROM	category_book_mapping
									WHERE	book_number = ?)
      		OR 	b.category_number = ?)
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone6
Parameter #2(CF_SQL_VARCHAR) = 0
Parameter #3(CF_SQL_VARCHAR) = 0

get_ads (Datasource=bookbrowse_com_new, Time=5ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:14:11.011
SELECT	a.adid,	adweight
        FROM	adsystem a
        WHERE	a.section = ? 
        AND 	a.active  = 1 
        AND		a.start_date <= GETDATE()	
        
        AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
        AND (select count(*) from ad_category_mapping where datalength(category_number) >= 1 and adid = a.adid) = 0
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone6

get_type (Datasource=bookbrowse_com_new, Time=17ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:14:11.011
SELECT	a.start_date, a.adid, a.end_date, a.camp_views, a.image_name, a.alt_text, a.views, a.code, a.adsize
        FROM	adsystem a
        WHERE	a.adid = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 1112

get_quotes (Datasource=bookbrowse_com_new, Time=5ms, Records=1) in /root/website/site/blocks/dsp_book_giveaway.cfm @ 21:14:11.011
select top 1 ezine_number, ezine_quote, ezine_quote_title
	    from ezines
	    where len(ezine_quote_title) > 1
	    order by newid()
get_free_newsletters (Datasource=bookbrowse_com_new, Time=0ms, Records=4, Cached Query) in /root/website/queries/qry_get_free_newsletters.cfm @ 21:14:11.011
SELECT 	*
    FROM 	free_newsletters
get_ads (Datasource=bookbrowse_com_new, Time=5ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:14:11.011
SELECT		a.adid,	adweight
	FROM		adsystem a
	INNER JOIN 	ad_category_mapping b ON b.adid = a.adid
	WHERE		a.section = ?
	AND			a.active  = 1
	AND 		a.start_date <= GETDATE()
		 	AND a.adid NOT IN (?) 
	AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
            

	AND     (b.category_number IN (	SELECT	category_number
									FROM	category_book_mapping
									WHERE	book_number = ?)
      		OR 	b.category_number = ?)
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = showcase_track
Parameter #2(CF_SQL_INTEGER) = 1112
Parameter #3(CF_SQL_VARCHAR) = 0
Parameter #4(CF_SQL_VARCHAR) = 0

get_ads (Datasource=bookbrowse_com_new, Time=4ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:14:11.011
SELECT	a.adid,	adweight
        FROM	adsystem a
        WHERE	a.section = ? 
        AND 	a.active  = 1 
        AND		a.start_date <= GETDATE()	
        		AND a.adid NOT IN (?) 
        AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
        AND (select count(*) from ad_category_mapping where datalength(category_number) >= 1 and adid = a.adid) = 0
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = showcase_track
Parameter #2(CF_SQL_INTEGER) = 1112

get_type (Datasource=bookbrowse_com_new, Time=4ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:14:11.011
SELECT	a.start_date, a.adid, a.end_date, a.camp_views, a.image_name, a.alt_text, a.views, a.code, a.adsize
        FROM	adsystem a
        WHERE	a.adid = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 594


Scope Variables

CGI Variables:
AUTH_PASSWORD=
AUTH_TYPE=
AUTH_USER=
CERT_COOKIE=
CERT_FLAGS=
CERT_ISSUER=
CERT_KEYSIZE=
CERT_SECRETKEYSIZE=
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=
CERT_SERVER_SUBJECT=
CERT_SUBJECT=
CF_TEMPLATE_PATH=/root/website/bb_briefs/detail/index.cfm
CONTENT_LENGTH=
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=
HTTPS=
HTTPS_KEYSIZE=
HTTPS_SECRETKEYSIZE=
HTTPS_SERVER_ISSUER=
HTTPS_SERVER_SUBJECT=
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, br, zstd, deflate
HTTP_ACCEPT_LANGUAGE=
HTTP_CONNECTION=upgrade
HTTP_COOKIE=CFGLOBALS=urltoken%3DCFID%23%3D4074360%26CFTOKEN%23%3Ddc6f465a9568bb5d%2DFEDEA405%2DF531%2D7CB2%2D9137ECEE7EF5A63E%23lastvisit%3D%7Bts%20%272026%2D05%2D31%2021%3A14%3A10%27%7D%23hitcount%3D2%23timecreated%3D%7Bts%20%272026%2D05%2D31%2021%3A14%3A07%27%7D%23cftoken%3Ddc6f465a9568bb5d%2DFEDEA405%2DF531%2D7CB2%2D9137ECEE7EF5A63E%23cfid%3D4074360%23; CFCLIENT_BOOKBROWSE=order%3Dp%23member%5Fnumber%3D0%23member%5Factive%5Fflag%3D0%23member%5Flogged%5Fin%5Fflag%3D0%23library%5Fuser%5Fflag%3D0%23view%3Dbooks%23; CFTOKEN=dc6f465a9568bb5d-FEDEA405-F531-7CB2-9137ECEE7EF5A63E; CFID=4074360
HTTP_HOST=dev.bookbrowse.com
HTTP_REFERER=
HTTP_URL=
HTTP_USER_AGENT=Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
LOCAL_ADDR=127.0.0.1
PATH_INFO=/ezine_preview_number/17048/lucy-by-the-sea
PATH_TRANSLATED=/root/website/bb_briefs/detail/index.cfm
QUERY_STRING=
REMOTE_ADDR=127.0.0.1
REMOTE_HOST=127.0.0.1
REMOTE_USER=
REQUEST_METHOD=GET
SCRIPT_NAME=/bb_briefs/detail/index.cfm
SERVER_NAME=dev.bookbrowse.com
SERVER_PORT=8500
SERVER_PORT_SECURE=0
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=
WEB_SERVER_API=
Client Variables:
cfid=4074360
cftoken=dc6f465a9568bb5d-FEDEA405-F531-7CB2-9137ECEE7EF5A63E
hitcount=2
lastvisit={ts '2026-05-31 21:14:10'}
library_user_flag=0
member_active_flag=0
member_logged_in_flag=0
member_number=0
order=p
timecreated={ts '2026-05-31 21:14:07'}
urltoken=CFID=4074360&CFTOKEN=dc6f465a9568bb5d-FEDEA405-F531-7CB2-9137ECEE7EF5A63E
view=books
Cookie Variables:
CFCLIENT_BOOKBROWSE=order=p#member_number=0#member_active_flag=0#member_logged_in_flag=0#library_user_flag=0#view=books#
CFGLOBALS=urltoken=CFID#=4074360&CFTOKEN#=dc6f465a9568bb5d-FEDEA405-F531-7CB2-9137ECEE7EF5A63E#lastvisit={ts '2026-05-31 21:14:10'}#hitcount=2#timecreated={ts '2026-05-31 21:14:07'}#cftoken=dc6f465a9568bb5d-FEDEA405-F531-7CB2-9137ECEE7EF5A63E#cfid=4074360#
CFID=4074360
CFTOKEN=dc6f465a9568bb5d-FEDEA405-F531-7CB2-9137ECEE7EF5A63E
Session Variables:
cfid=4074360
cftoken=dc6f465a9568bb5d-FEDEA405-F531-7CB2-9137ECEE7EF5A63E
sessionid=BOOKBROWSE_4074360_dc6f465a9568bb5d-FEDEA405-F531-7CB2-9137ECEE7EF5A63E
urltoken=CFID=4074360&CFTOKEN=dc6f465a9568bb5d-FEDEA405-F531-7CB2-9137ECEE7EF5A63E
URL Parameters:
ezine_preview_number=17048
lucy-by-the-sea=
Debug Rendering Time: 18 ms