David J. Halperin Interview, plus links to author biography, book summaries, excerpts and reviews

David J. Halperin
Photo: Anora McGaha

David J. Halperin

An interview with David J. Halperin

A conversation with David Halperin about his first novel, Journal of a UFO Investigator, set in the sixties about a boy's emotional and fantastical journey through alien worlds and family pain.

Most of this story's action takes place in two dimensions of time, in 1963 and 1966. How did you decide to write it in this way, and why did you choose these particular dates?

I began the book with a three-year time lapse between the writing of the journal and the events recorded in it, because I wanted to depict the excitement and possibility of early adolescence (the thirteen-year-old Danny Shapiro) through the eyes and with the voice of an older adolescent already living with a burden of failed dreams. Then the time lapse closes. The year is 1966; Danny no longer looks backward, but scribbles into his journal his current desperate hopes that his dreams of love, safety, and healing may still come true. Maybe it's not too late. Maybe there will be a happy ending after all.

I chose this time period partly because I was myself a teen UFOlogist in the early sixties. I can write what it felt like to be an adolescent in this era with the authenticity that comes from personal experience. The UFO world of the time is something I know from the inside.

But there's another reason. The time period of the book is framed by two historical events of immense symbolic importance. The story begins shortly after the Cuban Missile Crisis of October 1962, which was the closest this world has yet come to nuclear apocalypse. It ends with the Six-Day War of June 1967, which transformed the Middle East, carrying with it a load of symbolic baggage that Israelis and Palestinians are still staggering under. Both events mirror key themes of the book.


What sort of research did you do in preparation for writing this book? How much of the story directly reflects actual UFO literature?

The story is deeply rooted in the UFO traditions of the 1950s and early 1960s, which present-day UFOlogists look back to as a golden age. Morris K. Jessup, for example, was a real person, author of several UFO books. The legends surrounding his death in 1959 would have passed back and forth in long letters between Danny and other teen UFOlogists, with wide-eyed speculation about whether Jessup really committed suicide or whether this was a "cover" for something more sinister. The Three Men in Black—long before Hollywood got hold of them—were part of the 1950s UFO lore, much of it shaped by the great West Virginia mythmaker Gray Barker and his bestselling They Knew Too Much About Flying Saucers. Readers can check out the historical note, posted to the Penguin web site for more details.

I knew this UFO world so intimately from my own adolescence that there wasn't much research required beyond poking through my voluminous files of correspondence from almost fifty years ago, plus rereading the UFO books that so influenced me back then. The UFO Encyclopedia, published in the 1990s by my old friend and fellow-UFOlogist Jerome Clark, was an inexhaustibly rich resource for me, as it will be for anyone with the smallest interest in UFO belief. And I spent a magnificent week in September 2004 in the Gray Barker Collection of the Clarksburg-Harrison Public Library (West Virginia), going through Barker's correspondence with Morris Jessup and many, many others. For his kind and generous assistance during my visit, my deepest thanks go to the archive's curator, David Houchin.


Like the other UFO researchers he admires, Danny is a social misfit. Does dwelling on the fringes of society better prepare a person to truly understand or perceive the mysteries of outer space? Are there other advantages to this perspective?

I don't think UFOs have anything to do with the mysteries of outer space. They're not about space travel or extraterrestrial life but about us, our longings and our terrors—most especially, if my hunch is correct, our confrontation with the end of our existence. The UFOs come from within, and the "inner space" from which they derive is every bit as eerie and mysterious as the galaxies and black holes "out there."

Does a social misfit have privileged access to this "inner space"? Maybe, maybe not. Probably he or she will be more intimately exposed to the above-mentioned longings and terrors, more intensely aware of them, than those who can insulate themselves with the comforts and distractions of social life. This is not to say the misfit will understand them any better. If and when understanding does come—with age, perspective, perhaps psychotherapy—those who've lived on the fringes may find themselves with an enhanced compassion for others. Still, I wouldn't recommend social isolation for a teenager or anyone else, assuming some choice in the matter. But most of us, like Danny Shapiro, have to play the hand we are dealt.


Danny's father is surprised to discover that UFO books and the Bible hold equal weight in Danny's personal library. As a religion professor, what parallels do you see between UFO research and religious study?

The late Unitarian minister Forrest Church called religion "our human response to the dual reality of being alive and having to die." If UFO belief is at bottom a way of grappling with our mortality, as I suspect, it's a quintessentially religious phenomenon.

There are other, more specific, points of contact between UFOlogy and religious traditions. The latter often describe the otherworldly journeys of certain privileged human beings. There's a very peculiar genre of ancient Jewish literature that concerns itself with the "descent to the merkavah," a sort of psychic/shamanic journey to the divine "chariot" (merkavah, in Hebrew) described in the first chapter of the Book of Ezekiel. UFO abductions, which become part of UFOlogy from the mid-sixties on, sound a lot like modernized versions of these merkavah journeys. We seem to be dealing with something rooted in universal human perceptions of the numinous, the unconscious, the strange and spooky realms where Freud and Jung staked out their territories.

Those realms are within us. When we use the phrase "depth psychology" to speak of them, we express our intuition they're somehow down below. This is why, when Danny gets inside his UFO, it carries him down down down rather than the other direction. And why the ancient Jewish visionaries were right to speak of the "descent," not the ascent, to Ezekiel's chariot.


As a Jewish child of the post-World War II era, Danny is caught between his family's insular suspicion of gentiles and a real threat of anti-Semitism around him. The result is a kind of constant paranoia that pervades the book. How are we as readers meant to interpret his anxieties? Are they real or exaggerated?

Danny faces very little anti-Semitism of any significance. His friend Jeff is a bit supercilious about Danny's Judaism; some others make fun of it. Yet Rosa Pagliano, who is not only Danny's crush but also his truest friend, staunchly defends him. The suffering his Jewishness causes him, the social wall separating him from the kids (especially the girls) around him, comes more from his family's insularity than any outside rejection.

So are his fears real? Absolutely. There's a menace hovering over Danny every day of his life—his mother's impending death, compounded by an emotional alienation within his family that's worse than anything he faces at school. So his sense of dread is reality-based. It's "paranoid" only in that he's looking for the threat in the wrong direction. But that's what he has to do. Perseus had to look away into a mirror if he wanted to cope with Medusa without being turned to stone.


In this book sexuality and danger seem inextricably linked—is this pairing a by-product of Danny's religious upbringing, or it is simply part of the adolescent experience in general?

This is a basic question—maybe the basic question—posed by the sexual revolution of the sixties. Is youthful sexual angst a needless hang-up, a dispensable artifact of a dead religious tradition? Or is it an element of the human condition? I'd pick the latter alternative. Dread of sexuality has been humanity's burden for a long, long time—since long before the rise of the Judaic religions—and works its damage in societies untainted by Western taboos. Teenagers have vastly greater sexual freedom now they did in Danny's time. But adolescence doesn't seem an easier or more benign experience than it was fifty years ago.


Told from a teenager's point of view, this novel seems to straddle the line both between young adult and adult fiction, and sci-fi and contemporary realism. Do these categories make a difference to you as a novelist? Did they impact your writing process at all?

No. I just tried to tell the story. For the most part I was lucky enough that the story told itself. I never thought of Journal as a young adult novel, despite its teenage protagonist. Yet sometimes I've imagined despairing, possibly suicidal teenagers sneaking the book off the adult shelves and realizing as they finish it that life, hopeless as it can seem, is worthwhile. There is hope. They must go on living.

Nor did I intend the book as science fiction, though it makes use of S-F motifs like alien worlds. In the process of employing these motifs, it may do something to unpack the secret of their appeal. But this wasn't planned. It just came out that way.


As Danny clashes between fantasy and reality your prose style becomes more experimental. Did this happen organically as you wrote, or was it more of a conscious choice?

I made no conscious choices in this respect. My only choice was, when something wanted to come out of me, not to get in its way.


The moment at the end of the story, when Danny leaves behind his UFO "bible" before setting off for college on his own, is a powerful one. Does growing up necessitate letting go of (a) passion?

Not passion, perhaps, but illusion. Yet there's a paradox: no sooner do we discard illusion than we take it up again—not the same one, perhaps, but something akin to it—because we can't live without it. And illusion is not wholly negative. It brings gifts that remain after the illusion is gone. This is something Danny is aware of, though not quite consciously, as he lets drop the "bible" that is the emblem of his UFO illusion.

This "childhood's end" is itself an unending process, which never becomes complete. We never become illusion-free. (Would we want to?)


What makes the UFO myth such a persistent idea in our culture? Why do people want to believe that flying saucers exist?

This is the big question—the real UFO mystery.

There's an obvious answer, which the UFOlogists are bound to offer. People want to believe in flying saucers because flying saucers are real; they're bowing to the weight of the evidence. I can't say this, because I don't think it's true. It wasn't true for me, back when I was a UFO believer. I doubt whether it's true of others.

The real answers are only dimly perceptible, shapes in a fog. I'll repeat what I've said before: the mysteries of "inner space" are every bit as shrouded, elusive and eerie as those of "outer space."

Most basically, I think, UFOs are a mythology of death. Death—bone of our bone, flesh of our flesh, born with us at the moment of our birth, our inseparable companion throughout our lives. Yet death—the ultimate alienness, though which we cease to be ourselves, cease to be anything at all. How better to express this paradox than with a myth of alien intruders into our familiar skies?

Consider the best-known of the UFO tales, the legend of Roswell, New Mexico. At its heart, the crux of its fascination, is the theme of mortal divinity—celestial beings, surely qualified as gods by their extraordinary powers, yet mortal for all that, tumbling dead from their heavens.

This may be why the UFO era began in 1947. Odd things had been seen in the skies, as long as people looked upward. But recognition of them as a distinct phenomenon, an enigma of alienness, came a little less than two years after the end of the Second World War, after Alamogordo and Hiroshima and Nagasaki. This was when, for the first time in human history, it became a realistic possibility that we can die collectively—as a species, not just as individuals. And voilà! The UFOs appear.

There's more to it than that. The UFO myth persists because, like all true myths, it coalesces a whole range of meanings. Take alien abductions. We can pinpoint just when the abduction tradition came into existence—February 1964, when a New Hampshire couple named Betty and Barney Hill were put under hypnosis by a Boston psychiatrist for the purpose of relieving physical symptoms that had dogged Barney since the couple's UFO sighting more than two years earlier. Under hypnosis, they told a story of how their car was stopped in the middle of the night. They were led away from it, carried into a waiting UFO where they were made to undergo bizarre pseudo-medical procedures.

Now, Betty and Barney Hill were an unusual couple for small-town New England in the early 1960s. She was white. He was black. I have no way of knowing precisely how his ancestors came to this country. But it's a good guess they were abducted in the middle of the night and carried off to a waiting ship. This ancestral trauma was transmitted through the generations, preserved in Barney's unconscious. Through him it was injected into the mainstream of the society that had wronged him, humiliated him, marginalized him.

(Those who've heard the tape of Barney's first hypnotic trance, have attested to the wild terror in his voice as he recalled his experience. The psychiatrist reports having been afraid Barney would throw himself out the office window. There must have been something powerful and deeply frightening inside him that the hypnosis allowed to come out.)

I'm haunted by a remark of Freud's, near the end of his Interpretation of Dreams:



There is often a passage in even the most thoroughly interpreted dream which has to be left obscure… a tangle of dream-thoughts which cannot be unraveled… This is the dream's navel, the spot where it reaches down into the unknown. The dream-thoughts… cannot… have any definite endings; they are bound to branch out in every direction into the intricate network of our world of thought. It is at some point where this meshwork is particularly close that the dream-wish grows up, like a mushroom out of its mycelium.

Perhaps the UFO is the spot, in the collective dream that is our culture, where it reaches down into the unknown.

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 David J. Halperin at BookBrowse
Journal of a UFO Investigator 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 David J. Halperin 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

  • Peter Bognanni

    Peter Bognanni

    Peter Bognanni is a writer currently based in Saint Paul, Minnesota. His first novel, The House of Tomorrow, is out now from Amy Einhorn Books (Putnam). He attended the Iowa Writers' Workshop not long ago, and his short ... (more)

    If you enjoyed:
    Journal of a UFO Investigator

    Try:
    The House of Tomorrow
    by Peter Bognanni

  • Charles Burns

    Charles Burns

    Charles Burns grew up in Seattle in the 1970s. His work rose to prominence in Art Spiegelman's RAW magazine in the mid-1980s, and since then he has worked on a wide range of projects including album covers, ad campaigns, and ... (more)

    If you enjoyed:
    Journal of a UFO Investigator

    Try:
    Final Cut
    by Charles Burns

We recommend 10 similar authors


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

Finishing second in the Olympics gets you silver. Finishing second in politics gets you oblivion.

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 03:05 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
1780326328405 ms 1.78032632841E+012 ms 1 /root/website/app_server.cfm
849 ms 849 ms 1 /root/website/author_interviews/full/index.cfm
293 ms 293 ms 1 /root/website/author_interviews/full/dsp_main.cfm
255 ms 255 ms 1 /root/website/app_globals.cfm
211 ms 211 ms 1 /root/website/app_layout.cfm
154 ms 77 ms 2 /root/website/queries/qry_get_books_by_author_id.cfm
128 ms 128 ms 1 /root/website/site/blocks/layout/dsp_right_column.cfm
98 ms 98 ms 1 /root/website/queries/qry_get_active_obc.cfm
96 ms 32 ms 3 /root/website/adsystem/adsystem_mod.cfm
62 ms 62 ms 1 /root/website/site/blocks/dsp_border_first_impressions.cfm
61 ms 61 ms 1 /root/website/queries/qry_get_arcs_for_ad.cfm
59 ms 59 ms 1 /root/website/site/blocks/layout/dsp_footer.cfm
57 ms 57 ms 1 /root/website/adzones/showcase_track.cfm
48 ms 48 ms 1 /root/website/actions/adstatus.cfm
48 ms 48 ms 1 /root/website/queries/qry_get_books_by_author_id_lite.cfm
39 ms 39 ms 1 /root/website/adzones/AdZone2.cfm
39 ms 39 ms 1 /root/website/adzones/AdZone6.cfm
36 ms 12 ms 3 /root/website/site/blocks/membership_advantages.cfm
35 ms 35 ms 1 /root/website/queries/qry_get_current_competition.cfm
34 ms 34 ms 1 /root/website/queries/qry_get_current_wordplay.cfm
32 ms 11 ms 3 /root/website/queries/qry_get_member_account_types.cfm
24 ms 24 ms 1 /root/website/site/blocks/dsp_book_giveaway.cfm
19 ms 19 ms 1 /root/website/queries/qry_get_bb_briefs_by_author.cfm
18 ms 18 ms 1 /root/website/site/blocks/layout/dsp_header.cfm
15 ms 15 ms 1 /root/website/queries/qry_get_all_books_by_author_id.cfm
10 ms 10 ms 1 /root/website/act_check_login.cfm
8 ms 8 ms 1 /root/website/queries/qry_get_author_readalikes_by_id.cfm
8 ms 8 ms 1 /root/website/queries/qry_get_member_info.cfm
3 ms 1 ms 4 /root/website/actions/act_spider_tracker.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_current_ezine.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_free_newsletters.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/dsp_bottom_block.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/google_tags.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/head.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/main_menu.cfm
0 ms 0 ms 1 /root/website/Application.cfm
0 ms 0 ms 1 /root/website/act_libraryIPLogin.cfm
0 ms 0 ms 1 /root/website/actions/udfs.cfm
0 ms 0 ms 1 /root/website/banners/ad_594.cfm
0 ms 0 ms 1 /root/website/formurl2attributes.cfm
0 ms 0 ms 1 /root/website/js/fbjavascriptsdk.cfm
0 ms 0 ms 1 /root/website/queries/qry_get_previous_arcs_for_ad.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/header_announcement.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/main_search.cfm
2 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
851 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

spidercheck (Datasource=bookbrowse_com_new, Time=2ms, Records=1) in /root/website/actions/act_spider_tracker.cfm @ 15:05:28.028
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=8ms, Records=0) in /root/website/queries/qry_get_member_info.cfm @ 15:05:28.028
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=47ms, Records=2) in /root/website/actions/adstatus.cfm @ 15:05:28.028
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 @ 15:05:28.028
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=34ms, Records=1) in /root/website/queries/qry_get_current_wordplay.cfm @ 15:05:28.028
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=14ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 15:05:28.028
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 @ 15:05:28.028
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 @ 15:05:28.028
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=21ms, Records=0) in /root/website/queries/qry_get_active_obc.cfm @ 15:05:28.028
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=11ms, Records=1) in /root/website/queries/qry_get_active_obc.cfm @ 15:05:28.028
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=26ms, Records=4) in /root/website/queries/qry_get_active_obc.cfm @ 15:05:28.028
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=12ms, Records=1) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 15:05:28.028
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) = 2003

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=34ms, Records=1) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 15:05:28.028
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) = 2003

get_all_books_by_author_id (Datasource=bookbrowse_com_new, Time=11ms, Records=1) in /root/website/queries/qry_get_all_books_by_author_id.cfm @ 15:05:28.028
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) = 2003
Parameter #2(CF_SQL_INTEGER) = 2003

get_bb_briefs_by_author (Datasource=bookbrowse_com_new, Time=18ms, Records=0) in /root/website/queries/qry_get_bb_briefs_by_author.cfm @ 15:05:28.028
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) = 2003

get_author_readalikes_by_id (Datasource=bookbrowse_com_new, Time=7ms, Records=10) in /root/website/queries/qry_get_author_readalikes_by_id.cfm @ 15:05:28.028
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) = 2003

get_ads (Datasource=bookbrowse_com_new, Time=20ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 15:05:28.028
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=5ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 15:05:28.028
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=6ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 15:05:28.028
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=46ms, Records=1) in /root/website/actions/udfs.cfm @ 15:05:28.028
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) = 2541

get_member_account_types (Datasource=bookbrowse_com_new, Time=10ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 15:05:28.028
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=79ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 15:05:28.028
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) = 1841
Parameter #2(CF_SQL_INTEGER) = 1841
Parameter #3(CF_SQL_INTEGER) = 1841

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=17ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 15:05:28.028
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) = 1841

get_books_by_author_id (Datasource=bookbrowse_com_new, Time=36ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 15:05:28.028
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) = 4006
Parameter #2(CF_SQL_INTEGER) = 4006
Parameter #3(CF_SQL_INTEGER) = 4006

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=19ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 15:05:29.029
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) = 4006

get_member_account_types (Datasource=bookbrowse_com_new, Time=14ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 15:05:29.029
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=17ms, Records=0) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 15:05:29.029
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=43ms, Records=3) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 15:05:29.029
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=6ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 15:05:29.029
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=6ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 15:05:29.029
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=19ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 15:05:29.029
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=22ms, Records=1) in /root/website/site/blocks/dsp_book_giveaway.cfm @ 15:05:29.029
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 @ 15:05:29.029
SELECT 	*
    FROM 	free_newsletters
get_ads (Datasource=bookbrowse_com_new, Time=14ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 15:05:29.029
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=5ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 15:05:29.029
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=10ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 15:05:29.029
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=4104863; FREEACCESSCOUNT=1; CFTOKEN=ad5010bda897b3c3-252746FB-F4AB-6832-49A38C3609A73764; CFGLOBALS=urltoken%3DCFID%23%3D4104863%26CFTOKEN%23%3Dad5010bda897b3c3%2D252746FB%2DF4AB%2D6832%2D49A38C3609A73764%23lastvisit%3D%7Bts%20%272026%2D06%2D01%2015%3A05%3A28%27%7D%23hitcount%3D212%23timecreated%3D%7Bts%20%272026%2D06%2D01%2015%3A04%3A37%27%7D%23cftoken%3Dad5010bda897b3c3%2D252746FB%2DF4AB%2D6832%2D49A38C3609A73764%23cfid%3D4104863%23; 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/2003/author/david-j-halperin
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=4104863
cftoken=ad5010bda897b3c3-252746FB-F4AB-6832-49A38C3609A73764
hitcount=221
lastvisit={ts '2026-06-01 15:05:29'}
library_user_flag=0
member_active_flag=0
member_logged_in_flag=0
member_number=0
order=p
timecreated={ts '2026-06-01 15:04:37'}
urltoken=CFID=4104863&CFTOKEN=ad5010bda897b3c3-252746FB-F4AB-6832-49A38C3609A73764
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#=4104863&CFTOKEN#=ad5010bda897b3c3-252746FB-F4AB-6832-49A38C3609A73764#lastvisit={ts '2026-06-01 15:05:28'}#hitcount=212#timecreated={ts '2026-06-01 15:04:37'}#cftoken=ad5010bda897b3c3-252746FB-F4AB-6832-49A38C3609A73764#cfid=4104863#
CFID=4104863
CFTOKEN=ad5010bda897b3c3-252746FB-F4AB-6832-49A38C3609A73764
FREEACCESSCOUNT=1
Session Variables:
cfid=4104863
cftoken=ad5010bda897b3c3-252746FB-F4AB-6832-49A38C3609A73764
sessionid=BOOKBROWSE_4104863_ad5010bda897b3c3-252746FB-F4AB-6832-49A38C3609A73764
urltoken=CFID=4104863&CFTOKEN=ad5010bda897b3c3-252746FB-F4AB-6832-49A38C3609A73764
URL Parameters:
author=david-j-halperin
author_number=2003
Debug Rendering Time: 55 ms