Nathan Hill Interview, plus links to author biography, book summaries, excerpts and reviews

Nathan Hill
Photo: Michael Lionstar

Nathan Hill

An interview with Nathan Hill

Nathan Hill discusses his debut book, The Nix, and how video games influence the book - and his life.

What is the story of The Nix and how does it inform this novel?

A Nix is a spirit of the water that appears in Scandinavian folklore and is variously known as a nixie, neck, nikker, nøkk, and so on. It's one of many Norwegian folktales I use in the novel. I love those old ghost stories, where spirits appear incognito and cause all sorts of trouble. In the Norwegian version, a Nix is usually described as a horrible ugly ogre-type thing that sometimes appears to young children as a beautiful white horse. It will attempt to lure the children onto its back, and if they climb aboard, it'll gallop into the water and drown them. And I imagined that, for the kids, suddenly taking possession of their very own horse would have been the coolest thing that ever happened to them. They must have loved it, until they realized what was really happening, by which time it was too late. The moral of the story seemed to me something like: the things you love the most can sometimes hurt you worst. Which is a lesson also learned by the characters in the novel, who are undermined by the things that mean the most to them: a son abandoned by his mother; a sister disowned by her twin brother; a workaholic swindled by his company; a gamer betrayed by the very video game he's obsessed with.

At the heart of The Nix are a mother and son who have not seen each other in decades reunited by some very strange twists of fate. What made you want to explore this particular mother/son relationship?

I didn't set out to write a story about an estranged mother—it's more like that was the result of many small choices made over a period of years. I started with a basic premise that had a nice symmetry to it: a mother who attends the '68 DNC protest, and her son who attends the '04 RNC protest. That's all I really had at the beginning. Then I started asking questions: Why did they both attend their respective protests? What happened to them there? What if something happened that the mother needed to keep secret? How would that affect her later in life? And so on. The writing I did during this time could probably best be described as exploratory. Almost none of it survived into the novel, but I don't think I could have come up with the plot any other way.

As events push Samuel to try and uncover the secrets of his mother's life it seems you are exploring the idea that we can't really ever know who our parents were before they were our parents. Is that an accurate assessment?

Knowing who our parents really are, like way deep down, presents a unique challenge because parents often feel obliged to hide that part of themselves they don't want their children to see—that more selfish, indecent, irresponsible, unseemly version of themselves that parents maybe tuck away after becoming parents. And kids often don't see their parents accurately, since they are so busy idolizing them, at first, then later resenting them, then later doing that whole push-pull ambivalent thing that's common between adult children and their moms and dads. So a lot of the time it's like two ships passing in the night, which by the way isn't radically different from most relationships. Think about how much people know you, the real deep down you, compared with how vast you feel inside. I think David Foster Wallace compared it to trying to see an entire universe through a tiny keyhole. That seems about right to me.

Faye is an amazing character. Deeply unsympathetic at first meeting and then full of surprises and complexities. Was she hard to write?

She was actually really fun to write—it's always a pleasure when you find a character who so obviously contains multitudes. Faye's basic problem is that she's haunted by choices she made in her past, obsessed with mistakes she made along the way. She essentially lives two lives: her real life, and the fantasy life in her mind. This is an extreme case of something that I think is actually pretty common: that just about everyone has two lives going on roughly simultaneously. We have the life that's actually happening to us each day, but then next to that we have all these other versions of our lives that exist in our imaginations, the lives we wish we had, or the lives we thought we'd have by now, or the lives we could have had, or the lives we someday want to have in the future, or the very different lives that we'll have just as soon as we accomplish certain important career things, or lose a certain number of pounds, or make a certain amount of money, or whatever. Each time our life forks there's the ghost of the choice not taken: What would have happened if I'd quit that job? or followed my passion instead of playing it safe? or had a family? or didn't have a family? studied this instead of that? dated this person instead of that person? and so on. Some people—the most sane and well-adjusted among us—are more or less satisfied with their choices and these questions don't linger very heavily upon them. Others, though, feel the weight of these unlived lives pressingly and urgently. Faye is one of these people, who's haunted by fantasies of what could have been.

One of your main characters, Bethany Fall is a classical musician (as is your wife, it's worth noting!). Can you talk about how music informs this novel?

One of the great things about being married to a musician is that I have access to this whole other vocabulary to describe sound. Like, for example, what it means if a note is "chipped," or if a note comes out "gronky," the difference between a "rigid" sound and a "splatty" one. My wife is under instructions to write down any clever thing said by the conductors she works with. The most recent quote was a conductor trying to explain the certain kind of loudness he wanted. He said: "It's forte, but not forte at the beginning of its career. More like forte after it retires and moves to Florida. It's forte relaxing." How amazing is that? In order to describe something as abstract as music in something as concrete as language, you're almost forced to work in metaphor, which makes it endlessly interesting to me.

Tell us a little about Pwnage? He's just such a fascinating guy!

To understand Pwnage you have to understand a basic psychological phenomenon about how we relate to our future selves: essentially, we believe that our future selves are very different and usually much better people than our present selves are right now. For example, my present self might go ahead and indulge with that donut this morning, and maybe skip working out today, and maybe won't floss tonight, but if someone asked me "Do you want to be a person in the future who eats donuts and doesn't work out and forgets to floss?" I would say absolutely not. We believe that our future selves have a kind of discipline and rigor we often don't feel capable of in the present. This is why we saddle our future selves with a gym membership we find it difficult to use, or why we load up our Netflix queue with deep and heavy Oscar winners but find ourselves, on a day-to-day basis, watching Iron Man again. (Interestingly, a 2008 UCLA study using neuroimaging found that we imagine our future selves in the same way we do celebrities. When our brains think about what we'll be like in the future, it's basically the same as when we imagine what it would be like to be Matt Damon.) So Pwnage's problems are a very amplified version of this phenomenon: he really wants to start a new diet and renovate his house and write a thriller and win back his ex-wife, but at any given moment, on any given day, what he actually finds himself doing is playing video games, meanwhile promising himself that someday soon he will totally do all those other things.

Samuel and Pwnage are both devotees of the gaming world. You really bring their elfscape adventure to glorious life! What made you decide to incorporate this into your novel?

I moved to New York City in the summer of 2004, to a temporary one-month sublet in Queens. I was renting a single room in a house that I shared with about a dozen construction workers recently immigrated from Lithuania and now totally committed to playing Call of Duty all day in their underwear whenever they weren't at work. At the end of the sublet, on the day I was supposed to move my stuff to a more permanent apartment, all my belongings were stolen, including the computer on which I'd saved everything I'd ever written. And I was, of course, crushed about this. After I replaced the computer, a good friend told me to buy this certain video game that he and I could play together (I think he just wanted to give me something to take my mind off the loss, and also he could keep tabs on me by chatting through the game). The game was called World of Warcraft, a very immersive and time-consuming MMORPG (which, if you don't know, stands for Massively Multiplayer Online Role-Playing Game). It's not an easy game, and it takes a whole lot of time to master, but I really threw myself into it. And I was surprised how effective this was at helping me through a pretty tough time: My writing wasn't going very well and my career was sort of stagnant and I was way too poor to live in NYC, but at least I had this game, I had this one thing that I could master. Even after I left the city, I kept on playing, and became sort of a badass elite player, until I realized that my ostensible reason for playing the game—that I needed to take my mind off the real world—was now a reason I absolutely had to quit the game. Because I found that my mind, more often than not, was stuck in the virtual world instead of the real one. It took me a long while to reach a very basic epiphany: that I was devoting way more time to Warcraft than I was to writing, and in fact I was using Warcraft to avoid writing because I was deeply afraid of failing at writing and so it was easier, mentally, to spend my time with something I knew I couldn't fail at. Once I realized this, I quit the game. But I felt compelled to fold this experience into the novel, this paradoxical love/hate feeling I'd developed for the game, how the game was both emotionally analgesic and artistically crippling, both soothing and debilitating.

Pwnage has a philosophy based on video games as he puts it: "Any problem you face in a video game or in life is one of four things: An enemy, obstacle, puzzle, or trap. That's it ... so you just have to figure out which kind of challenge you're dealing with." Oddly sage or totally depressing?

Probably both! I think it's very easy and very seductive to see people—especially people with whom we disagree—as enemies. We've become a very snap-judgment kind of culture. It's like we're walking around with this cosmic 'Like' button (or, more often, 'Dislike') and giving everything roughly fifteen seconds before we render a verdict. One of the basic arguments of the book is that people contain complexities that you will never know if you allow yourself to think in such a reflexive manner. It reminds me of the story of the blind men and the elephant, which I use as an epigraph for THE NIX. A group of blind men are each shown a part of an elephant, and then asked to describe what an elephant is like. Predictably, they each describe an elephant in terms of what their very small part of it feels like. Then, when they all disagree about what an elephant is like, they start arguing and fistfighting. They immediately assume the people who disagree with them are their enemies. Had they instead thought of the whole thing as a puzzle, they might have eventually understood the larger truth, and with far fewer bruises.

Young Samuel is a big fan of the 'Choose your Own Adventure Book' format and you actually nod to that format in a few chapters of The Nix. Did you read those books as a kid?

I read a lot of them, and not only the CYOA sort but also the role playing sort where you'd read with dice in hand and some scrap paper and the whole experience was somewhere in between a book and a board game. I'd wear out whole erasers doing that stuff . The first book I ever wrote was a Choose Your Own Adventure I composed in the second grade called The Castle of No Return. (It's described pretty faithfully in The Nix.) I wrote it for a class project. I remember writing a lot of endings in which the main character was killed in some violent gruesome way, and my mother made me alter these endings because she thought they were too morbid and, like, disturbing. I remember she made me change "You are dead" to "You are gone," which was not a revision I supported.

The Nix moves back and forth in time and diff erent historical events. What sort of research went into this novel?

Between 2006 and 2010, I read a lot of books about 1968 and the protests of the DNC, and talked to people who were there. I spent many long days at the Chicago History Museum, going through their archives of photographs and broadsides and pamphlets and newspapers. (This process is made inordinately more diffi cult and time-consuming by the white cotton gloves they make you wear to touch this stuff , gloves that are allegedly one-size-fits-all but are really so tiny that your hands feel like little frictionless claws and you have to pick and pick and pick just to successfully separate photographs or turn a newspaper page or whatever.) Anyway, yes, I spent a long time researching this period before I felt comfortable writing about it. Musicians have a phrase that I like, one they use to describe practicing a piece: "Getting it under my fingers." It means that they're practicing it so that the notes are almost in the body, so that they can play the part without thinking about the part too much. That's sort of what I was doing. I wanted to do research until the research was under my fingers. When I felt like I could render a scene with authority without having to consult all manner of outside texts, that's when I started really writing.

Some of the pivotal events of the novel revolves around the riots at the 1968 Convention in Chicago. What about that moment in time and that event captured your imagination?

When I was a kid, we lived for a time in the suburbs of Chicago. Chicago was the big city we went to for special occasions. So I think the place has always held a little magic for me. During the 2004 RNC protests in New York, all the pundits were wondering if what happened in '68 in Chicago would happen again. And I was like: "What happened in '68 in Chicago?" And the more I looked into it, the more amazing it seemed. You had all these cultural forces meeting in a few square blocks. Journalist Lance Morrow described it like this: "In front of the Hilton, on Michigan Avenue, two sides of America ground against each other like tectonic plates." You had the protestors, who just thought every cop and politician was a fascist. And you had the cops and politicians, who just thought every protestor was a stinking hippie. Everyone was reduced to their most unendearing stereotype. It was like the culture war's debutante ball, its coming out party. A lot of the faultlines revealed in Chicago in '68 are, obviously, with us still.

There is some wicked academic satire here. Student Laura Pottsdam is just genius. Where did she come from?

Like a lot of writers, I spent many years in the academic trenches of Composition 101, teaching university freshmen how to read critically and write argumentative essays. A fair number of my friends also did this, and whenever we'd get together we all seemed to have the same horror stories: students who wouldn't do the assigned readings, who always assumed there'd be some extra credit available to bail them out, who couldn't pay attention to anything in class besides their phones, who plagiarized their papers consistently and shamelessly, and whose parents seemed to blame the teacher for the student's failure. Not every student was like this, mind you, but enough were that it made me and my friends think there was something really wrong. Like, generationally wrong. (Do a Google search for "plagiarism" and "epidemic" and you'll see what I mean.) So Laura comes out of this experience. And at first I was writing her simply as biting satire. But then, like most characters I spend a lot of time with, I began to feel sympathy for her, began to try to understand what compelled her to act the way she does. Now I think she's probably the smartest character in the book.

When Samuel reflects on his youthful ambitions to write the great American novel he says "You believe that becoming a writer is the life-equivalent of wearing the most creative and interesting Halloween costume at the party." What do you, about to have your first novel published, think of that assessment?

I think he's pretty misguided. Samuel's primary motivation for becoming a writer is that he thinks it will impress certain important people, that it will legitimate him socially. He sees writing as a tool that will help him get what he wants. The problem of course is that this is a formula for generating some pretty bad writing. I learned this earlier in my career. After I had finished grad school and began thinking of myself as a quote-unquote "writer" for the first time, I wrote for all sorts of terrible reasons: because I felt in competition with the other writers I went to school with, or because I needed to fatten up my CV to get access to jobs and grants, or because if I published in a certain tier of journal then maybe agents and editors would begin paying attention to me, or because I wanted to convince my parents I hadn't made a huge mistake, doing this whole writing thing. And during this time I did a lot of writing, and a lot of it was okay, but it lacked a fundamental warmth and truth, I think. It lacked heart and intimacy. Paradoxically, trying to impress people with my writing guaranteed that my writing was pretty unimpressive. When I began writing The Nix in earnest, I decided to drop out of the whole competitive querying-and-publishing thing. I just wrote, and I didn't tell anyone about it. For years, nobody had any idea what I was doing. Sometimes you just have to block those voices out; it's the only way you'll do anything that's idiosyncratically you.

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 Nathan Hill at BookBrowse
Wellness jacket The Nix 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 Nathan Hill 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

  • Taffy Brodesser-Akner

    Taffy Brodesser-Akner

    Taffy Brodesser-Akner is a staff writer for The New York Times Magazine and the New York Times bestselling author of Fleishman Is in Trouble, which has been translated into more than a dozen languages. She is also the creator... (more)

    If you enjoyed:
    Wellness

    Try:
    Long Island Compromise
    by Taffy Brodesser-Akner

  • Jonathan Franzen

    Jonathan Franzen

    Jonathan Franzen is the author of five novels, including The Corrections, Freedom, and Purity, and five works of nonfiction, most recently Farther Away and The End of the End of the Earth, all published by Farrar, Straus and ... (more)

    If you enjoyed:
    Wellness

    Try:
    The Corrections
    by Jonathan Franzen

We recommend 14 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...

The single biggest problem in communication is the illusion that it has taken place

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 31-May-26 09:30 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
1780263028272 ms 1.78026302827E+012 ms 1 /root/website/app_server.cfm
563 ms 563 ms 1 /root/website/author_interviews/full/index.cfm
233 ms 233 ms 1 /root/website/author_interviews/full/dsp_main.cfm
146 ms 146 ms 1 /root/website/app_layout.cfm
135 ms 68 ms 2 /root/website/queries/qry_get_books_by_author_id.cfm
112 ms 37 ms 3 /root/website/adsystem/adsystem_mod.cfm
95 ms 95 ms 1 /root/website/app_globals.cfm
87 ms 87 ms 1 /root/website/site/blocks/layout/dsp_right_column.cfm
55 ms 55 ms 1 /root/website/queries/qry_get_books_by_author_id_lite.cfm
49 ms 16 ms 3 /root/website/queries/qry_get_member_account_types.cfm
49 ms 16 ms 3 /root/website/site/blocks/membership_advantages.cfm
46 ms 46 ms 1 /root/website/site/blocks/layout/dsp_footer.cfm
45 ms 45 ms 1 /root/website/adzones/showcase_track.cfm
41 ms 41 ms 1 /root/website/adzones/AdZone6.cfm
37 ms 37 ms 1 /root/website/queries/qry_get_active_obc.cfm
31 ms 31 ms 1 /root/website/site/blocks/dsp_border_first_impressions.cfm
30 ms 30 ms 1 /root/website/queries/qry_get_arcs_for_ad.cfm
29 ms 29 ms 1 /root/website/adzones/AdZone2.cfm
16 ms 16 ms 1 /root/website/queries/qry_get_current_competition.cfm
12 ms 12 ms 1 /root/website/site/blocks/dsp_book_giveaway.cfm
10 ms 10 ms 1 /root/website/site/blocks/layout/dsp_header.cfm
9 ms 2 ms 4 /root/website/actions/act_spider_tracker.cfm
9 ms 9 ms 1 /root/website/actions/adstatus.cfm
8 ms 8 ms 1 /root/website/act_check_login.cfm
8 ms 8 ms 1 /root/website/queries/qry_get_all_books_by_author_id.cfm
8 ms 8 ms 1 /root/website/queries/qry_get_member_info.cfm
8 ms 8 ms 1 /root/website/site/blocks/layout/main_menu.cfm
7 ms 7 ms 1 /root/website/queries/qry_get_author_readalikes_by_id.cfm
6 ms 6 ms 1 /root/website/queries/qry_get_current_wordplay.cfm
5 ms 5 ms 1 /root/website/queries/qry_get_bb_briefs_by_author.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_free_newsletters.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/head.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/main_search.cfm
0 ms 0 ms 1 /root/website/Application.cfm
0 ms 0 ms 1 /root/website/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/queries/qry_get_previous_arcs_for_ad.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_header_newsletter.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_top_author_block.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_wordplay.cfm
0 ms 0 ms 1 /root/website/site/blocks/email_modal.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/google_tags.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/header_announcement.cfm
1 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
564 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

spidercheck (Datasource=bookbrowse_com_new, Time=9ms, Records=1) in /root/website/actions/act_spider_tracker.cfm @ 21:30: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=7ms, Records=0) in /root/website/queries/qry_get_member_info.cfm @ 21:30: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=9ms, Records=2) in /root/website/actions/adstatus.cfm @ 21:30: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 @ 21:30: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=5ms, Records=1) in /root/website/queries/qry_get_current_wordplay.cfm @ 21:30: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=7ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 21:30: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=8ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 21:30: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 @ 21:30: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=3ms, Records=0) in /root/website/queries/qry_get_active_obc.cfm @ 21:30: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=8ms, Records=1) in /root/website/queries/qry_get_active_obc.cfm @ 21:30: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=21ms, Records=4) in /root/website/queries/qry_get_active_obc.cfm @ 21:30: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=47ms, Records=2) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 21:30: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) = 2854

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=7ms, Records=1) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 21:30: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) = 2854

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

get_bb_briefs_by_author (Datasource=bookbrowse_com_new, Time=5ms, Records=0) in /root/website/queries/qry_get_bb_briefs_by_author.cfm @ 21:30: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) = 2854

get_author_readalikes_by_id (Datasource=bookbrowse_com_new, Time=6ms, Records=14) in /root/website/queries/qry_get_author_readalikes_by_id.cfm @ 21:30: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) = 2854

get_ads (Datasource=bookbrowse_com_new, Time=8ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:30: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=18ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:30: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=19ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:30: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=3ms, Records=1) in /root/website/actions/udfs.cfm @ 21:30: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) = 4695

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

get_member_account_types (Datasource=bookbrowse_com_new, Time=16ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:30: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=24ms, Records=2) in /root/website/queries/qry_get_books_by_author_id.cfm @ 21:30: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) = 3223
Parameter #2(CF_SQL_INTEGER) = 3223
Parameter #3(CF_SQL_INTEGER) = 3223

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=5ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 21:30: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) = 3223

get_books_by_author_id (Datasource=bookbrowse_com_new, Time=91ms, Records=4) in /root/website/queries/qry_get_books_by_author_id.cfm @ 21:30: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) = 676
Parameter #2(CF_SQL_INTEGER) = 676
Parameter #3(CF_SQL_INTEGER) = 676

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=11ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 21:30: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) = 676

get_member_account_types (Datasource=bookbrowse_com_new, Time=10ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 21:30: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_arcs_for_ad (Datasource=bookbrowse_com_new, Time=6ms, Records=0) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 21:30:28.028
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=23ms, Records=3) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 21:30:28.028
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=17ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:30: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) = adzone6
Parameter #2(CF_SQL_VARCHAR) = 0
Parameter #3(CF_SQL_VARCHAR) = 0

get_ads (Datasource=bookbrowse_com_new, Time=10ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:30: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) = adzone6

get_type (Datasource=bookbrowse_com_new, Time=11ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:30:28.028
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=11ms, Records=1) in /root/website/site/blocks/dsp_book_giveaway.cfm @ 21:30:28.028
select top 1 ezine_number, ezine_quote, ezine_quote_title
	    from ezines
	    where len(ezine_quote_title) > 1
	    order by newid()
get_free_newsletters (Datasource=bookbrowse_com_new, Time=0ms, Records=4, Cached Query) in /root/website/queries/qry_get_free_newsletters.cfm @ 21:30:28.028
SELECT 	*
    FROM 	free_newsletters
get_ads (Datasource=bookbrowse_com_new, Time=20ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 21:30: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.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=14ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:30:28.028
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=6ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 21:30:28.028
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=CFTOKEN=51d82ea8e895e625-FF73B889-B34A-E0DA-F8C9CC6F7660526D; CFGLOBALS=urltoken%3DCFID%23%3D4074675%26CFTOKEN%23%3D51d82ea8e895e625%2DFF73B889%2DB34A%2DE0DA%2DF8C9CC6F7660526D%23lastvisit%3D%7Bts%20%272026%2D05%2D31%2021%3A30%3A28%27%7D%23hitcount%3D12%23timecreated%3D%7Bts%20%272026%2D05%2D31%2021%3A30%3A24%27%7D%23cftoken%3Dbb2b7abded7a692b%2DFF73AAEC%2DA953%2D927E%2DF94111EC0E8380F0%23cfid%3D4074671%23; CFCLIENT_BOOKBROWSE=order%3Dp%23member%5Fnumber%3D0%23member%5Factive%5Fflag%3D0%23member%5Flogged%5Fin%5Fflag%3D0%23library%5Fuser%5Fflag%3D0%23view%3Dbooks%23; CFID=4074675
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/2854/nathan-hill
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=4074671
cftoken=bb2b7abded7a692b-FF73AAEC-A953-927E-F94111EC0E8380F0
hitcount=15
lastvisit={ts '2026-05-31 21:30:28'}
library_user_flag=0
member_active_flag=0
member_logged_in_flag=0
member_number=0
order=p
timecreated={ts '2026-05-31 21:30:24'}
urltoken=CFID=4074675&CFTOKEN=51d82ea8e895e625-FF73B889-B34A-E0DA-F8C9CC6F7660526D
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#=4074675&CFTOKEN#=51d82ea8e895e625-FF73B889-B34A-E0DA-F8C9CC6F7660526D#lastvisit={ts '2026-05-31 21:30:28'}#hitcount=12#timecreated={ts '2026-05-31 21:30:24'}#cftoken=bb2b7abded7a692b-FF73AAEC-A953-927E-F94111EC0E8380F0#cfid=4074671#
CFID=4074675
CFTOKEN=51d82ea8e895e625-FF73B889-B34A-E0DA-F8C9CC6F7660526D
Session Variables:
cfid=4074675
cftoken=51d82ea8e895e625-FF73B889-B34A-E0DA-F8C9CC6F7660526D
sessionid=BOOKBROWSE_4074675_51d82ea8e895e625-FF73B889-B34A-E0DA-F8C9CC6F7660526D
urltoken=CFID=4074675&CFTOKEN=51d82ea8e895e625-FF73B889-B34A-E0DA-F8C9CC6F7660526D
URL Parameters:
author_number=2854
nathan-hill=
Debug Rendering Time: 22 ms