D.B. John Interview, plus links to author biography, book summaries, excerpts and reviews

D.B. John
Photo: Ollie Grove

D.B. John

An interview with D.B. John

D.B. John explains the real-life stories behind his novel, Star of the North — sometimes truth really is stranger than fiction.

AUTHOR'S NOTE

The idea for this story came to me during a visit to North Korea in 2012, when my small tour group was suborned into some of the daily rituals of the cult of Kim. On each day of the tour we were asked to pay our respects by lining up and bowing before one of the innumerable statues of Kim Il-sung, the country's founder and self-styled Great Leader. To refuse would have risked getting our two guides, a man and a woman, into trouble. My group formed a real bond with the guides. They were friendly, likeable, and highly educated, yet they would faithfully parrot the regime's propaganda, and solemnly tell us mythic stories from the life of Kim Il-sung, as if reciting parables from the Bible. Surely they didn't believe this stuff. Or did they? A job such as theirs - guiding foreign visitors - is only awarded to the most loyal, the most politically trusted individuals. Most likely, their minds performed the kind of doublethink described by George Orwell in 1984 - to know and not know at the same time - in order to account for the daily discrepancies between the propaganda and the evidence of their own eyes.

So much about North Korea is stranger than fiction. It is a hereditary Marxist monarchy whose people are sealed shut from the outside world. They are told that they live in a land of plenty and freedom, yet children are imprisoned for the thought-crimes of their parents, and the regime uses starvation as a means of political control. Such a state has, over the years, behaved in a way that outsiders might find very difficult to believe, let alone understand, so readers may be interested to know which elements of the novel draw from fact.

The abductions program
In the 1970s and early 1980s the North Korean state actively abducted civilians from beaches in Japan and South Korea. These were not important military or political targets, but random people - teenage couples watching a sunset, a divorced man walking a dog, a local hairdresser, and so on. The motive behind this bizarre criminal enterprise has never been fully explained. Some of the victims were put to work teaching local slang and customs to spies and assassins being trained to infiltrate Japan and South Korea; others had their identities stolen; a tiny number were brainwashed and sent back home as spies, but the majority of them had no obvious use to North Korea. They were housed in isolated compounds for decades and permitted only limited contact with the North Korean population, or they died in mysterious circumstances. For years these abductions were the stuff of urban myth and conspiracy theories in Japan, until 2002, when, during a visit to Pyongyang, Japanese prime minister Junchiro Koizumi was stunned to receive an apology from Kim Jong-il for the abduction of thirteen Japanese citizens. (The true number almost certainly runs to several hundred). It was the only public apology Kim had ever made. He hoped it would trigger the release of billions of yen in war reparations from Japan, but it backfired on him spectacularly when the Japanese public reacted with outrage and demanded the abductees' release.

In addition to the Japanese and South Korean victims, there are believed to be victims from at least twelve countries, including eight from Europe. The most detailed investigation of the abductions is Robert S. Boynton's excellent account, The Invitation-Only Zone (Atlantic Books, 2016).

The Seed-bearing Program
Perhaps because he could never be sure that his kidnap victims were successfully indoctrinated and loyal, Kim Jong-il apparently scrapped the abductions program in favor of the Seed-bearing Program, which came to light only in 2014 with the publication of Jang Jin-sung's extraordinary memoir Dear Leader, (Ebury 2014). In an account reminiscent of an episode of the 'Twilight Zone', Jang describes how North Korea sent attractive female agents abroad to become pregnant by men of other races - men with white, brown, or black skin. At the same time women of other races were kidnapped and brought to Pyongyang to have sex with male North Korean agents. Their half-Korean children were born in Pyongyang and looked foreign. The aim was to create loyal spies who were North Korean born and bred and thoroughly indoctrinated. Today these children live in strict segregation from the rest of the population. Their needs are attended to by Section 915 of the Organization and Guidance Department, the shadowy body through which the ruling Kim exercises power.

Gangster diplomats and Bureau 39
In the 1970s the North Korean government found it increasingly difficult to fund its embassies abroad, and ordered them to become self-financing. Using diplomatic pouches, which are exempt from customs searches, North Korean diplomats began smuggling gold, illegal ivory, counterfeit dollars and pharmaceuticals, and hard drugs manufactured to a high purity in North Korea for sale to local crime organizations. Border guards and sniffer dogs have discovered these diplomats' contraband many times. Some embassies have also been involved in the abductions of local citizens, others for channeling wealth into Bureau 39, the secretive slush fund for maintaining the Kims' luxurious lifestyle and for buying their cronies' loyalty. For the best account of North Korea's illicit economy, see North Korea Confidential by Daniel Tudor and James Pearson (Tuttle Publishing, 2015). This book also offers the most convincing explanation for why Kim Jong-un had his uncle Jang Song-taek, the brains behind Bureau 39, executed in 2013.

Christians
North Korea has no freedom of religion, except, of course, for Kim worship. A few defectors have testified to the existence of secret Christian 'house churches' in the cities. These have tiny congregations that change their meeting places frequently for fear of discovery, rather like the early Christian church. They read from verses of the Bible copied by hand onto scraps of paper. Anyone caught in possession of an actual Bible faces execution or a life in the gulag. Two large churches in Pyongyang, replete with hymn-singing congregations, are sometimes shown to foreign visitors. Jang Jin-sung's memoir Dear Leader confirmed what many had suspected about these churches: that they are a cynical sham designed to deceive foreigners and to obtain international aid. They are run by the United Front Department of the Workers' Party and the congregation members are UFD operatives.

The gulag
Generally, there are two type of labor camp in North Korea. In the first category are camps for those sentenced to 'revolutionary re-education through labor', from which, if they survive their punishment, prisoners may be released back into society and then monitored closely for the rest of their lives. The second category, operated by the Ministry of State Security, the Bowibu, are the extremely harsh 'total control zone' camps for political prisoners. Inmates there have no hope of release and are worked to death as slaves in farms, factories, and mines.

In both types of camp conditions are life-threatening and unsanitary. Torture, beatings, rape, infanticide, and public and secret executions are common, as is extremely dangerous work without safety equipment or protection. Most prisoners, however, die of illness and malnutrition, as food portions are tiny and many resort to eating rodents, snakes, and insects to survive. Daily life in the camps is attested to in a number of astonishing defector memoirs, most memorably The Aquariums of Pyongyang by Kang Chol Hwan (Basic Books, 2001) and The Eyes of Tailless Animals by Soon Ok Lee (Living Sacrifice Book Company, 1999), both of whom escaped North Korea after their eventual release. Soon Ok Lee's account is one of the few to bear witness to the brutal treatment of Christians inside the camps. The descriptions of Cho's torture is based on Soon Ok Lee's account of the torture she endured in prison.

Some analysts have wondered about the purpose of the labor camps. Starving, emaciated prisoners are only fractionally as productive as well-fed healthy workers. The camps make no economic sense in terms of their contribution to the wealth of the country. Sadly their main purpose is to serve as instruments of control. Just as a functioning democracy must have free elections, so a totalitarian dictatorship must have concentration camps if it is to maintain control through terror.

Guilt by association
Often, three generations of a convicted prisoner's family, including children and the elderly, are made to endure the punishment alongside the prisoner. A family will share the same hut inside the camp. Children born in the camps - most famously Shin Dong Hyuk, whose story is told in Escape from Camp 14 by Blaine Harden (Viking 2012) - bear the guilt of their parents and can expect to grow up, work, and die inside the camps.

North Koreans also carry the perceived guilt of their ancestors under the songbun system. This caste system, unique to North Korea, divides the population into three classes: loyal, wavering, and hostile, depending on what the father's ancestors were doing just before, during, and after the founding of the state in 1948. If your ancestors included workers and peasants, and fought on the right side during the Korean War, your family is classed as loyal. If, however, your ancestors included landowners, merchants, Christians, prostitutes, anyone who collaborated with the Japanese during the period of colonial rule, or anyone who fled to the South during the Korean War, then your family will be classed as hostile. The hostile class - about 40 per cent of the population - are assigned to farms, mines, and menial labor. Only the loyal class gets to live in Pyongyang, has the opportunity to join the Workers' Party, and the freedom to choose a career.

In the novel, the character of Colonel Cho is based loosely on Kim Yong, who, as a child, had been adopted from an orphanage by a loyal family in Pyongyang. When his birth records were checked prior to an important promotion, however, he learned that he was the son of an executed traitor who'd spied for the Americans during the Korean War - the worst imaginable class background. The nightmare that then begins for Cho really did happen to Kim Yong. He was deported to a total control zone, Camp 14, where he was put to work in the mines, and later to the less harsh Camp 18, where he joined his family, after his former colleagues appealed on his behalf. His riveting escape, described in Long Road Home (Columbia University Press, 2009) is still one of the best of the defector memoirs.

Camp 22 and human experimentation
Also known as Hoeryong Concentration Camp, Camp 22 is a vast, isolated, total control zone in the northeast of the country where the brutality of the conditions defies imagination. There is no defector testimony, as far as I know, from Camp 22. The description of the camp comes from satellite monitoring and the evidence of former guards.

Kwon Hyok, a former head of security at Camp 22 who defected to South Korea, and Ahn Myung Chul, a former guard, have described laboratories containing sealed chambers for chemical weapons experiments on human prisoners, with gas pumped through a tube into the chamber and scientists observing through glass windows. Three to four prisoners would be murdered at a time, often a family unit. At Kaechon Concentration Camp, Soon Lee Ok described an experiment in which fifty healthy women were given poisoned cabbage leaves. All fifty died within twenty minutes of vomiting and internal bleeding. She gave testimony to the United Nations Commission on Human Rights at New York in 2013.

The Dear Leader's train
Kim Jong-il was afraid of flying - possibly because he'd ordered the bombing of Korean Air Flight 858 in 1987, killing 115 people, in a bid to deter visitors to the 1988 Seoul Olympics. After that, there was always the possibility of a reprisal against him. Most of his journeys were undertaken in his private armored train, which had 17 compartments, including luxury living quarters and a satellite communications center. He preferred to travel at night, when scrolling American spy satellites couldn't track him. In 2001, he even made the 4,500-mile journey from Pyongyang to St Petersburg (which he insisted on calling Leningrad) by train. It took twenty-one days. Traveling with a large entourage, Kim the gourmet sampled the local cuisines and had fresh fish and game flown out to him en route, and even wines and cheeses from France. He was in such high spirits that he regaled his courtiers and Russian guests by singing patriotic Soviet songs. It was perhaps fitting, then, that he died on this train on December 17, 2011, according the official North Korean state media, suffering a myocardial infarction (heart attack) while traveling on one of his endless field guidance tours.

Rockets and missiles
Eagle-eyed readers will spot that I've taken liberties with the dates for North Korea's satellite rocket launches. To date, it has launched five, in 1998, 2009, two in 2012, and in 2016. Only two of these apparently succeeded in putting a satellite into orbit. The rocket program's real purpose, however, is almost certainly to test the technology needed for long-range intercontinental ballistic missiles capable of striking the United States. Such missiles have to leave the atmosphere and re-enter without their payload burning up. After numerous test launches in summer 2017, it appears that North Korea has now mastered, or is very close to mastering, this technology.

Further reading
I would not have been able to write this story without reading the histories, journalism, and memoirs of a number of authors. I've enjoyed the research as much as the writing, and many of the works in which I've found the details for the story have been of an astounding standard. Some I've mentioned above. What follows is a further small selection. I should say that any liberties taken with truth, or any historical inaccuracies in the novel are mine alone.

Barbara Demick's Nothing to Envy (Granta 20101) is a brilliantly readable account of how ordinary people found ways to survive the famine of the 1990s, some of them unlearning decades of ideology in order to become market traders. The Real North Korea (OUP 2013) and North of the DMZ (McFarland 2007) by Andrei Lankov, whose wry humor was much appreciated, are both superb general introductions to North Korea, as is The Impossible State by Victor Cha (Bodley Head, 2012), a veteran foreign policy advisor to President George W. Bush. I'm indebted to Dr Cha for the scenes in which the North Korean diplomats are treated to a night out at the 21 Club in Manhattan, and the American mission arrives in Pyongyang.

The Hidden People of North Korea by Ralph Hassig and Kongdan Oh (Rowman and Littlefield, 2009) has some fascinating descriptions of the imperial lifestyle of Kim Jong-il. At the opposite end of the social scale, Under the Same Sky, has first-hand information about lives of the kotchebi , the vagrant street kids of North Korea, written by a defector who used to be one of them, Joseph Kim.

I cannot recommend these books highly enough.

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 D.B. John at BookBrowse
Star of the North 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 D.B. John 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

  • Barbara Demick

    Barbara Demick

    Barbara Demick has been interviewing North Koreans about their lives since 2001, when she moved to Seoul for the Los Angeles Times. Her reporting on North Korea won the Overseas Press Club award for human rights reporting, ... (more)

    If you enjoyed:
    Star of the North

    Try:
    Nothing to Envy
    by Barbara Demick

  • Paul Fischer

    Paul Fischer

    Paul Fischer is an author and film producer based in the United Kingdom. His first book, A Kim Jong-Il Production has been translated to date into twelve languages. It was nominated for the Crime Writers' Association's ... (more)

    If you enjoyed:
    Star of the North

    Try:
    A Kim Jong-Il Production
    by Paul Fischer

We recommend 5 similar authors

View all 5 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...

In youth we run into difficulties. In old age difficulties run into us

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 01:01 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
1780318904376 ms 1.78031890438E+012 ms 1 /root/website/app_server.cfm
711 ms 711 ms 1 /root/website/author_interviews/full/index.cfm
254 ms 254 ms 1 /root/website/author_interviews/full/dsp_main.cfm
181 ms 181 ms 1 /root/website/app_globals.cfm
181 ms 181 ms 1 /root/website/app_layout.cfm
136 ms 136 ms 1 /root/website/site/blocks/layout/dsp_right_column.cfm
123 ms 62 ms 2 /root/website/queries/qry_get_books_by_author_id.cfm
113 ms 38 ms 3 /root/website/adsystem/adsystem_mod.cfm
80 ms 80 ms 1 /root/website/queries/qry_get_active_obc.cfm
74 ms 74 ms 1 /root/website/site/blocks/dsp_border_first_impressions.cfm
73 ms 73 ms 1 /root/website/queries/qry_get_arcs_for_ad.cfm
54 ms 18 ms 3 /root/website/site/blocks/membership_advantages.cfm
51 ms 17 ms 3 /root/website/queries/qry_get_member_account_types.cfm
45 ms 45 ms 1 /root/website/adzones/AdZone6.cfm
38 ms 38 ms 1 /root/website/site/blocks/layout/dsp_footer.cfm
37 ms 37 ms 1 /root/website/queries/qry_get_books_by_author_id_lite.cfm
36 ms 36 ms 1 /root/website/adzones/showcase_track.cfm
34 ms 34 ms 1 /root/website/queries/qry_get_current_competition.cfm
33 ms 33 ms 1 /root/website/adzones/AdZone2.cfm
28 ms 28 ms 1 /root/website/queries/qry_get_bb_briefs_by_author.cfm
21 ms 21 ms 1 /root/website/queries/qry_get_all_books_by_author_id.cfm
17 ms 17 ms 1 /root/website/act_check_login.cfm
17 ms 4 ms 4 /root/website/actions/act_spider_tracker.cfm
17 ms 17 ms 1 /root/website/queries/qry_get_member_info.cfm
13 ms 13 ms 1 /root/website/actions/adstatus.cfm
13 ms 13 ms 1 /root/website/queries/qry_get_current_wordplay.cfm
10 ms 10 ms 1 /root/website/site/blocks/dsp_book_giveaway.cfm
5 ms 5 ms 1 /root/website/queries/qry_get_author_readalikes_by_id.cfm
2 ms 2 ms 1 /root/website/site/blocks/layout/dsp_header.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/dsp_border_booktalk.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/Application.cfm
0 ms 0 ms 1 /root/website/act_libraryIPLogin.cfm
0 ms 0 ms 1 /root/website/actions/udfs.cfm
0 ms 0 ms 1 /root/website/banners/ad_594.cfm
0 ms 0 ms 1 /root/website/formurl2attributes.cfm
0 ms 0 ms 1 /root/website/js/fbjavascriptsdk.cfm
0 ms 0 ms 1 /root/website/queries/qry_get_current_ezine.cfm
0 ms 0 ms 1 /root/website/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/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
711 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

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

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

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

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

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

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

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

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

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

	AND 		getdate() < arc_on_ad_dt
	
		ORDER BY  	NEWID()
get_active_obc (Datasource=bookbrowse_com_new, Time=19ms, Records=1) in /root/website/queries/qry_get_active_obc.cfm @ 13:01:44.044
SELECT 		a.arc_forumidfk, a.discourse_flag, a.arc_promo_text,
				b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_jacket_desc, b.ezine_preview_publisher, ezine_preview_publish_dt, ezine_preview_number_of_pages,  ezine_preview_isbn, ezine_preview_short_summary,
	            b.ezine_preview_bb_author_link, ezine_preview_bb_link,
	            c.book_reading_guide
	
	FROM 		arcs a
	INNER JOIN 	ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
	LEFT JOIN  	books c on c.book_number = b.ezine_preview_bb_link
	
	WHERE 		a.arc_obc_flag = 1
	AND			a.arc_active_flag = 0
	AND 		arc_closed_flag = 1
	AND 		getdate() >= arc_on_ad_dt
	AND 		getdate() < arc_off_ad_dt
	ORDER BY  	NEWID()
get_recent_obc (Datasource=bookbrowse_com_new, Time=36ms, Records=4) in /root/website/queries/qry_get_active_obc.cfm @ 13:01:44.044
SELECT 		a.arc_forumidfk, a.discourse_flag, a.arc_promo_text,
				b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_jacket_desc, b.ezine_preview_publisher, ezine_preview_publish_dt, ezine_preview_number_of_pages,  ezine_preview_isbn, ezine_preview_short_summary,
	            b.ezine_preview_bb_author_link, ezine_preview_bb_link,
	            c.book_reading_guide
	
	FROM 		arcs a
	INNER JOIN 	ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number
	LEFT JOIN  	books c on c.book_number = b.ezine_preview_bb_link
	
	WHERE a.arc_number IN (select top 4 arc_number
							from		arcs
							WHERE 		arc_obc_flag = 1
							AND			arc_active_flag = 0
							AND 		arc_closed_flag = 1
							AND 		getdate() > arc_off_ad_dt
							ORDER BY	arc_on_ad_dt DESC)
	ORDER BY  	NEWID()
get_books_by_author_id (Datasource=bookbrowse_com_new, Time=17ms, Records=1) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 13:01:44.044
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) = 3090

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=18ms, Records=1) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 13:01:44.044
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) = 3090

get_all_books_by_author_id (Datasource=bookbrowse_com_new, Time=21ms, Records=1) in /root/website/queries/qry_get_all_books_by_author_id.cfm @ 13:01:44.044
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) = 3090
Parameter #2(CF_SQL_INTEGER) = 3090

get_bb_briefs_by_author (Datasource=bookbrowse_com_new, Time=27ms, Records=0) in /root/website/queries/qry_get_bb_briefs_by_author.cfm @ 13:01:44.044
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) = 3090

get_author_readalikes_by_id (Datasource=bookbrowse_com_new, Time=5ms, Records=5) in /root/website/queries/qry_get_author_readalikes_by_id.cfm @ 13:01:44.044
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) = 3090

get_ads (Datasource=bookbrowse_com_new, Time=10ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 13:01:44.044
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=20ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 13:01:44.044
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=18ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 13:01:44.044
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=18ms, Records=1) in /root/website/actions/udfs.cfm @ 13:01:44.044
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) = 3775

get_member_account_types (Datasource=bookbrowse_com_new, Time=7ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 13:01:44.044
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=17ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 13:01:44.044
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) = 1803
Parameter #2(CF_SQL_INTEGER) = 1803
Parameter #3(CF_SQL_INTEGER) = 1803

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=59ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 13:01:44.044
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) = 1803

get_books_by_author_id (Datasource=bookbrowse_com_new, Time=27ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 13:01:44.044
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) = 2592
Parameter #2(CF_SQL_INTEGER) = 2592
Parameter #3(CF_SQL_INTEGER) = 2592

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=17ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 13:01:44.044
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) = 2592

get_member_account_types (Datasource=bookbrowse_com_new, Time=23ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 13:01:44.044
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=12ms, Records=0) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 13:01:44.044
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=48ms, Records=3) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 13:01:44.044
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 @ 13:01:45.045
SELECT		a.adid,	adweight
	FROM		adsystem a
	INNER JOIN 	ad_category_mapping b ON b.adid = a.adid
	WHERE		a.section = ?
	AND			a.active  = 1
	AND 		a.start_date <= GETDATE()
	
	AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
            

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

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

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

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

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

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

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


Scope Variables

CGI Variables:
AUTH_PASSWORD=
AUTH_TYPE=
AUTH_USER=
CERT_COOKIE=
CERT_FLAGS=
CERT_ISSUER=
CERT_KEYSIZE=
CERT_SECRETKEYSIZE=
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=
CERT_SERVER_SUBJECT=
CERT_SUBJECT=
CF_TEMPLATE_PATH=/root/website/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=CFID=4101184; CFGLOBALS=urltoken%3DCFID%23%3D4101184%26CFTOKEN%23%3D6295c0a0d80848a%2D20BF44E9%2DC073%2DDE49%2D6E4566B84C627939%23lastvisit%3D%7Bts%20%272026%2D06%2D01%2013%3A01%3A44%27%7D%23hitcount%3D99%23timecreated%3D%7Bts%20%272026%2D06%2D01%2013%3A01%3A24%27%7D%23cftoken%3D6295c0a0d80848a%2D20BF44E9%2DC073%2DDE49%2D6E4566B84C627939%23cfid%3D4101184%23; CFCLIENT_BOOKBROWSE=order%3Dp%23member%5Fnumber%3D0%23member%5Factive%5Fflag%3D0%23member%5Flogged%5Fin%5Fflag%3D0%23library%5Fuser%5Fflag%3D0%23view%3Dbooks%23; CFTOKEN=6295c0a0d80848a-20BF44E9-C073-DE49-6E4566B84C627939
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/3090/db-john
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=4101184
cftoken=6295c0a0d80848a-20BF44E9-C073-DE49-6E4566B84C627939
hitcount=104
lastvisit={ts '2026-06-01 13:01:45'}
library_user_flag=0
member_active_flag=0
member_logged_in_flag=0
member_number=0
order=p
timecreated={ts '2026-06-01 13:01:24'}
urltoken=CFID=4101184&CFTOKEN=6295c0a0d80848a-20BF44E9-C073-DE49-6E4566B84C627939
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#=4101184&CFTOKEN#=6295c0a0d80848a-20BF44E9-C073-DE49-6E4566B84C627939#lastvisit={ts '2026-06-01 13:01:44'}#hitcount=99#timecreated={ts '2026-06-01 13:01:24'}#cftoken=6295c0a0d80848a-20BF44E9-C073-DE49-6E4566B84C627939#cfid=4101184#
CFID=4101184
CFTOKEN=6295c0a0d80848a-20BF44E9-C073-DE49-6E4566B84C627939
Session Variables:
cfid=4101184
cftoken=6295c0a0d80848a-20BF44E9-C073-DE49-6E4566B84C627939
sessionid=BOOKBROWSE_4101184_6295c0a0d80848a-20BF44E9-C073-DE49-6E4566B84C627939
urltoken=CFID=4101184&CFTOKEN=6295c0a0d80848a-20BF44E9-C073-DE49-6E4566B84C627939
URL Parameters:
author_number=3090
db-john=
Debug Rendering Time: 32 ms