Book Summary and Reviews of Babylonia by Costanza Casati

Babylonia by Costanza Casati

Babylonia

A Novel

by Costanza Casati

  • Critics' Consensus (9):
  • Readers' Rating (12):
  • Published:
  • Jan 2025, 448 pages
  • Rate this book

About this book

Book Summary

From the author of the bestselling Clytemnestra comes another intoxicating excursion into ancient history, painting the brutal and captivating empire of gods and men, and the one queen destined to rule them all.

A common woman. The governor she married. The king who loved them both.

Babylonia across the centuries has become the embodiment of lust, excess, and dissolute power that ruled Ancient Assyria. In this world you had to kill to be king. Or, in the case of Semiramis, an orphan raised on the outskirts of an empire: 

Queen.

Nothing about Semiramis's upbringing could have foretold her legacy. But when she meets a young representative of the new Assyrian king, a prophecy unfolds before her, one that puts her in the center of a brutal world and in the hearts of two men - one who happens to be king.

Now a risen lady in a court of vipers, Semiramis becomes caught in the politics and viciousness of ancient Assyria. Instead of bartering with fate, Semiramis trains in war and diplomacy. And with each move, she rises in rank, embroiled in a game of power, desire, love, and betrayal, until she can ascend to the only position that will ever keep her safe.

In her second novel, Costanza Casati brilliantly weaves myth and ancient history together to give Semiramis, the only female ruler of the Assyrian Empire, a voice, charting her captivating ascent to a throne no one promised her.

Please be aware that this discussion guide will contain spoilers!
These are original discussion questions written for BookBrowse

  1. At the beginning of Babylonia, Semiramis tries to rescue the area's governor (for a fee). She fails, and the man is impaled in the center of her village. When the square is empty, she approaches the body and carefully cleans the blood from its face. Why do you suppose she takes this action? How do you think this scene set the stage for the rest of the novel?
  2. Semiramis's successes are minimized from childhood. She's called a witch and a whore, manipulative and power-hungry, among other things. Are there any characters, in your opinion, who truly see her accomplishments? Why do you believe women's contributions have generally been undervalued throughout history? Has this changed...
Please be aware that this discussion may contain spoilers!

See what our members are saying about this book in our Community Forum.

Ninus quotes his father: “A woman’s love and a man’s duty…There comes a point in our lives when every one of us must choose. And there is only one right choice to make.” Which characters choose love over duty? Do they make the right choice?
I think the best example of someone choosing love over duty is Ribat choosing to avenge his mother over the duty to take care of his king and his duty to uphold his promise to Semiramis. He put his love for his mother above all else, even his love / devotion to Semiramis and his own life, as she ...
-Carina_M


Ribat believes that “The gods bestow different gifts on different people.” What gifts do you think Semiramis, Ninus and Onnes possess? What gifts do you think you have?
What @Patricia_Williams wrote is the same conclusion I came to. We all have positive attributes and attributes we struggle with, yet we all have equal worth. In this country, which is all I have experienced, we tend to elevate athletes, performers, and other celebrities to hero status. Yet, if lo...
-Lana_Maskus


Semiramis tries to rescue the area’s governor, but the man is impaled. When the square is empty, she cleans the blood from the body. Why do you suppose she takes this action? How do you think this scene set the stage for the rest of the novel?
For me it demonstrated that although she lived a brutal time she still had a moral core. She could not do anything to prevent his death or ease his suffering, but she could help him through his death.
-Lana_Maskus


What audience would you recommend Babylonia to? Is there another book or author you feel has a similar theme or style?
I think I answered this question in my answer to what I thought of Babylonia overall.
-Lana_Maskus


Ninus thinks, “Desire is a strange thing. What makes us want one person over another?” Do you think Onnes, Ninus and Semiramis exhibit desire, and if so, what do you think makes them want one person over another? How would you answer his question?
If I could answer this question I could make millions.
-Lana_Maskus


Semiramis’s successes are minimized from childhood. Are there any characters who truly see her accomplishments? Why do you believe women’s contributions have generally been undervalued throughout history? Has this changed over time, in your opinion?
Women, especially common women, were seen as baby bearers and subservient to men in ancient times. This was reinforced in Judeo-Christian doctrine. I think when women had to come out of their homes to work the farms, in factories in order to maintain economies while men fought in wars, their soci...
-Lana_Maskus


Semiramis asks Ribat, “What do you do when you want something you know you can’t have?” He says he thinks of the consequences that will ensue. What did you think of this advice? Why do you suppose it didn’t help Semiramis? What advice would you give her?
I thought Ribat's advice was excellent. But Semiramis' emotional makeup was such that she couldn't follow it. Desire for power was her overriding personality trait.
-Lana_Maskus


Onnes, Ninus & Semiramis play “truth or dare” and ask what each fears; Onnes responds “madness,” while Semiramis replies “helplessness.” How were their characters illuminated by their answers, and how did this play out in the rest of the novel?
I agree with @Linda_Monaco . Both Semiramis were fearful of what they experienced in childhood
-Lana_Maskus


Sasi tells Semiramis that he believes she loved Onnes, “But do you think that in our world, love can ever be a strength?” How would you answer him? Do any of the characters truly experience love, in your opinion?
True love of one's fellow human beings, no matter how despicable they are, if they are not known to you, if they have wronged you is probably the most difficult, but purest love there is behind, if you are a Christian, love of God.
-Lana_Maskus


While Babylonia is based on ancient histories very little is truly known about Semiramis’s life and reign. What do you think of the way the author filled in the gaps, and how she depicted her heroine and those around her?
Because so little is known about Semiramis, this gave author to flesh her out into just about way the author saw fit without compromising fact.
-Lana_Maskus


In an exchange between Semiramis and Nisat, Nisat states she finds that “the less people have been given in life, the more eager they are to prove themselves.” Does Nisat’s statement hold true? Which characters are trying to prove themselves and to whom?
Yes and no. I know individuals for whom adversity in their childhood drove them to achieve their dreams and sometimes to be overachievers. And I know individuals whose childhoods were something they could not rise above even with the support of others. In Babylonia, there several who strove might...
-Lana_Maskus


The author writes, “Can we grasp the instant when our fate turns? Or can we understand it only later, once the moment grows into a memory?” What do you think? Do you have a moment when your fate turned, and did you know it at the time?
@Sonya_M Your "story" and mine are almost parallel. Was it fate or was it simply decisions I had based on where I was in life at the time and/or the information I had on which to base those decisions? I'm inclined to think for me, it was the latter. But that is not to say that it couldn't be fate...
-Lana_Maskus


Did anyone find it puzzling that there was never a return to Semiramis' village?
I didn't find it puzzling. She left a place where she was treated poorly and lived in a palace. Why go back?
-Vicky_S


Which minor character intrigued you the most, and why?
I enjoyed Sasi - he was funny and I wasn't quite sure where his loyalties were at times.
-Vicky_S


Had you heard of Semiramis before reading Babylonia? What did you learn about the time period from the novel?
I knew nothing of Semiramis before reading this book. This depiction certainly showed the places and time to be dangerous and difficult. I also learned about the governmental structure of the area.
-Vicky_S


Nisat tells Ninus, “People usually believe that wisdom and knowledge can be learned...It is strength that can be learned. One has understanding or one doesn’t.” What do you think she means by this statement? Do you agree with her assessment?
Indeed, Kim! Which is why I appreciate these historical novels that reveal how much power and influence women wielded behind the thrones, because it's a fact that many women used the power available to them in their spheres to influence the men around them. Would we call that "soft power" in poli...
-Peggy_Kurkowski


When questioned, Sasi says he believes that fate “always leads us where we are meant to be.” What do you think of this statement? Do you agree? How much control do the characters have over their fates?
To say that fate leads us to where we are meant to be implies that we have no control over our fates. This is, to me, the same as the Christian doctrine of predestination promoted by some theologians; i.e. that God foreordains all that will happen, including the salvation of some and not others. ...
-Lana_Maskus


Semiramis tells Sasi that an ally’s greatest quality is loyalty, but he disagrees, saying it’s honesty instead. What did you think of his reply? With which character would you agree and why?
Definitely agree with Sasi, and definitely do not agree with Semiramis, especially given the current political partisanship in our country. When politicians demand unwavering loyalty over truth and threaten and take revenge against those who speak and act with honesty, our democracy is in dire st...
-Lana_Maskus


Overall, what did you think of Babylonia? (no spoilers, please!)
I really liked parts of it, but would have preferred less gore and violent details. I will really have to think about how I'd rate this one.
-Rebecca_R


What were Semiramis true feelings for Onnes and Ninus? I was left wondering were there true feelings or just lust? As I questioned if she truly loved anyone
You know, Semiramis was very young when she met Onnes. She probably did fall for not only his ability to rescue her, but his strength and certainty as well. (Reminds me of my first marriage, LOL.)
-kim.kovacs


If you read the author’s previous novel, Clytemnestra, how did the two compare?
I have not read Clytemnestra, but will be doing so. The only comparable book to Babylonia that I have read is Ariadne by Jennifer Saint. I did find Babylonia to be a more engaging story. Perhaps that is because Semiramis was a "warrior" who did not allow others to manipulate her, but instead cont...
-Lana_Maskus


Is there a quote or scene in Babylonia that stood out for you? Why do you suppose it resonated?
Laura, Great quote. I do think desire is fascinating. Not just for relationships, but for physical things. In my opinion, there seems to be greater appreciation if the attainment is delayed or there was an effort in obtaining in the desire.
-Dee_Driscole


About the Babylonia by Costanza Casati Discussion category
Please join us in our book club discussion of Babylonia by Costanza Casati.
-nick


What are your reading this week? (12-12-2024)
I finished Babylonia, by Costanza Casati yesterday for the upcoming BookBrowse discussion. I thought it was much stronger than her previous book, Clytemnestra , and I'm looking forward to having a chance to talk about it with others. Next up is Let's Call Her Barbie, also for a BookBrowse discuss...
-kim.kovacs


Which authors should we interview?
I just finished Babylonia for the BookBrowse discussion (it was excellent, BTW). I'd love to hear more from the author, Costanza Casati, for starters, how she stumbled on this historical figure & what made her want to write about her.
-kim.kovacs

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

"Casati chronicles the ruthless rise of Assyrian queen Semiramis in this masterful saga...No matter how much cruelty Semiramis dispenses, Casati never loses sight of what drives her heroine to achieve a status where she need not obey anyone else. Admirers of Robert Graves's Claudius novels will be riveted." ―Publishers Weekly (starred review)

"Casati renders the ancient world Semiramis inhabits in vivid detail, bringing in the perspective of a slave in her household, and together, the pair illustrates the influence even the most unlikely actors can have on history. Casati's compelling second outing portraying the Assyrian empire's only queen is another triumph." ―Booklist

"Mesmerizingly intricate…Captivating and historically insightful...A resonant page turner." ―BookPage

"There is an entrancing quality to Costanza Casati's writing that transports us to other worlds and past times, then holds us there―willingly enmeshed in story―until the final page is turned. Reading Babylonia is like reading an enchantment on the page, in which the unfathomable heroines of legend and history become living people, who suffer, bleed, dare, and love; they carve out their space in our hearts, and in our shared humanity." ―Annie Garthwaite, author of Cecily

"A stirring, addictive and intoxicating tale with a deft weaving of myth and history. Emotionally rich and lyrically genius, Babylonia cements Costanza Casati as one of the most skilled and exciting writers of historical fiction, bringing an incomparable vibrance to the genre. An incredible novel." ―Bea Fitzgerald, bestselling author of Girl, Goddess, Queen

"Babylonia was, in short, a vicious delight. With the resplendent prose that truly distinguishes her work, Casati plunges us into an untapped age of antiquity. In doing so, she also draws us into a world of intrigue, beauty, and necessary ruthlessness in the name of power. Readers will revel in the tale of the enigmatic Semiramis from its first page to its last. This is a story richly rendered and utterly captivating." ―Ayana Gray, New York Times bestselling author

This information about Babylonia 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

Maureen_Connolly

Captivating
This is a beautifully written story of Semiramis, a motherless child who becomes Queen of the Assyrian Empire. Semiramis becomes an orphan, when her mother takes her own life. She is adopted by a shepherd, Simmas, but is mistreated. Eventually Semiramis grows into a young woman and decides to leave the village, before she is forced into marriage.

Semiramis meets Onnes and finds a way for a better life. Onnes is the illegitimate half brother of King Ninus .She quickly marries Onnes. Semiramis convinces Onnes to train her as a warrior. This is unheard of, but she must fight for what she wants.
The writing of this book was breathtaking, with vivid descriptions of time and place.
I was transported to another world.

The characters were well developed. I loved Semiramis love hate relationships with Onnes and King Ninus. There was love, loyalty and betrayal. This book was intriguingly woven with facts and myths. It is a captivating read you won’t be able to put down, Don’t miss it.

Trisha_T

slow burn of a beautifully written story
"Remember glory and danger often taste the same. All they leave behind is bitterness."

This one starts with a slow burn as you learn who Semiramis is, where she starts, and how learns some of her first rules in life. I knew noting of this story so this was nice, for me, to slowly intro the world, the people, and the ideas. But as she meets Onnes and arrives in her kingdom, the story really gets move. The different perspectives and points of view were so well done - it really showed the moves and manipulations that happen in court and how easily Semiramis was at playing their games.

The battles, abuse, and deaths at times were brutal. The time in the war was particularly hard to read, as was their trauma when they got home. But the story was compelling, it was hard to put the book down after the first part. The themes of love, betrayal, the rise to power and what it means to hold on to it were compelling and thought provoking. It was really beautifully written, parts felt lyrical and lovely. I loved it!

A huge thank you to the author and publisher for providing an e-ARC via Netgalley. This does not affect my opinion regarding the book.

Labmom55

Excellent world building
With Babylonia, Costanza Casati has once again conjured to life an ancient queen and the empire she ruled, Assyria. She’s taken the bare bones of history and myth and fleshed them out. Semiramis was an orphan living in an outpost of the kingdom, raised by a shepherd. She attracts the attention of Onnes, a general and half-brother to the king and marries him. Through sheer force of will, intelligence and bravery, she rises to the ultimate seat of power.

Casati excels at world making. I felt I got a real sense of historical Assyria in 9th Century BC. It’s a graphic story, and not just the battle scenes. The story focuses on Semiramis, Onnes and the king, Ninus. All three main characters are fascinating. Complex, by turns ruthless and caring. Their relationships to each other kept shape shifting, which kept me engrossed. Even the secondary characters were well defined and I liked how Casati mixes historical figures with fictional ones.

I listened to this and Ayesha Antoine’s voice had the perfect tone, almost majestic in her telling. My thanks to Netgalley and RBMedia for an advance copy of this audiobook.

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

Costanza Casati Author Biography

Arianna Genghini

Costanza Casati was born in Texas and grew up in a village in Northern Italy, where she studied Ancient Greek, and Ancient Greek literature, under one of the country's most rigorous academic programmes. She is a graduate of the prestigious Warwick Writing MA in the UK, and has worked as a screenwriter and journalist. Her debut novel, Clytemnestra, was a Saturday Times bestseller and shortlisted for the HWA Debut Crown Award. Babylonia, set in the fierce world of the Assyrian Empire, is her second novel.

Author Interview

Name Pronunciation
Costanza Casati: koh-STAN-zuh kuh-ZAH-tee

Other books by Costanza Casati at BookBrowse
  • Clytemnestra 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...

Outside of a dog, a book is man's best friend. Inside of a dog it's too dark to read.

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:26 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
1780262815649 ms 1.78026281565E+012 ms 1 /root/website/app_server.cfm
1111 ms 1111 ms 1 /root/website/bb_briefs/detail/index.cfm
357 ms 357 ms 1 /root/website/bb_briefs/detail/dsp_main.cfm
252 ms 252 ms 1 /root/website/queries/qry_get_discussion_by_id.cfm
246 ms 62 ms 4 /root/website/adsystem/adsystem_mod.cfm
213 ms 213 ms 1 /root/website/app_layout.cfm
151 ms 151 ms 1 /root/website/site/blocks/layout/dsp_right_column.cfm
138 ms 138 ms 1 /root/website/app_globals.cfm
96 ms 96 ms 1 /root/website/adzones/AdZone3.cfm
69 ms 69 ms 1 /root/website/queries/qry_get_briefs_reader_rating.cfm
69 ms 69 ms 1 /root/website/site/blocks/dsp_border_first_impressions.cfm
68 ms 68 ms 1 /root/website/queries/qry_get_arcs_for_ad.cfm
54 ms 54 ms 1 /root/website/site/blocks/layout/dsp_footer.cfm
53 ms 53 ms 1 /root/website/adzones/AdZone6.cfm
53 ms 53 ms 1 /root/website/adzones/showcase_track.cfm
53 ms 53 ms 1 /root/website/queries/qry_get_active_obc.cfm
47 ms 47 ms 1 /root/website/adzones/AdZone11.cfm
44 ms 11 ms 4 /root/website/site/blocks/membership_advantages.cfm
41 ms 10 ms 4 /root/website/queries/qry_get_member_account_types.cfm
33 ms 33 ms 1 /root/website/queries/qry_get_reader_reviews_by_preview_number.cfm
30 ms 30 ms 1 /root/website/queries/qry_get_current_competition.cfm
27 ms 27 ms 1 /root/website/site/blocks/dsp_book_giveaway.cfm
25 ms 25 ms 1 /root/website/queries/qry_get_preview_by_id.cfm
17 ms 17 ms 1 /root/website/actions/adstatus.cfm
11 ms 11 ms 1 /root/website/queries/qry_get_liked_by_brief_id.cfm
9 ms 2 ms 5 /root/website/actions/act_spider_tracker.cfm
8 ms 8 ms 1 /root/website/queries/qry_get_books_by_briefs_category.cfm
7 ms 7 ms 1 /root/website/queries/qry_get_current_wordplay.cfm
6 ms 6 ms 1 /root/website/act_check_login.cfm
6 ms 6 ms 1 /root/website/queries/qry_get_member_info.cfm
3 ms 3 ms 1 /root/website/queries/qry_get_obc_number.cfm
3 ms 3 ms 1 /root/website/queries/qry_get_preview_awards_by_id.cfm
2 ms 2 ms 1 /root/website/queries/qry_get_author_bookcount.cfm
2 ms 2 ms 1 /root/website/site/blocks/layout/dsp_header.cfm
1 ms 1 ms 1 /root/website/Application.cfm
1 ms 1 ms 1 /root/website/act_libraryIPLogin.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_current_ezine.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_free_newsletters.cfm
1 ms 1 ms 1 /root/website/site/blocks/dsp_top_brief_block.cfm
1 ms 1 ms 1 /root/website/site/blocks/dsp_wordplay.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/dsp_bottom_block.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/main_menu.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_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/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/head.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
0 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
1112 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

spidercheck (Datasource=bookbrowse_com_new, Time=7ms, Records=1) in /root/website/actions/act_spider_tracker.cfm @ 21:26:55.055
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=5ms, Records=0) in /root/website/queries/qry_get_member_info.cfm @ 21:26:55.055
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=16ms, Records=2) in /root/website/actions/adstatus.cfm @ 21:26:55.055
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:26:55.055
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=6ms, Records=1) in /root/website/queries/qry_get_current_wordplay.cfm @ 21:26:55.055
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=25ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 21:26:55.055
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 @ 21:26:55.055
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:26:55.055
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=15ms, Records=0) in /root/website/queries/qry_get_active_obc.cfm @ 21:26:55.055
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=8ms, Records=1) in /root/website/queries/qry_get_active_obc.cfm @ 21:26:55.055
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=28ms, Records=4) in /root/website/queries/qry_get_active_obc.cfm @ 21:26:55.055
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=17ms, Records=1) in /root/website/queries/qry_get_preview_by_id.cfm @ 21:26:55.055
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) = 19815

get_author_name (Datasource=bookbrowse_com_new, Time=7ms, Records=1) in /root/website/queries/qry_get_preview_by_id.cfm @ 21:26:55.055
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) = 3731

get_preview_awards_by_id (Datasource=bookbrowse_com_new, Time=3ms, Records=0) in /root/website/queries/qry_get_preview_awards_by_id.cfm @ 21:26:55.055
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) = 19815

get_briefs_reader_rating (Datasource=bookbrowse_com_new, Time=69ms, Records=1) in /root/website/queries/qry_get_briefs_reader_rating.cfm @ 21:26:55.055
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) = 19815
Parameter #2(CF_SQL_INTEGER) = 19815

get_reader_reviews_by_preview_number (Datasource=bookbrowse_com_new, Time=33ms, Records=3) in /root/website/queries/qry_get_reader_reviews_by_preview_number.cfm @ 21:26:55.055
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) = 19815

get_arc_idfk (Datasource=bookbrowse_com_new, Time=16ms, Records=1) in /root/website/queries/qry_get_discussion_by_id.cfm @ 21:26:55.055
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) = 19815

get_arc_idfk_legacy (Datasource=bookbrowse_com_new, Time=15ms, Records=0) in /root/website/queries/qry_get_discussion_by_id.cfm @ 21:26:55.055
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) = 19815

obc_discussions (Datasource=booktalk_new, Time=168ms, Records=0) in /root/website/queries/qry_get_discussion_by_id.cfm @ 21:26:56.056
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=50ms, Records=25) in /root/website/queries/qry_get_discussion_by_id.cfm @ 21:26:56.056
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) = p19815

ya_check (Datasource=bookbrowse_com_new, Time=4ms, Records=0) in /root/website/queries/qry_get_books_by_briefs_category.cfm @ 21:26:56.056
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) = 19815

get_books_by_brief (Datasource=bookbrowse_com_new, Time=3ms, Records=20) in /root/website/queries/qry_get_books_by_briefs_category.cfm @ 21:26:56.056
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) = 19815

get_author_bookcount (Datasource=bookbrowse_com_new, Time=1ms, Records=2) in /root/website/queries/qry_get_author_bookcount.cfm @ 21:26:56.056
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) = 3731
Parameter #2(CF_SQL_INTEGER) = 3731

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

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

get_ads (Datasource=bookbrowse_com_new, Time=87ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:26:56.056
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=5ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:26:56.056
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=14ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:26:56.056
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=8ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:26:56.056
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=19ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:26:56.056
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=25ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:26:56.056
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=33ms, Records=1) in /root/website/bb_briefs/detail/dsp_main.cfm @ 21:26:56.056
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) = 3731

get_book_image (Datasource=bookbrowse_com_new, Time=25ms, Records=1) in /root/website/actions/udfs.cfm @ 21:26:56.056
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) = 4615

get_member_account_types (Datasource=bookbrowse_com_new, Time=11ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:26:56.056
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=10ms, Records=0) in /root/website/queries/qry_get_liked_by_brief_id.cfm @ 21:26:56.056
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) = 19815
Parameter #2(CF_SQL_INTEGER) = 19815

get_member_account_types (Datasource=bookbrowse_com_new, Time=5ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:26:56.056
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=21ms, Records=0) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 21:26:56.056
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=45ms, Records=3) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 21:26:56.056
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=16ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:26:56.056
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=19ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:26:56.056
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=13ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:26:56.056
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=26ms, Records=1) in /root/website/site/blocks/dsp_book_giveaway.cfm @ 21:26:56.056
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:26:56.056
SELECT 	*
    FROM 	free_newsletters
get_ads (Datasource=bookbrowse_com_new, Time=17ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:26:56.056
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=15ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:26:56.056
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=17ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:26:56.056
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=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%3D4074626%26CFTOKEN%23%3Daf0195644112df7c%2DFF50D6E1%2D9CF2%2D29D2%2D157EE73EB20DDF0D%23lastvisit%3D%7Bts%20%272026%2D05%2D31%2021%3A26%3A55%27%7D%23hitcount%3D109%23timecreated%3D%7Bts%20%272026%2D05%2D31%2021%3A26%3A36%27%7D%23cftoken%3Daf0195644112df7c%2DFF50D6E1%2D9CF2%2D29D2%2D157EE73EB20DDF0D%23cfid%3D4074626%23; CFID=4074626; FREEACCESSCOUNT=0; CFTOKEN=af0195644112df7c-FF50D6E1-9CF2-29D2-157EE73EB20DDF0D
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/19815/babylonia
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=4074626
cftoken=af0195644112df7c-FF50D6E1-9CF2-29D2-157EE73EB20DDF0D
hitcount=115
lastvisit={ts '2026-05-31 21:26:56'}
library_user_flag=0
member_active_flag=0
member_logged_in_flag=0
member_number=0
order=p
timecreated={ts '2026-05-31 21:26:36'}
urltoken=CFID=4074626&CFTOKEN=af0195644112df7c-FF50D6E1-9CF2-29D2-157EE73EB20DDF0D
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#=4074626&CFTOKEN#=af0195644112df7c-FF50D6E1-9CF2-29D2-157EE73EB20DDF0D#lastvisit={ts '2026-05-31 21:26:55'}#hitcount=109#timecreated={ts '2026-05-31 21:26:36'}#cftoken=af0195644112df7c-FF50D6E1-9CF2-29D2-157EE73EB20DDF0D#cfid=4074626#
CFID=4074626
CFTOKEN=af0195644112df7c-FF50D6E1-9CF2-29D2-157EE73EB20DDF0D
FREEACCESSCOUNT=0
Session Variables:
cfid=4074626
cftoken=af0195644112df7c-FF50D6E1-9CF2-29D2-157EE73EB20DDF0D
sessionid=BOOKBROWSE_4074626_af0195644112df7c-FF50D6E1-9CF2-29D2-157EE73EB20DDF0D
urltoken=CFID=4074626&CFTOKEN=af0195644112df7c-FF50D6E1-9CF2-29D2-157EE73EB20DDF0D
URL Parameters:
babylonia=
ezine_preview_number=19815
Debug Rendering Time: 14 ms