Michael Gregorio Interview, plus links to author biography, book summaries, excerpts and reviews

Michael Gregorio
Photo: Jeffrey Isaac

Michael Gregorio

An interview with Michael Gregorio

Donna Chavez chats with the husband and wife writing team of Michael G Jacob and Daniela De Gregorio, coauthors of the Hanno Stiffeniis series about the third book in the series, A Visible Darkness, the dangerous business of amber collection and the next book in the series. Also, in a separate piece the authors explain the story behind the series.

As I read A Visible Darkness I was fascinated by the act of collecting amber. Michael and Daniela were kind enough to answer my questions plus give a bonus teaser about the next Hanno Stiffeniis novel already in the works!

There is, it seems, a rich history surrounding Baltic amber. How much did you know about the amber trade before embarking on your novel? How did you research this?

We were looking for an original setting for the third story in the series, and the Baltic coast seemed the ideal place, given that amber has been collected on the shore for many centuries. It was a dangerous job. You could be swept off your feet, drowned or maimed. We were fascinated by the bravery and the desperation of young girls working in the sea, searching for precious amber deposits, sometimes stealing what they found, often being murdered for it. There was plenty of scope for a novel based on the world of amber.

We knew very little when we started, but it's surprising what you can discover. We read books from the seventeenth and eighteenth centuries, notably "Succini Prussici" by Phillip Jacob Hartmann, and the ancient laws which governed the gathering of amber in Prussia, and the punishments for stealing it. There were no milestones on the Baltic shore, but there was a gallows every mile!

The social history of amber was equally interesting. It had been sold in ancient times as "Baltic gold" to the Romans and the Greeks, yet it had enduring phallic and religious implications. In the early nineteenth century, many Prussians believed that Prussia was the original Garden of Eden, and amber "insertions" (these creatures from a lost world) provided "visual proof" of the fact. In this period, "natural philosophers" (a.k.a. scientists) such as Linnaeus and Lamarque were working on pre-Darwinian theories of evolution, and they regarded amber as vital evidence of the changes which animals and vegetables undergo in the course of many aeons. And yet, at the time our novel takes place, Biblical calculation suggested that the Earth was no more than ten thousand years old!


You did have Herr Stiffeniis speculate that it was predominantly young women who harvested the amber because the pay was too low for men. Is that so or were there other reasons these dangerous jobs were better suited to or attracted young women?

By the early 1800s it had become traditional for women to gather amber from the sea, working with nets and long-handled digging tools. Men worked there too, but we decided to make it an exclusive province of women for dramatic purposes. The women in our book are preyed upon by just about everyone: the French soldiers, the Prussian amber traders, jewelers and thieves. But it is the women who survive, and thrive on the Baltic coast. We portray them as a tribe of Nordic Amazons. At the same time, questions of pay and the availability of young working men (most of whom were in the army, or had been invalided out of it) make it likely that women did most of the work. Men in the Napoleonic age were too busy fighting for or against the Emperor.


Les Halles' machine seemed to attain a certain proficiency. Is amber still being harvested today? Do they use machines?

Les Halles and his steam pumps are our invention. However, this was an age of rapid industrial development, and the primitive amber industry was as subject to innovation as any other form of production. We were interested in highlighting the differences of attitude between the "traditional" Prussians, and the "modern" Frenchmen, not only in terms of amber gathering, but in everything. Before the Prussians could free themselves of French oppression, they underwent a mental revolution, a sort of spiritual rebirth.

The Prussians learned the lesson of industrialization, too. Indeed, more amber is mined today than it was in the past. The important word is "mined." In the nineteenth century it was "gathered" by hand from the sea. The amber-girls agitated the sea-bed with rakes, and netted the amber which floated to the surface. Now, it is done by mechanical means. Amber is still beautiful, still valuable, but it is a lot less magical!


Stiffeniis appears to be gathering a widespread following. Will there be a book four?

We have a world rights contract with Faber & Faber (St Martins Press have the USA rights), so we are in the middle of writing book 4 at the moment. Without giving too much away, we can say that magistrate Hanno Stiffeniis is investigating a number of brutal murders in his home town, Lotingen, while Serge Lavedrine, the French officer who appeared in Days of Atonement, is back in town by popular request! Lavedrine was warmly received by critics and readers. In the new book, he is working on a parallel case in a nearby town. Together, and with a little help from Hanno's wife, Helena, they should get to the bottom of the mystery surrounding a femme fatale, the mysterious and bewitching Emma Rimmele, who is accused of being a…

Hang on, maybe we'd better finish it first!


The Story Behind the Story: "A Visible Darkness," by Michael Gregorio

From The Rap Sheet

What is the secret of Hamlet?

While it may seem presumptuous to open with such a question, it is probably wise to start with one of the greatest literary works of all time, because all published works of the imagination have a lot of things in common, regardless of the skill of the individual writer.

To put it another way: why does Hamlet continue to sell?

We believe that there any number of reasons, but two or three are essential if we want to talk about publishing in the real world. For the writer of today, the marketplace is made up of airport outlets, high-street book­shops, and online booksellers, while feedback comes from blogs and news­paper reviews. Although things were clearly different in William Shakespeare's day, Hamlet was a revenge tragedy, a popular potboiler, not a poetic work written in a moment of soul-searching by an author staring intensely at his navel, though it turned out to be both poetic and soul-searching (and intense navel-staring does have its attractions). The play was written for the public stage in the East End of early 17th-century London, and was seen by an audience which may, or may not, have been intellectually equipped to comprehend (a little, some, or all of ) it. Many people--the critics, let's call them--would have thrown rotten eggs and been totally puzzled!

At the same time, Shakespeare had hit on a story which was bound to fascinate a lot of people: Did my (beloved) mother and (cynical) uncle really dare to poison my (adored) father, the king, in oh-so-distant Denmark; and, if so, what should I (prince, and rightful heir) do about it? Very few people had ever been to Elsinore, so the "exotic" setting was perfect, and it was neutral--cold battlements frequented by ghosts, a graveyard in the night, people concealing themselves behind curtains, a play-within-the-play. And how many people in the audience had felt like stabbing a hated uncle, or punishing the mother who had made them?

To the contemporary reader, Hamlet seems to anticipate the work of Sigmund Freud and dig deep into the complexity of human thoughts and motivations. This "modern" aspect of Hamlet is a blatant Leavisite fraud, however; women have always been amazingly complex--from Eve to Madonna--and blokes have never been slow to follow them down the dark and slippery slope, as Raymond Chandler, et al. have endlessly demonstrated in a million pulp novels.

So, how does all of this act as an introduction to A Visible Darkness?

Well, in the first instance, you have to remember that when Daniela and I began to write about Prussian magistrate Hanno Stiffeniis--it must be almost 10 years ago--we had no idea (but very high hopes) that we would be able to sell the first novel in what would, eventually, become a series. Books 2, 3, and 4 did not exist in any shape or form back then. Like William Shakespeare and everyone else, we were a one-book author when our revered agent, Leslie Gardner, sold Critique of Criminal Reason in the States to St. Martin's Press, and the world rights in England to Faber and Faber. Suddenly we had a contract, and we were not slow to realize the implications: it was a contract for two books. At that point, and for the first time ever, we were faced with what can seem like a huge problem: where do we find another original story?

Well, it's worth remembering Shakespeare once more. When he needed an idea he turned to Plutarch, ancient Rome, the English chronicles, or any other source that happened to be available (and little known). Who knew or cared about Romeo and Juliet before the Bard put pen to paper?

So, we sat down and began to concoct a new Hanno Stiffeniis investigation set in early 19th-century Prussia.

To be honest, we went to the volcanic Mediterranean island of Ischia and lay beside a swimming pool for a week, extended to 10 days, while we tried to decide where Hanno Stiffeniis would go next, and what he would do when he got there. We had an "exotic" setting: Prussia. We had a little-known historical "context": the Napoleonic invasion of Prussia in 1806. We had our "criminal investigator" (in the sense that Hanno Stiffeniis is not all sweetness and light, and that he has a guilty back story). So, what might happen when Emperor Napoleon attempts to impose French laws and French rationality on the hidebound Prussian homeland of the Brothers Grimm and Hanno Stiffeniis?

The result of the blazing sun, blue sea, and good food in Ischia was Days of Atonement (2007), which is set in the coldest, darkest, poorest winter in living memory. Hanno begins to investigate a child massacre in his hometown, Lotingen, which takes him to the remote Prussian fortress of Kamenetz, and eventually to Bialystok in Poland, where he encounters the possible killer of the children in an asylum for the insane where Mesmeric medicine is used to cure all ills (obviously, this is the brief plot summary).

Now, for the bitter truth ...

Lotingen is an invention, of course, as is Kamenetz, and as for Bialystok, well! Mesmerism was a historical fact, and therefore it came in useful. We were on the road to telling lies professionally!
Having done so twice with relative success, our publisher wanted more, and a contract for two more books came out of it. A Visible Darkness is the third in the series, and we are working on Book 4 at the moment. [editor's note: Book 4, Unholy Awakening, was published in 2010]

The fact is that telling the story does become easier, and for a number of reasons.

By now, we know Hanno Stiffeniis quite well. We drew him first as a young, inexperienced magistrate, ex-student of the Prussian philosopher, Immanuel Kant, in the year 1804. He goes to Königsberg at the behest of Kant, solves a mystery, and watches Kant on his death bed. Many critics thought we had made a mistake by "killing off" our hero in Book 1, but the truth is that Immanuel Kant was never the hero. Hanno Stiffeniis is our protagonist, a man torn between Rational certainty and the gathering darkness of Romanticism. In the second novel, Days of Atonement, his philosophical mentor is no more than a distant memory, and Prussia has been crushed by Napoleon and the French invasion. Hanno is thrown into a state of intense conflict between his own desires for revenge on the foreign occupiers, and his duty as a Prussian magistrate who must work alongside the French invaders.

For that second book, we created a brilliant French investigator, a flamboyant and creative "detective" who would taunt and challenge Hanno Stiffeniis. Serge Lavedrine was so successful--at least in the eyes of our editors, Walter Donohue at Faber, and Peter Joseph at St. Martin's--that they both wanted him to appear again in our third novel, A Visible Darkness. But we had a different story to write this time, and Monsieur Lavedrine did not figure in it. We promised the editors, however, that we would bring him back in Book 4, and we are doing just that at the present time.

So, what was/is the story contained in A Visible Darkness, the book we had to write?

Well, the first thing to say is that--having denied our editors' wishes regarding the second appearance of Lavedrine--we were very nervous about sending in the finished manuscript of A Visible Darkness.

Would our editors, Donohue and Joseph, like it? Would they sit back patiently and wait for Book 4 before their hero finally reappeared?

Donohue wrote back at once: "It's the best thing you've ever done," he said. Joseph sent a note which was just as enthusiastic. Indeed, he used the word "fantastic" six or seven times in as many lines!

Had we written our own Hamlet?

Well, of course, we hadn't, but we had written our own Book 3, having learnt the lesson from Shakespeare, and just about everyone else. Book 1 takes place in Königsberg in February 1804; the story in Book 2 is set in remote East Prussia during the autumn of 1808; Book 3 takes place on the Baltic coast in summer, 1809; the action in Book 4 moves to the spring of 1810.

So, we changed the season, we changed the location, we changed the nature of the crime, we sent Hanno off into the heart of the French camp, and this time, he has no one to back him up. Kant is dead, Lavedrine is in Italy, his wife, Helena, is at home expecting another child (the family has been growing book by book), and Hanno, though now slightly older and more experienced, is still lost when faced with a serious crime. He is not a detective in any modern sense, but a small-town magistrate who usually handles crimes involving, say, the accidental crushing of a hen beneath a cart wheel, or the theft of a dozen eggs. On this occasion, Hanno is sent to the Baltic coast, where the naked, mutilated body of a young woman has been found lying on the shore. The area is rich in valuable amber, so-called "Baltic gold," and the French have taken over the lucrative trade ...

Circumstances throw Hanno Stiffeniis into the arena without a sword, and he finds himself up against insuperable opponents. Will he survive? Will he solve the crime and be able to go home to his wife and family in Lotingen?

Remember Book 4!

It takes place one year after A Visible Darkness ends ...


2009 by Michael Gregorio, first published at The Rap Sheet. Reprinted with permission of St Martin's Press

Unless otherwise stated, this interview was conducted at the time the book was first published, and is reproduced with permission of the publisher. This interview may not be reproduced or reprinted without permission in writing from the copyright holder.

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!

Books by this Author

Books by Michael Gregorio at BookBrowse
Unholy Awakening jacket A Visible Darkness jacket Days of Atonement jacket Critique of Criminal Reason 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

All the books below are recommended as read-alikes for Michael Gregorio but some maybe more relevant to you than others depending on which books by the author you have read and enjoyed. So look for the suggested read-alikes by title linked on the right.
How we choose readalikes

  • Boris Akunin

    Boris Akunin

    Boris Akunin is the pen name of Grigory Chkhartishvili, who was born in the Republic of Georgia in 1956. A philologist, critic, essayist, and translator of Japanese, Akunin published his first detective stories in 1998 and ... (more)

    If you enjoyed:
    A Visible Darkness

    Try:
    The Winter Queen
    by Boris Akunin

  • Louis Bayard

    Louis Bayard

    Louis Bayard is the critically acclaimed bestselling author of nine historical novels, including Jackie & Me and The Pale Blue Eye, which was adapted into the global #1 Netflix release starring Christian Bale. His articles, ... (more)

    If you enjoyed:
    A Visible Darkness

    Try:
    The Black Tower
    by Louis Bayard

We recommend 7 similar authors

View all 7 Read-Alikes

Non-members can see 2 results. Become a member
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...

Flaming enthusiasm, backed up by horse sense and persistence, is the quality that most frequently makes for ...

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 /author_interviews/full/index.cfm
Time Stamp 01-Jun-26 06:43 AM
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
1780296211132 ms 1.78029621113E+012 ms 1 /root/website/app_server.cfm
582 ms 582 ms 1 /root/website/author_interviews/full/index.cfm
249 ms 249 ms 1 /root/website/app_layout.cfm
178 ms 59 ms 3 /root/website/adsystem/adsystem_mod.cfm
162 ms 162 ms 1 /root/website/author_interviews/full/dsp_main.cfm
112 ms 112 ms 1 /root/website/site/blocks/layout/dsp_footer.cfm
101 ms 101 ms 1 /root/website/site/blocks/layout/dsp_right_column.cfm
99 ms 99 ms 1 /root/website/app_globals.cfm
96 ms 96 ms 1 /root/website/adzones/showcase_track.cfm
55 ms 28 ms 2 /root/website/queries/qry_get_books_by_author_id.cfm
43 ms 43 ms 1 /root/website/adzones/AdZone2.cfm
40 ms 40 ms 1 /root/website/adzones/AdZone6.cfm
38 ms 38 ms 1 /root/website/queries/qry_get_author_readalikes_by_id.cfm
34 ms 34 ms 1 /root/website/site/blocks/dsp_border_first_impressions.cfm
33 ms 33 ms 1 /root/website/queries/qry_get_arcs_for_ad.cfm
28 ms 28 ms 1 /root/website/queries/qry_get_current_competition.cfm
26 ms 9 ms 3 /root/website/site/blocks/membership_advantages.cfm
25 ms 8 ms 3 /root/website/queries/qry_get_member_account_types.cfm
24 ms 24 ms 1 /root/website/queries/qry_get_active_obc.cfm
19 ms 19 ms 1 /root/website/queries/qry_get_books_by_author_id_lite.cfm
19 ms 19 ms 1 /root/website/site/blocks/dsp_book_giveaway.cfm
16 ms 16 ms 1 /root/website/act_check_login.cfm
15 ms 15 ms 1 /root/website/queries/qry_get_member_info.cfm
14 ms 14 ms 1 /root/website/site/blocks/layout/dsp_header.cfm
9 ms 9 ms 1 /root/website/actions/adstatus.cfm
8 ms 8 ms 1 /root/website/queries/qry_get_bb_briefs_by_author.cfm
8 ms 8 ms 1 /root/website/queries/qry_get_current_wordplay.cfm
7 ms 2 ms 4 /root/website/actions/act_spider_tracker.cfm
6 ms 6 ms 1 /root/website/queries/qry_get_all_books_by_author_id.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/queries/qry_get_previous_arcs_for_ad.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/head.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/main_menu.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/main_search.cfm
0 ms 0 ms 1 /root/website/Application.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/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_top_author_block.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
27 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
609 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

spidercheck (Datasource=bookbrowse_com_new, Time=5ms, Records=1) in /root/website/actions/act_spider_tracker.cfm @ 06:43:31.031
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=15ms, Records=0) in /root/website/queries/qry_get_member_info.cfm @ 06:43:31.031
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=8ms, Records=2) in /root/website/actions/adstatus.cfm @ 06:43:31.031
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 @ 06:43:31.031
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=8ms, Records=1) in /root/website/queries/qry_get_current_wordplay.cfm @ 06:43:31.031
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=8ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 06:43:31.031
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=19ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 06:43:31.031
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 @ 06:43:31.031
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=12ms, Records=0) in /root/website/queries/qry_get_active_obc.cfm @ 06:43:31.031
SELECT 		a.arc_forumidfk, a.discourse_flag, a.arc_promo_text, arc_on_ad_dt,
				b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_jacket_desc, b.ezine_preview_publisher, ezine_preview_publish_dt, ezine_preview_number_of_pages, ezine_preview_isbn, ezine_preview_short_summary,
	            b.ezine_preview_bb_author_link, ezine_preview_bb_link
	
	FROM 		arcs a
	INNER JOIN 	ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
	
	WHERE 		arc_obc_flag = 1

	AND 		getdate() < arc_on_ad_dt
	
		ORDER BY  	NEWID()
get_active_obc (Datasource=bookbrowse_com_new, Time=6ms, Records=1) in /root/website/queries/qry_get_active_obc.cfm @ 06:43:31.031
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=5ms, Records=4) in /root/website/queries/qry_get_active_obc.cfm @ 06:43:31.031
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_books_by_author_id (Datasource=bookbrowse_com_new, Time=11ms, Records=1) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 06:43:31.031
select	a.book_number, a.book_title, a.book_sub_title, book_short_summary,
				(CASE WHEN f.edition_publish_dt < g.edition_publish_dt OR g.edition_publish_dt IS NULL THEN f.edition_publish_dt
                      ELSE g.edition_publish_dt 
                      END) "publish_dt"
		
        from 	books a
		inner join book_author_mapping e ON e.book_number = a.book_number
        inner join authors d ON d.author_number = e.author_number
        left outer join editions f ON a.book_number = f.book_number and f.edition_paperback_flag = 0 
   		left outer join editions g ON a.book_number = g.book_number and g.edition_paperback_flag = 1 
		
       	where 	d.author_number = ?
        and 	a.book_number IN (	select	distinct b.book_number 
        							from	categories a, category_book_mapping b 
                                    where 	a.category_number = b.category_number 
                                    and 	a.category_active_flag = 1)

		order by publish_dt DESC
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 1694

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=8ms, Records=1) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 06:43:31.031
select	d.author_number, d.author_first_name, d.author_middle_initial, d.author_last_name, d.author_pronunciation,
				i.author_info_number, i.author_number, i.author_info_image, i.author_info_entry_dt,
                i.author_info_url, i.author_info_interview_summary, i.author_info_interview, i.author_info_biography, i.author_info_copyright_info
                		
        from 	authors d, author_info i
		
        where 	d.author_number = ?
        and 	d.author_number = i.author_number
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 1694

get_all_books_by_author_id (Datasource=bookbrowse_com_new, Time=5ms, Records=4) in /root/website/queries/qry_get_all_books_by_author_id.cfm @ 06:43:31.031
select	a.book_number, 
        		'' AS ezine_preview_number,
                a.book_title, 
                a.book_sub_title, 
				(CASE WHEN f.edition_publish_dt < g.edition_publish_dt OR g.edition_publish_dt IS NULL THEN f.edition_publish_dt
                      ELSE g.edition_publish_dt 
                      END) "publish_dt",
                '' as "jacket"
		
        from 	books a
		inner join book_author_mapping e ON e.book_number = a.book_number
        inner join authors d ON d.author_number = e.author_number
		left outer join editions f ON a.book_number = f.book_number and f.edition_paperback_flag = 0
		left outer join editions g ON a.book_number = g.book_number and g.edition_paperback_flag = 1
		
        where 	d.author_number = ?
        and 	a.book_number IN (	select	distinct b.book_number 
        							from	categories a, category_book_mapping b 
                                    where 	a.category_number = b.category_number 
                                    and 	a.category_active_flag = 1)        
        UNION

		select	'' AS book_number,
        		ezine_preview_number, 
				ezine_preview_title AS "book_title", 
				ezine_preview_subtitle AS "book_sub_title",
                ezine_preview_publish_dt AS "publish_dt",
                ezine_preview_jacket_image as "jacket"
		
        from 	ezine_previews
		
        where 	ezine_preview_bb_author_link = ?
        and		ezine_preview_bb_link < 1
        
        order by publish_dt DESC
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 1694
Parameter #2(CF_SQL_INTEGER) = 1694

get_bb_briefs_by_author (Datasource=bookbrowse_com_new, Time=7ms, Records=3) in /root/website/queries/qry_get_bb_briefs_by_author.cfm @ 06:43:31.031
select	ezine_preview_number, 
				ezine_preview_title, 
				ezine_preview_subtitle,
                ezine_preview_publish_dt ,
                ezine_preview_jacket_image
		
        from 	ezine_previews
		
        where 	ezine_preview_bb_author_link = ?
        and		(ezine_preview_bb_link IS NULL
				 or ezine_preview_bb_link < 1)
        and		ezine_number > 0
        
		order by ezine_preview_publish_dt DESC
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 1694

get_author_readalikes_by_id (Datasource=bookbrowse_com_new, Time=37ms, Records=7) in /root/website/queries/qry_get_author_readalikes_by_id.cfm @ 06:43:31.031
SELECT		a.author_number,
			CASE	WHEN datalength(a.author_middle_initial) > 0 
					THEN a.author_first_name + ' ' + a.author_middle_initial + ' ' + a.author_last_name
					ELSE a.author_first_name + ' ' + a.author_last_name
					END AS "author_full_name",
			b.book_number, 
			f.book_title as "book",

			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 "liked_author_full_name",
			e.author_number as "liked_author_number", 
			g.book_title as "liked_book",
			c.liked_book_number as "liked_book_number" 

FROM		authors a
INNER JOIN	book_author_mapping b ON b.author_number = a.author_number
INNER JOIN	liked c ON c.book_number = b.book_number
INNER JOIN	book_author_mapping d ON d.book_number = c.liked_book_number
INNER JOIN	authors e ON e.author_number = d.author_number
INNER JOIN	books f on f.book_number = b.book_number
INNER JOIN	books g on g.book_number = c.liked_book_number

WHERE		a.author_number = ?

ORDER BY 	e.author_last_name, e.author_first_name
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 1694

get_ads (Datasource=bookbrowse_com_new, Time=31ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 06:43:31.031
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) = adzone2
Parameter #2(CF_SQL_VARCHAR) = 0
Parameter #3(CF_SQL_VARCHAR) = 0

get_ads (Datasource=bookbrowse_com_new, Time=2ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 06:43:31.031
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) = adzone2

get_member_account_types (Datasource=bookbrowse_com_new, Time=7ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 06:43:31.031
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_book_image (Datasource=bookbrowse_com_new, Time=16ms, Records=1) in /root/website/actions/udfs.cfm @ 06:43:31.031
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) = 2253

get_member_account_types (Datasource=bookbrowse_com_new, Time=4ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 06:43:31.031
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_books_by_author_id (Datasource=bookbrowse_com_new, Time=28ms, Records=2) in /root/website/queries/qry_get_books_by_author_id.cfm @ 06:43:31.031
select	a.book_number, 
				a.book_title, 
				(CASE WHEN UPPER(LEFT(a.book_title, 2)) = 'A ' THEN SUBSTRING(a.book_title, 3, len(a.book_title) - 2) WHEN UPPER(LEFT(a.book_title, 3)) = 'AN ' THEN SUBSTRING(a.book_title, 4, len(a.book_title) - 3) WHEN UPPER(LEFT(a.book_title, 4)) = 'THE ' THEN SUBSTRING(a.book_title, 5, len(a.book_title) - 4) ELSE a.book_title END) "sort_book_title", 
				a.book_sub_title, 
				a.book_entry_dt, 
				a.book_short_summary, 
				a.book_jacket_info, 
                a.book_excerpt, 
                a.book_reading_guide,
				d.author_number, d.author_first_name, d.author_middle_initial, d.author_last_name, 
				f.edition_publish_dt "hardcover_publish_dt", f.edition_number_of_pages "hardcover_number_of_pages", f.edition_isbn "hardcover_isbn", f.edition_isbn13 "hardcover_isbn13",f.edition_jacket_image "hardcover_jacket_image",
				g.edition_publish_dt "paperback_publish_dt", g.edition_number_of_pages "paperback_number_of_pages", g.edition_isbn "paperback_isbn", g.edition_isbn13 "paperback_isbn13",g.edition_jacket_image "paperback_jacket_image",
				i.author_info_biography, i.author_info_interview, i.author_info_image, i.author_info_url,
                (select count(c.book_number) as "author_bookcount" from book_author_mapping c where c.author_number = ?) + (select count(e.ezine_preview_number) as "author_bookcount" from ezine_previews e where e.ezine_preview_bb_author_link = ?) as "authorbookcount"
                
		    from books a
            inner join book_author_mapping e ON a.book_number = e.book_number
            inner join authors d ON e.author_number = d.author_number
            inner join author_info i ON d.author_number = i.author_number
            left outer join editions f ON a.book_number = f.book_number and f.edition_paperback_flag = 0
            left outer join editions g ON a.book_number = g.book_number and g.edition_paperback_flag = 1
                        
            where e.author_number = ?
            and a.book_number IN (select distinct b.book_number from categories a, category_book_mapping b where a.category_number = b.category_number and a.category_active_flag = 1)
			
            order by sort_book_title
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 888
Parameter #2(CF_SQL_INTEGER) = 888
Parameter #3(CF_SQL_INTEGER) = 888

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=2ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 06:43:31.031
select	d.author_number, d.author_first_name, d.author_middle_initial, d.author_last_name, d.author_pronunciation,
                CASE	WHEN datalength(d.author_middle_initial) > 0 
                        THEN d.author_first_name + ' ' + d.author_middle_initial + ' ' + d.author_last_name
                        ELSE d.author_first_name + ' ' + d.author_last_name
                        END AS "author_full_name",
				i.author_info_number, i.author_number, i.author_info_image, i.author_info_entry_dt,
                i.author_info_url, i.author_info_interview_summary, i.author_info_interview, i.author_info_biography, i.author_info_copyright_info
                		
        from 	authors d, author_info i
		
        where 	d.author_number = ?
        and 	d.author_number = i.author_number
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 888

get_books_by_author_id (Datasource=bookbrowse_com_new, Time=19ms, Records=3) in /root/website/queries/qry_get_books_by_author_id.cfm @ 06:43:31.031
select	a.book_number, 
				a.book_title, 
				(CASE WHEN UPPER(LEFT(a.book_title, 2)) = 'A ' THEN SUBSTRING(a.book_title, 3, len(a.book_title) - 2) WHEN UPPER(LEFT(a.book_title, 3)) = 'AN ' THEN SUBSTRING(a.book_title, 4, len(a.book_title) - 3) WHEN UPPER(LEFT(a.book_title, 4)) = 'THE ' THEN SUBSTRING(a.book_title, 5, len(a.book_title) - 4) ELSE a.book_title END) "sort_book_title", 
				a.book_sub_title, 
				a.book_entry_dt, 
				a.book_short_summary, 
				a.book_jacket_info, 
                a.book_excerpt, 
                a.book_reading_guide,
				d.author_number, d.author_first_name, d.author_middle_initial, d.author_last_name, 
				f.edition_publish_dt "hardcover_publish_dt", f.edition_number_of_pages "hardcover_number_of_pages", f.edition_isbn "hardcover_isbn", f.edition_isbn13 "hardcover_isbn13",f.edition_jacket_image "hardcover_jacket_image",
				g.edition_publish_dt "paperback_publish_dt", g.edition_number_of_pages "paperback_number_of_pages", g.edition_isbn "paperback_isbn", g.edition_isbn13 "paperback_isbn13",g.edition_jacket_image "paperback_jacket_image",
				i.author_info_biography, i.author_info_interview, i.author_info_image, i.author_info_url,
                (select count(c.book_number) as "author_bookcount" from book_author_mapping c where c.author_number = ?) + (select count(e.ezine_preview_number) as "author_bookcount" from ezine_previews e where e.ezine_preview_bb_author_link = ?) as "authorbookcount"
                
		    from books a
            inner join book_author_mapping e ON a.book_number = e.book_number
            inner join authors d ON e.author_number = d.author_number
            inner join author_info i ON d.author_number = i.author_number
            left outer join editions f ON a.book_number = f.book_number and f.edition_paperback_flag = 0
            left outer join editions g ON a.book_number = g.book_number and g.edition_paperback_flag = 1
                        
            where e.author_number = ?
            and a.book_number IN (select distinct b.book_number from categories a, category_book_mapping b where a.category_number = b.category_number and a.category_active_flag = 1)
			
            order by sort_book_title
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 1605
Parameter #2(CF_SQL_INTEGER) = 1605
Parameter #3(CF_SQL_INTEGER) = 1605

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=3ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 06:43:31.031
select	d.author_number, d.author_first_name, d.author_middle_initial, d.author_last_name, d.author_pronunciation,
                CASE	WHEN datalength(d.author_middle_initial) > 0 
                        THEN d.author_first_name + ' ' + d.author_middle_initial + ' ' + d.author_last_name
                        ELSE d.author_first_name + ' ' + d.author_last_name
                        END AS "author_full_name",
				i.author_info_number, i.author_number, i.author_info_image, i.author_info_entry_dt,
                i.author_info_url, i.author_info_interview_summary, i.author_info_interview, i.author_info_biography, i.author_info_copyright_info
                		
        from 	authors d, author_info i
		
        where 	d.author_number = ?
        and 	d.author_number = i.author_number
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 1605

get_member_account_types (Datasource=bookbrowse_com_new, Time=12ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 06:43:31.031
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=16ms, Records=0) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 06:43:31.031
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=8ms, Records=3) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 06:43:31.031
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=27ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 06:43:31.031
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=2ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 06:43:31.031
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=3ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 06:43:31.031
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=18ms, Records=1) in /root/website/site/blocks/dsp_book_giveaway.cfm @ 06:43:31.031
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 @ 06:43:31.031
SELECT 	*
    FROM 	free_newsletters
get_ads (Datasource=bookbrowse_com_new, Time=23ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 06:43:31.031
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=25ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 06:43:31.031
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=11ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 06:43:31.031
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/author_interviews/full/index.cfm
CONTENT_LENGTH=
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=
HTTPS=
HTTPS_KEYSIZE=
HTTPS_SECRETKEYSIZE=
HTTPS_SERVER_ISSUER=
HTTPS_SERVER_SUBJECT=
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, br, zstd, deflate
HTTP_ACCEPT_LANGUAGE=
HTTP_CONNECTION=upgrade
HTTP_COOKIE=CFGLOBALS=urltoken%3DCFID%23%3D4090677%26CFTOKEN%23%3D2d78063933e8f1b1%2D133891E5%2DE8E0%2DBCD8%2D09F5F9C6EDB34B8D%23lastvisit%3D%7Bts%20%272026%2D06%2D01%2006%3A43%3A30%27%7D%23hitcount%3D124%23timecreated%3D%7Bts%20%272026%2D06%2D01%2006%3A43%3A11%27%7D%23cftoken%3D2d78063933e8f1b1%2D133891E5%2DE8E0%2DBCD8%2D09F5F9C6EDB34B8D%23cfid%3D4090677%23; CFTOKEN=2d78063933e8f1b1-133891E5-E8E0-BCD8-09F5F9C6EDB34B8D; FREEACCESSCOUNT=1; CFID=4090677; CFCLIENT_BOOKBROWSE=order%3Dp%23member%5Fnumber%3D0%23member%5Factive%5Fflag%3D0%23member%5Flogged%5Fin%5Fflag%3D0%23library%5Fuser%5Fflag%3D0%23view%3Dbooks%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=/author_number/1694/author/michael-gregorio
PATH_TRANSLATED=/root/website/author_interviews/full/index.cfm
QUERY_STRING=
REMOTE_ADDR=127.0.0.1
REMOTE_HOST=127.0.0.1
REMOTE_USER=
REQUEST_METHOD=GET
SCRIPT_NAME=/author_interviews/full/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=4090677
cftoken=2d78063933e8f1b1-133891E5-E8E0-BCD8-09F5F9C6EDB34B8D
hitcount=126
lastvisit={ts '2026-06-01 06:43:31'}
library_user_flag=0
member_active_flag=0
member_logged_in_flag=0
member_number=0
order=p
timecreated={ts '2026-06-01 06:43:11'}
urltoken=CFID=4090677&CFTOKEN=2d78063933e8f1b1-133891E5-E8E0-BCD8-09F5F9C6EDB34B8D
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#=4090677&CFTOKEN#=2d78063933e8f1b1-133891E5-E8E0-BCD8-09F5F9C6EDB34B8D#lastvisit={ts '2026-06-01 06:43:30'}#hitcount=124#timecreated={ts '2026-06-01 06:43:11'}#cftoken=2d78063933e8f1b1-133891E5-E8E0-BCD8-09F5F9C6EDB34B8D#cfid=4090677#
CFID=4090677
CFTOKEN=2d78063933e8f1b1-133891E5-E8E0-BCD8-09F5F9C6EDB34B8D
FREEACCESSCOUNT=1
Session Variables:
cfid=4090677
cftoken=2d78063933e8f1b1-133891E5-E8E0-BCD8-09F5F9C6EDB34B8D
sessionid=BOOKBROWSE_4090677_2d78063933e8f1b1-133891E5-E8E0-BCD8-09F5F9C6EDB34B8D
urltoken=CFID=4090677&CFTOKEN=2d78063933e8f1b1-133891E5-E8E0-BCD8-09F5F9C6EDB34B8D
URL Parameters:
author=michael-gregorio
author_number=1694
Debug Rendering Time: 149 ms