Book Summary and Reviews of Salvage the Bones by Jesmyn Ward

Salvage the Bones by Jesmyn Ward

Salvage the Bones

A Novel

by Jesmyn Ward

  • Critics' Consensus (11):
  • Readers' Rating (39):
  • Published:
  • Sep 2011, 272 pages
  • Rate this book

About this book

Book Summary

A hurricane is building over the Gulf of Mexico, threatening the coastal town of Bois Sauvage, Mississippi, and Esch's father is growing concerned. A hard drinker, largely absent, he doesn't show concern for much else. Esch and her three brothers are stocking food, but there isn't much to save. Lately, Esch can't keep down what food she gets; she's fifteen and pregnant. Her brother Skeetah is sneaking scraps for his prized pitbull's new litter, dying one by one in the dirt. Meanwhile, brothers Randall and Junior try to stake their claim in a family long on child's play and short on parenting.

As the twelve days that make up the novel's framework yield to their dramatic conclusion, this unforgettable family - motherless children sacrificing for one another as they can, protecting and nurturing where love is scarce - pulls itself up to face another day. A big-hearted novel, set in the lead-up to Hurricane Katrina, about familial love and community against all odds, and a wrenching look at the lonesome, brutal, and restrictive realities of rural poverty, Salvage the Bones is muscled with poetry, revelatory, and real.

Download the reading guide

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!

Book Awards

  • award image National Book Awards, 2011

Reviews

Media Reviews

"Starred Review. [A] poetic second novel … [main character] Esch traces in the minutiae of every moment of every scene of her life the thin lines between passion and violence, love and hate, life and death … her voice …[gives] its cast of small lives a huge resonance." - Publishers Weekly

"This looks both beautiful and heartbreaking and would be excellent for book clubs." - Library Journal

"Author Ward has an unfortunate tendency to overwrite, and this coming-of-age story tends at times to get lost in its style." - Booklist

"Powerful, tense, and absorbing; Jesmyn Ward develops the characters so well, and these people are survivors. The pacing is excellent—although you know the storm is coming, you are still consumed by the tension. And the writing of the storm scene is brilliant. I was in the water with them." - Louise Jones, Northshire Bookstore, Manchester Center, VT

"I started reading at seven thirty Saturday morning, thinking I'd give myself an hour to read before doing the ever-mounting list of chores around the house … Four hours later I could not put it down until I finished! Reminds me of Daniel Woodrell, Flannery O'Connor, and others. What an authentic voice and what a beautiful writer." - Dawn Braasch, Bunch of Grapes Bookstore, Vineyard Haven, MA

"It's a taut, powerful novel with characters that draw you wholly into a world that while alien to most readers is presented so compellingly that one feels a strong connection to Esch and her family's place and circumstance. Just like the hurricane that you know is coming, there is a palpable tension that moves the story forward and makes you want to hurry through, but at the same time, there are so many great sentences and turns of phrase that you feel you must slow down and savor the words on the page. I also really love the mythology references and the way they gel with the modern-day storyline." - Cody Morrison, Square Books, Oxford, Mississippi

"Jesmyn Ward is an extraordinary writer. While Salvage the Bones is not a pretty story, it is so well written and compelling that I had a hard time putting it down. Ms. Ward has a terrific ear for dialogue, and you meet characters not found in most other writing. I love Esch. She is smart and real, and her relationship with her siblings is beautifully rendered." - Korje Guttormsen, Books Inc., San Francisco, CA

"With Salvage the Bones, Jesmyn Ward has written the best sort of novel—a beautiful, important book that's both unflinching and tender, heartbreaking and triumphant. A lyrical and riveting testament to the strength of the human spirit, as well as the power of family and community. Ward's paragraphs are like songs, lifting us even as the authenticity of this world and these characters keeps the ground in clear sight. This is an extraordinary book by an extraordinary writer." - Skip Horack, author of The Southern Cross and The Eden Hunter

"Jesmyn Ward writes like an angel with a knife to your throat, compelling you with exquisite language and a clear voice to go where she goes, to see what she sees. Salvage the Bones is at turns unsettling and uplifting—raw and honest as a dogfight, lyrical as a poem. It cuts through the clichés about poverty to arrive at a place of shocking recognition: that at the end of the day love and loyalty to family are all that sustain us." - Ken Wells, author of Meely LaBauve



"A fiercely beautiful portrait of lives caught quite literally in the maelstrom that was Hurricane Katrina. Salvage the Bones more than lives up to the promise so evident in Jesmyn Ward's much-praised first novel, Where the Line Bleeds. It surpasses that promise, and does so in one deft stride. Deeply felt and bristling with breathtaking imagery, Salvage the Bones will hold its readers utterly riveted to the very last page." - Travis Holland, author of The Archivist's Story

This information about Salvage the Bones 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

Cathryn_Conroy

A Must-Read Literary Masterpiece That Is Shocking, Heartbreaking, and an Emotional Sucker Punch
This is a book that broke my heart many times over. It shocked me. It was an emotional sucker punch. And it is a literary masterpiece.

Written by Jesmyn Ward, this is the story of the Batistes, a poor Black family living in a rundown house on rundown land peppered with rundown junk in the rural Mississippi coastal town of Bois Sauvage as Hurricane Katrina looms at sea, taking direct aim on them. And while that hurricane is churning in the warm waters of the Gulf of Mexico, an emotional hurricane is churning in the lives of this family.

Each of the 12 chapters covers a single day, leading up to Katrina's landfall on day 11 of the book. The novel is written in the first-person voice of Esch, a 15-year-old girl who thinks she does only two things well: She can run really fast, and she enjoys having sex. And while Esch has allowed several of her older brothers' friends to have sex with her since she was 12, she has fallen in love with Manny, who is 19. Now only he is allowed to touch her. But Manny is cruelly using her, which becomes a real problem since Esch is pregnant with Manny's baby. She has no one to tell and no one to help her. Meanwhile, her older brother Skeetah, who has groomed his pit bull, China, as a prize-winning fighter, is doting on the dog as she has her first litter of puppies. Randall has thoughts only for basketball, while the littlest one, Junior, follows Esch and Randall everywhere. Their mother died in childbirth with Junior, and their father is an alcoholic who is obsessed with the coming hurricane. And then that hurricane blasts its wrath over the vulnerable land.

"Bois Sauvage" is a fictional town, meaning "wild wood" in French. It is indeed wild and almost savage. But the love and care that family and friends offer each other is what tames those wild woods where white neighbors shoot at them and the pit bulls viciously tear each other apart for their owners' financial benefit. It's not an easy life, and the characters grab at happiness wherever they can find it, be in a bottle of booze, sex, basketball, or a dog.

Masterfully written in prose that is so lyrical and expressive it is almost poetic, this novel is destined to become a classic read in English classes a century from now. It is a literary gift. The book has everything: a gripping, wrenching plot, authentic characters, the powerful symbolism of the intensity of mother love juxtaposed with brutal, bloody violence, and imagery so vivid you will feel the oppressive heat, the howling wind, and the sting of red ants. Also, it should win an award for the best similes; some were so beautiful they almost made me weep.

Perhaps the most brilliant part of the novel is how Ward has interwoven the ancient Greek myth of "The Golden Fleece" throughout the story. In this myth, Medea killed her two children by her husband Jason for revenge after he was unfaithful. Esch, who is reading Edith Hamilton's book "Mythology" for her summer assigned reading, identifies with Medea as she slowly accepts the fact of her pregnancy and shakes off the cloak of apathy.

Most of all, this is just a really, really good story about the brutal struggle for survival—one that grabbed my heart and wouldn't let go.

Read it while you can! This is one of the dozens of books the state of Texas wants to ban. The specific reason cited for "Salvage the Bones" is the explicit descriptions of 15-year-old Esch having sex. Meanwhile, those defending the book insist it has important literary value and therefore is not obscene.

Claire M. (New York, NY)

Salvage the Bones
This is so well written that I even got through most of the dog fight. Narrated by a young girl, Esch, who describes her daily life in a swamp in Louisiana as Katrina comes closer and finally bears down on the poorest of the poor, it is a heartbreaking story but one that also shows the inner strength of our forgotten neighbors. Comparing herself to Medea in the way her own life unfolds, Esch lives out the treachery of living in poverty and the choices that are made. Metaphor, simile, and the gloriously descriptive use of language lead me to believe Jesmyn Ward will be telling stories for a long time.

Tricia L. (Auburn, WA)

Heartwrenching poverty and suffering in a powerful tale.
Wow. This book put me right there watching the run-up and aftermath of Katrina. It is so eye-opening and yet I feel like there is hope for us all because of these brave characters. Great read.

Mary B. (Roswell, GA)

Beautiful and Heartbreaking Story
Salvage the Bones is the story of a family on the Gulf coast readying for Hurricane Katrina. The family is poor, black, motherless yet they work together to prepare for the hurricane, all of them doing the best they can.

The main character is a young teenage girl, named Esch, who is struggling to accept a pregnancy while longing for a confidante or some kind of help for her seemingly impossible situation. She is smitten with the baby's father, but he doesn't love her. The story of Medea is interwoven into the narrative. Will the girl betray her family for her lover or remain faithful to her father and brothers?

The character of the father is fascinating. He is the only one who really understands the severity of the oncoming storm and although he works as hard as possible to protect his family and their home, tearing apart outbuildings and raiding wood from an abandoned house, he ends up being unable to do much for the family during the actual storm, serving as an example of the younger generation coming of age.

One of the sons, Skeetah, has a white pit bull dog named China, who has a litter of puppies in the story. Skeetah nurtures her as if she were a lover, and a dangerous one at that. I had a hard time with the cruelty and violence of the dog fighting scenes, but the author does a good job of putting them into context of the narrative and letting you understand the motivations of members of the dog fighting culture.

Overall, it is a story of a family's loyalty to each other in the face of a dangerous natural disaster. They manage to cope in the only ways that they can and in the end discover who in their community they can really trust.

I would recommend this book to readers who like more serious and literary reading. This is not light beach book.

Judi S. (Boyes Hot Springs, CA)

Salvage the Bones
Salvage the Bones blew through my life much like Hurricane Katrina roared through Bois Sauvage, Mississippi, and the lives of the Batiste family.
The day to day details of life for pregnant 14 year old Esch and her brothers are often brutal and difficult to read, but Ward's gorgeous writing and her ability to help us see through Esch's eyes and love with her heart make it worth the discomfort.
I adore a strong character-driven book and Savage the Bones is bursting with heroes! This would be a fantastic choice for a book group. Savage the Bones shines a light on one of America's greatest tragedies and gives a voice to some of it's most invisible inhabitants.

Kelly P. (Monterey, TN)

A captivating tale
I thoroughly enjoyed this book. The setting and the language immerse the reader in the life of a poor Mississippi family in the days leading up to Hurricane Katrina. While Hurricane Katrina lurks in the background it is not the focal point of the novel. Instead the plot revolves around the characters and how their own decisions, and the decisions of their loved ones, impacts their lives. The writing style is reminiscent of other Southern authors such as William Gay, Larry Brown and Tom Franklin which is high praise in my opinion.

...15 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

Jesmyn Ward Author Biography

Photo: Beowulf Sheehan

Jesmyn Ward received her MFA from the University of Michigan and has received the MacArthur Genius Grant, a Stegner Fellowship, a John and Renee Grisham Writers Residency, the Strauss Living Prize, and the 2022 Library of Congress Prize for American Fiction. She is the historic winner—first woman and first Black American—of two National Book Awards for Fiction for Sing, Unburied, Sing (2017) and Salvage the Bones (2011). She is also the author of the novel Where the Line Bleeds and the memoir Men We Reaped, which was a finalist for the National Book Critics Circle Award and won the Chicago Tribune Heartland Prize and the Media for a Just Society Award. She is currently a professor of creative writing at Tulane University and lives in Mississippi.

... Full Biography

Name Pronunciation
Jesmyn Ward: JEZ-min

Other books by Jesmyn Ward at BookBrowse
  • Sing, Unburied, Sing jacket
  • Let Us Descend jacket
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...

Polite conversation is rarely either.

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 10:41 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
1780267304703 ms 1.7802673047E+012 ms 1 /root/website/app_server.cfm
952 ms 952 ms 1 /root/website/bb_briefs/detail/index.cfm
245 ms 245 ms 1 /root/website/bb_briefs/detail/dsp_main.cfm
159 ms 159 ms 1 /root/website/queries/qry_get_discussion_by_id.cfm
159 ms 159 ms 1 /root/website/queries/qry_get_reader_reviews_by_preview_number.cfm
147 ms 147 ms 1 /root/website/queries/qry_get_briefs_reader_rating.cfm
97 ms 97 ms 1 /root/website/app_globals.cfm
67 ms 67 ms 1 /root/website/app_layout.cfm
64 ms 16 ms 4 /root/website/adsystem/adsystem_mod.cfm
42 ms 42 ms 1 /root/website/site/blocks/layout/dsp_right_column.cfm
28 ms 28 ms 1 /root/website/queries/qry_get_active_obc.cfm
27 ms 27 ms 1 /root/website/queries/qry_get_preview_by_id.cfm
20 ms 20 ms 1 /root/website/adzones/AdZone6.cfm
19 ms 19 ms 1 /root/website/queries/qry_get_books_by_briefs_category.cfm
16 ms 16 ms 1 /root/website/adzones/AdZone11.cfm
16 ms 16 ms 1 /root/website/site/blocks/layout/dsp_footer.cfm
15 ms 15 ms 1 /root/website/adzones/AdZone3.cfm
14 ms 14 ms 1 /root/website/act_check_login.cfm
14 ms 14 ms 1 /root/website/actions/adstatus.cfm
14 ms 14 ms 1 /root/website/adzones/showcase_track.cfm
14 ms 14 ms 1 /root/website/queries/qry_get_preview_awards_by_id.cfm
13 ms 13 ms 1 /root/website/queries/qry_get_current_competition.cfm
13 ms 13 ms 1 /root/website/queries/qry_get_member_info.cfm
13 ms 3 ms 4 /root/website/site/blocks/membership_advantages.cfm
12 ms 2 ms 5 /root/website/actions/act_spider_tracker.cfm
12 ms 12 ms 1 /root/website/site/blocks/dsp_border_first_impressions.cfm
11 ms 11 ms 1 /root/website/queries/qry_get_arcs_for_ad.cfm
11 ms 3 ms 4 /root/website/queries/qry_get_member_account_types.cfm
6 ms 6 ms 1 /root/website/queries/qry_get_author_bookcount.cfm
6 ms 6 ms 1 /root/website/queries/qry_get_current_wordplay.cfm
6 ms 6 ms 1 /root/website/queries/qry_get_obc_number.cfm
5 ms 5 ms 1 /root/website/site/blocks/dsp_book_giveaway.cfm
4 ms 4 ms 1 /root/website/queries/qry_get_free_newsletters.cfm
4 ms 4 ms 1 /root/website/queries/qry_get_liked_by_brief_id.cfm
4 ms 4 ms 1 /root/website/site/blocks/layout/dsp_bottom_block.cfm
2 ms 2 ms 1 /root/website/site/blocks/layout/dsp_header.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_current_ezine.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_previous_arcs_for_ad.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
1 ms 1 ms 1 /root/website/site/blocks/layout/main_menu.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/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/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_search.cfm
7 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
959 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

spidercheck (Datasource=bookbrowse_com_new, Time=10ms, Records=1) in /root/website/actions/act_spider_tracker.cfm @ 22:41:44.044
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=13ms, Records=0) in /root/website/queries/qry_get_member_info.cfm @ 22:41:44.044
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=12ms, Records=2) in /root/website/actions/adstatus.cfm @ 22:41:44.044
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 @ 22:41:44.044
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=5ms, Records=1) in /root/website/queries/qry_get_current_wordplay.cfm @ 22:41:44.044
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=9ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 22:41:44.044
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=4ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 22:41:44.044
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 @ 22:41:44.044
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 @ 22:41:44.044
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=7ms, Records=1) in /root/website/queries/qry_get_active_obc.cfm @ 22:41:44.044
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=13ms, Records=4) in /root/website/queries/qry_get_active_obc.cfm @ 22:41:44.044
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=14ms, Records=1) in /root/website/queries/qry_get_preview_by_id.cfm @ 22:41:44.044
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) = 6406

get_author_name (Datasource=bookbrowse_com_new, Time=12ms, Records=1) in /root/website/queries/qry_get_preview_by_id.cfm @ 22:41:44.044
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) = 2976

get_preview_awards_by_id (Datasource=bookbrowse_com_new, Time=13ms, Records=1) in /root/website/queries/qry_get_preview_awards_by_id.cfm @ 22:41:44.044
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) = 6406

get_briefs_reader_rating (Datasource=bookbrowse_com_new, Time=146ms, Records=1) in /root/website/queries/qry_get_briefs_reader_rating.cfm @ 22:41:44.044
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) = 6406
Parameter #2(CF_SQL_INTEGER) = 6406

get_reader_reviews_by_preview_number (Datasource=bookbrowse_com_new, Time=159ms, Records=21) in /root/website/queries/qry_get_reader_reviews_by_preview_number.cfm @ 22:41:45.045
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) = 6406

get_arc_idfk (Datasource=bookbrowse_com_new, Time=18ms, Records=0) in /root/website/queries/qry_get_discussion_by_id.cfm @ 22:41:45.045
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) = 6406

get_arc_idfk_legacy (Datasource=bookbrowse_com_new, Time=11ms, Records=0) in /root/website/queries/qry_get_discussion_by_id.cfm @ 22:41:45.045
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) = 6406

obc_discussions (Datasource=booktalk_new, Time=91ms, Records=0) in /root/website/queries/qry_get_discussion_by_id.cfm @ 22:41:45.045
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) =

searchResults (Datasource=bookbrowse_com_new, Time=37ms, Records=0) in /root/website/queries/qry_get_discussion_by_id.cfm @ 22:41:45.045
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) = p6406

ya_check (Datasource=bookbrowse_com_new, Time=4ms, Records=0) in /root/website/queries/qry_get_books_by_briefs_category.cfm @ 22:41:45.045
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) = 6406

get_books_by_brief (Datasource=bookbrowse_com_new, Time=13ms, Records=20) in /root/website/queries/qry_get_books_by_briefs_category.cfm @ 22:41:45.045
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) = 6406

get_author_bookcount (Datasource=bookbrowse_com_new, Time=5ms, Records=4) in /root/website/queries/qry_get_author_bookcount.cfm @ 22:41:45.045
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) = 2976
Parameter #2(CF_SQL_INTEGER) = 2976

get_obc_number (Datasource=bookbrowse_com_new, Time=4ms, Records=1) in /root/website/queries/qry_get_obc_number.cfm @ 22:41:45.045
select a.arc_forumidfk
    from arcs a
    
    	where a.ezine_preview_number = ?
Query Parameter Value(s) -
Parameter #1(cf_sql_numeric) = 6406.0

existingResults (Datasource=bookbrowse_com_new, Time=34ms, Records=1) in /root/website/actions/udfs.cfm @ 22:41:45.045
SELECT id, last_updated
        FROM DiscourseSearchResults
        WHERE book_number = ?
        ORDER BY last_updated DESC
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = p6406

(Datasource=bookbrowse_com_new, Time=56ms, Records=1) in /root/website/actions/udfs.cfm @ 22:41:45.045
DELETE FROM DiscourseSearchResults
                WHERE book_number = ?
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = p6406

(Datasource=bookbrowse_com_new, Time=15ms, Records=1) in /root/website/actions/udfs.cfm @ 22:41:45.045
INSERT INTO DiscourseSearchResults (book_number, post_id, topic_id, blurb, last_updated)
                    VALUES (
                        ?,
                        NULL,
                        NULL,
                        ?,
                        GETDATE()
                    )
Query Parameter Value(s) -
Parameter #1(cf_sql_varchar) = p6406
Parameter #2(cf_sql_nvarchar) = No results found

get_ads (Datasource=bookbrowse_com_new, Time=9ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 22:41:45.045
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=3ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 22:41:45.045
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=2ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 22:41:45.045
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 @ 22:41:45.045
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=4ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 22:41:45.045
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=7ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 22:41:45.045
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 @ 22:41:45.045
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) = 2976

get_book_image (Datasource=bookbrowse_com_new, Time=6ms, Records=1) in /root/website/actions/udfs.cfm @ 22:41:45.045
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) = 3640

get_jacket_info (Datasource=bookbrowse_com_new, Time=7ms, Records=1) in /root/website/bb_briefs/detail/dsp_main.cfm @ 22:41:45.045
SELECT ezine_preview_jacket_image
                                    FROM ezine_previews
                                    WHERE ezine_preview_number =?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 8646

get_book_image (Datasource=bookbrowse_com_new, Time=1ms, Records=1) in /root/website/actions/udfs.cfm @ 22:41:45.045
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) = 4708

get_member_account_types (Datasource=bookbrowse_com_new, Time=1ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 22:41:45.045
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=4ms, Records=0) in /root/website/queries/qry_get_liked_by_brief_id.cfm @ 22:41:45.045
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) = 6406
Parameter #2(CF_SQL_INTEGER) = 6406

get_member_account_types (Datasource=bookbrowse_com_new, Time=2ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 22:41:45.045
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=5ms, Records=0) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 22:41:45.045
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=5ms, Records=3) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 22:41:45.045
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 @ 22:41:45.045
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=3ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 22:41:45.045
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=6ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 22:41:45.045
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 @ 22:41:45.045
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=4ms, Records=4) in /root/website/queries/qry_get_free_newsletters.cfm @ 22:41:45.045
SELECT 	*
    FROM 	free_newsletters
get_ads (Datasource=bookbrowse_com_new, Time=2ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 22:41:45.045
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=3ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 22:41:45.045
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=3ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 22:41:45.045
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=CFID=4075967; CFTOKEN=ecebbd880afe71ea-01FF1153-BA03-3E16-102BBDD5E5D05064; CFCLIENT_BOOKBROWSE=order%3Dp%23member%5Fnumber%3D0%23member%5Factive%5Fflag%3D0%23member%5Flogged%5Fin%5Fflag%3D0%23library%5Fuser%5Fflag%3D0%23view%3Dbooks%23; CFGLOBALS=urltoken%3DCFID%23%3D4075967%26CFTOKEN%23%3Decebbd880afe71ea%2D01FF1153%2DBA03%2D3E16%2D102BBDD5E5D05064%23lastvisit%3D%7Bts%20%272026%2D05%2D31%2022%3A41%3A44%27%7D%23hitcount%3D45%23timecreated%3D%7Bts%20%272026%2D05%2D31%2022%3A41%3A33%27%7D%23cftoken%3Decebbd880afe71ea%2D01FF1153%2DBA03%2D3E16%2D102BBDD5E5D05064%23cfid%3D4075967%23
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/6406/salvage-the-bones
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=4075967
cftoken=ecebbd880afe71ea-01FF1153-BA03-3E16-102BBDD5E5D05064
hitcount=53
lastvisit={ts '2026-05-31 22:41:45'}
library_user_flag=0
member_active_flag=0
member_logged_in_flag=0
member_number=0
order=p
timecreated={ts '2026-05-31 22:41:33'}
urltoken=CFID=4075967&CFTOKEN=ecebbd880afe71ea-01FF1153-BA03-3E16-102BBDD5E5D05064
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#=4075967&CFTOKEN#=ecebbd880afe71ea-01FF1153-BA03-3E16-102BBDD5E5D05064#lastvisit={ts '2026-05-31 22:41:44'}#hitcount=45#timecreated={ts '2026-05-31 22:41:33'}#cftoken=ecebbd880afe71ea-01FF1153-BA03-3E16-102BBDD5E5D05064#cfid=4075967#
CFID=4075967
CFTOKEN=ecebbd880afe71ea-01FF1153-BA03-3E16-102BBDD5E5D05064
Session Variables:
cfid=4075967
cftoken=ecebbd880afe71ea-01FF1153-BA03-3E16-102BBDD5E5D05064
sessionid=BOOKBROWSE_4075967_ecebbd880afe71ea-01FF1153-BA03-3E16-102BBDD5E5D05064
urltoken=CFID=4075967&CFTOKEN=ecebbd880afe71ea-01FF1153-BA03-3E16-102BBDD5E5D05064
URL Parameters:
ezine_preview_number=6406
salvage-the-bones=
Debug Rendering Time: 19 ms