Diane Setterfield Interview, plus links to author biography, book summaries, excerpts and reviews

Diane Setterfield

Diane Setterfield

How to pronounce Diane Setterfield: die-ann seter-field

An interview with Diane Setterfield

Diane Setterfield talks about her bestselling first novel The Thirteenth Tale, shares stories about her childhood, discusses whether it is true that there is a story within all of us, whether reading could be considered an addiction, and much else.

The scandalous secrets of the Angelfield family are a worthy addition to the most lauded of gothic novels. Where did you get the idea for this dark, sordid family history?

Quite honestly, I don't know. This book took three years to write and its real genesis was longer still: there was no single moment when I thought: Aha! What a great idea! Rather there was a slow and gradual accumulation of numerous small ideas.

Miss Winter's voice was the first element of the book to come to me, and that came from thinking about Patricia Highsmith's Ripley character. I had been considering what it must be like to know oneself to be one kind of person, whilst consistently giving in public the impression of being an entirely different kind of person. I was moved by the loneliness such a person might feel, and in one of those exhilarating rushes of inspiration (I wish there were more of them) dashed down a piece that later became Miss Winter's letter to Margaret. At that stage I didn't even know if it was the voice of a man or a woman.

Later I had a dream in which I was approaching the window of a large, dark house. The window was illuminated by a curious, living light. Realizing it was fire, I hurried forwards and saw two figures struggling in the flames . . . An ordinary enough dream, but one that haunted me with unusual persistence. It became the fire in The Thirteenth Tale.

Once I had a voice and an event, I started to write scenes in a rather tentative, experimental fashion. Little by little I worked out what the story was by following my characters.

The fact that the story should be about twins was in my mind very firmly from the early days, but I have no idea why. Just for the record, I am not a twin.

Themes of isolation, identity, and abandonment emerged gradually.

The main secret of the mystery (I won't spell it out here, in case anyone is reading who hasn't finished the book yet) came to me when I was walking home from the supermarket. I have to admit, it took me by surprise and I was inclined initially to disregard it -- Surely not? I remember thinking -- but it imposed itself in a determined fashion.
 

You were an academic before becoming an author. What prompted the change in careers?

British universities are not very happy places for their staff currently, and I gave up academic life for the same reasons as many others do and would like to do. In particular the erosion of my private reading time made me unhappy -- if I cannot escape for an hour or two every day by reading for pleasure, then small problems seem to grow large, and I begin to feel enormously burdened. After five years in the profession I was plagued by the feeling that by some absurd mistake I was leading someone else's life, and was desperate to find a path back to my own. I had always wanted to be a writer, but was impeded by the belief that to be a writer one had to be extraordinary, and I knew I wasn't. By the time I was ready to give up my academic career I had realized that whilst books are extraordinary, writers themselves are no more or less special than anyone else.
 

You specialize in 19th century French literature, particularly the works of Andre Gide. How does this background affect your writing? Are there any similarities between Gide and yourself?

I am sure my writing has been influenced by my study of French in a great many ways, and not only by the literature. There can be nothing to match the practice of translation for deepening one's understanding of one's own language. And I suspect an expert might be able to see, beneath my English prose style, the occasional shadow of a French structure. (Quite often if I am not sure how to phrase something, I try it in my mind in French, then come back to English; juggling like this often throws up the expression I am looking for.)

As for the literature, how could it not touch my writing? For reading is without doubt the single most important factor affecting my work. When I was writing my Ph.D. (which I did very slowly over a period of seven years or so) I read and reread half a dozen works by Gide over and over again. This kind of reading -- intense, obsessive, constant -- lays down rhythms in your mind that cannot easily be eradicated, and frequently when writing I am struck by phrases that to me have a distinctly Gidean cadence. For instance there is a section towards the end of The Thirteenth Tale that sounds to my ear just like a translation of Gide. It is the part that goes:

"As I stood up, I heard a sound. It was Aurelius, arriving at the lych gate. Snow had settled on his shoulders and he was carrying flowers.
'Aurelius!' How could he have grown so thin? So pale? 'You've changed,' I said.
'I have worn myself out on a wild goose chase.'"

At the time I wrote it and every time I have read it since, it seems to have echoes of a curious little book by Gide called Le Prométhée mal enchainé (Prometheus Misbound). And yet when for the purposes of answering this question I skimmed through it, I couldn't find a distinct textual twin. (I did find lots of references I'd forgotten to people in search of their stories). So why does my mind persist in hearing the echo? The explanation that most appeals to me is that there are hidden underground networks by which books pass secret messages to each other, networks that we readers and writers can only be half conscious of.

Any similarities between Gide and myself? I hope not. I don't think I'd have liked him much in real life. He was cruel to his wife, and in a fit of rage she set fire to the letters he had written to her. I don't blame her. And yet we have numerous preoccupations in common. This is entirely natural: I chose Gide for my Ph.D. because his books were about things I was already interested in. Questions of identity. The family -- though he expressed his fascination differently: "Familles, je vous haïs!" he wrote, famously (Families, I hate you!). The importance of storytelling. I've also borrowed one of his favorite devices: the use of a writer as a main character. My use of Miss Winter's thirteenth tale as my title and a recurring motif in the book also owes a lot to Gide. Finally, Gide often spoke about a phenomenon he called "dédoublement." By this he meant the splitting of the self into two: a self who acts, speaks, goes about in the world and has experiences, and a self who observes all this going on. When I first read about this I remember feeling that tingle you get when you recognize something of yourself in a piece of writing. But I imagine it's fairly common to sense oneself divided in this fashion.
 

Several 19th century novels are mentioned throughout the story, Jane Eyre in particular. What inspiration did you draw from these novels, and do they play any significant role in your life?

I was a child when I first read Jane Eyre. The book enthralled me, up to the death of Jane's friend Helen Burns. How I cried. But then, like Aurelius, I couldn't quite see the point of the rest of the book. I was too young, evidently. All my adult re-readings of the novel (which are not so numerous as Margaret's) have never quite erased the impression of that first reading. "My" Jane is still that unwanted child who finds friendship only to lose it again.

(WARNING: this next paragraph should be read only by people who have finished reading The Thirteenth Tale)

I had no grand plan in introducing Jane Eyre and other titles into The Thirteenth Tale. It seems curious to me now how they crept in. For creep they did, in silence and behind my back. It is impossible to reconstitute the processes of writing after the event, but to the best of my recollection it went something like this: Jane Eyre was the first actual book title to be mentioned. It came at a very early stage when I was writing odd scenes as they occurred to me, in a rather experimental fashion, as a way of figuring out what I could do with my characters. At this point the mystery of the girl in the mist was still a long way in the future. I wrote a piece about a girl climbing the bookshelves in the library at Angelfield House: she ends up slipping, bringing the curtains down with her and dislodging a book as she falls. The book was Jane Eyre. This passage never made it into The Thirteenth Tale, but Jane Eyre, having once got in, never left. Only much later, when the girl in the mist element came to be, did I realize the connection between Miss Winter's story and Jane's: the outsider in the family. So it's one of those instances where the writing was ahead of the writer in knowing what it was doing, and it illustrates the extent to which writing is more about discovery than invention.

The other titles -- well, as you might expect, they are favorites of mine. My sister discovered Wilkie Collins first, later we read him together. Lady Audley's Secret was my find, which I then shared with her. Like Doctor Clifton I love Sherlock Holmes. I gave Hester a blind spot about Henry James's The Turn of the Screw. The Castle of Otranto is one I haven't yet read -- I'm saving it.

I said there was no grand plan, and there wasn't, but once the titles started coming, I made no effort to keep them out. They are there because they are part of the inner furniture of Margaret's and Miss Winter's minds, and because I love them.
 

There are several sets of siblings in this novel, all examples of different kinds of relationships: Isabelle and Charlie; Margaret and her sister; Adeline and Emmeline; Tom and Emma. Do you have any siblings? If so, did your relationship with them inspire any of your characters' actions?

I'm the eldest of three girls. My mother is from a large family, so I have dozens of cousins, too. But I would hate anyone to assume that the dysfunctional relationships between (most of) the siblings in the book were in any way based on my own experience of sisterhood! (On the other hand, having read the book, my sister did feel compelled to apologies for hitting me over the head with a recorder when she was six and I was eight.)
 

Margaret says on page 4 that reading can be dangerous. In what ways do you think this is true, besides falling off of stonewalls while wrapped in a story?

Madame Bovary is the classic literary case study of the dangers of reading. Where Madame B tries to live life as though it were a certain kind of book, Margaret, as we see her at the beginning, is in the process of retreating from life altogether into a world where her only friends are the dead writers of the books she reads. The solace she derives from books is absolutely real. But is it dangerous?

I crave an existence where I live in a library/kitchen with an endless supply of food and books, and nothing to do but read and eat. I never seem to have enough time to read, and to be honest, I don't know how much reading I would need to feel properly satisfied. Twice as much as I have now? Three times as much? And how much before it gets dangerous? One of my reading group friends in Yorkshire is a doctor who works with homeless people; she spends a lot of her work time dealing with drug and alcohol addiction problems. When we were reading James Frey's A Million Little Pieces we found ourselves taking a detour into a conversation about whether reading could be considered an addiction. It is, after all, mind-altering. (I'd be interested to know just what happens inside the brain, chemically and structurally, when someone reads. It might shed light on the reading addiction question.) I know there are people who don't read fiction at all, and I find it hard to understand how they can bear to be inside the same head all the time (Aurelius isn't a big reader, is he? Apart from the recipe books). I find it so soothing to have another mind I can just hop into by opening a book. In fact if I have to get a train and I don't have enough reading with me, I can feel quite panicky. So am I addicted? And is it dangerous?

When I was doing my Ph.D. I used to work in a library part time to pay my fees. It was in a run down part of town. There was one woman I have never forgotten. She used to come in every day and select three or four of those short formulaic romances. The next day she would return them, having read them, and take three or four more. She was frequently bruised; her children looked wan and dirty and unhappy. I used to worry about them. I used to wonder what she made of the idealized relationships in the books she was reading, and the contrast with what I imagined her own home life to be. Was the reading an escape for her? Wouldn't it have been better for her to stop reading and escape in reality? Was the reading in itself a danger? Not so dangerous as the man who beat her, surely.

Margaret's retreat from the world would leave her feeling unbearably isolated if she did not have the indirect human contact that comes through reading. But if it is reading that makes it possible for her to withdraw into herself as she does, it is also reading that brings her back out: Thirteen Tales of Change and Desperation takes her first to Miss Winter, then to Aurelius, gradually she comes to feel able to have a more open relationship with her father and as we leave her she is contemplating changes of an even greater kind.

Is reading dangerous? I don't know. But I know one thing that is always dangerous, and that is not living. So I resist the lure of the kitchen/library. For now, at least.
 

One of the first things Miss Winter tells Margaret is that all children mythologize their births. Do you have any interesting stories to share about your own early years?

It took a long time for me to be born. It was summer, it was in the country, and the doctor and the midwife spent a lot of time in the garden: they were enchanted by the deer that came up to the fence for scraps. Meanwhile my Mum and I got on with things as best we could.
 

Your love of literature, and books in general, is palpable in the pages of your novel. Tell us a little about your relationship with books. Did you have a library growing up? Did you ever work in a bookstore like the one Margaret and her father operate?

I could write a whole book about my relationship with books! I suppose in a way I already have. You know my home town is called Reading? (It's pronounced Redding). My husband says if I ever wrote an autobiography I should call it A Reading Girl, for the play on words.

Looking over my answers to the other questions here (I am writing this answer last) it seems that my relationship to books is already indicated, explicitly or implicitly in many of them. So I hope it will be OK if I just add a few more fragments here.

  1. I came to reading early. It disappoints me that I can't remember learning to read. I wish I knew what it was like not to be able to do it.
  2. I was a timid child and very nervous. Like many children I found the world confusing and complicated, and from a very early age books appeared to me as a way of making sense of life. This is still what reading is, at heart, for me. There is a novel by Georges Perec called La Vie, Mode d'Emploi (Life, A User's Manual). Not only is it a marvelous novel, but it seems to me that its title is the invisible subtitle of every novel there has ever been.
  3. I have never worked in an antiquarian or second-hand bookshop, though I did once work in a library for a year, and in an ordinary bookshop for two weeks. However bookshops -- of all kinds -- are among my favorite places.
  4. I was a first-born, so I came into a home where there was no children's library ready and waiting. All the books I read came one by one into the house, at birthdays, Christmases, as treats after visits to the dentist. And there were never enough! I was always thirsting for more. Later there was the community library and the school library. Oddly even this didn't feel like enough. Later when I was working I could have bought all the books I wanted, but I didn't have the time to read . . . So always this feeling of needing MORE. (See question 6 and the addiction issue.)

On page 295 you describe Margaret as having a dream in which "everyone had someone else's face." You also write repeatedly about people having "stories." Do you believe that we all have stories? And, on some level, do you think the stories are all the same, but with different faces?

Does everyone have a story? Yes, yes, a thousand times yes. But it's not always the one we think we have.

Are the stories all the same? No.

There are all sorts of theories about how many basic stories there are, ranging from two (quest and siege) upwards. Someone said seven, I think. And someone else thought 19 (or was it 14?) Of course you can categorize stories like this if you choose; sometimes it's very useful to be able to do so. But in the real world of fiction the number of stories is infinite. I can't step outside my door, or turn on the radio, or pick up a newspaper without coming across new stories. This is because of human uniqueness. No matter how many people exist, there will never be two the same (even twins aren't the same), and this is so astonishing it stops me in my tracks every time I think about it. This is what makes the probably finite number of story types proliferate infinitely. In one sense, there is nothing new in The Thirteenth Tale. I take for granted that there is no plot or thematic element in it that couldn't be traced to another book already written. Yet at the same time it is an entirely new story, because it is Margaret's, and Aurelius's and Miss Winter's. This is more than just the same story with a different face. A different face implies a different vision, a different set of responses, different fears, different dreams, different desires. If you were to take a single set of events, and present them using two different sets of characters you wouldn't end up with the same story with two different faces. You would have two stories. I'm stating it in an unnecessarily complicated fashion perhaps. The short version is this: story is character. Characters are infinite. Therefore stories are infinite.
 

Aurelius wants to know the truth about his past, but Margaret tells him sometimes it's better not to know. Do you think it's best to always know the truth?

A tricky one, this. I remember at school studying Chekhov's Three Sisters. The girls feel intense nostalgia for their days in Moscow and dream endlessly about the day they will return. Through the course of the play it becomes clear they will never return. Yet they persist in the illusion. I remember long and passionate debates with our Russian teacher about the truth and whether or not it was better to know it. My classmates and I were all in favor of the truth, but what else would you expect? We were sixteen. Our teacher was older and wiser and very good at making us think. I am closer to his age now and less certain about the value of knowing the truth than I was. It all depends which truth we're talking about . . . And who is going to do the knowing (or not).

Certainly for myself I believe I would wish always to know the truth, but then I also wish never to have to face a truth I cannot bear. Being able to look the truth in the face might be brave, or it might just mean you have been lucky with the truth you were dealt.

Of course in the case of Margaret's parents and Miss Winter, the truths they hide do not belong only to them. There is one set of ethical considerations attached to the question of whether or not one might choose to know the truth; when it comes to telling the truth, it is an entirely different set.
 

Miss Winter tells Margaret that readers are fools for believing that writing is autobiographical. Well, it is -- but not in the way they think. Even in this strange and mysterious tale, there must be something of you. What, if anything, is autobiographical about this novel?

Most obviously my passion for books and reading. The passages about reading are generally fairly direct representations of my own experience. I am with Margaret's father in being a lover of contemporary literature as well as the nineteenth-century novels that she so adores. I found that the passages about reading came very easily, and in comparison with the rest of the text they needed little revising. When I was struggling with writing the book, it was to these passages that I would turn for reassurance. "Yes," I would think, "I'm on the right track." So in terms of actually producing the book, this autobiographical aspect was central.

In every other respect I think autobiographical factors have had only the slightest and most indirect part in the making of the book. Margaret was the last character to fall into place, and I remember at one point thinking that if I made her a self-portrait it might be easier to write her. But I felt this was the cheat's way out, and that the book would be the weaker because of it. So I persisted, and little by little she revealed herself. I'm glad I waited.

My husband did point out that the name Adeline contains all the letters of Diane. Is this a coincidence? And if not, what does it mean? I don't know.

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 Diane Setterfield at BookBrowse
Once Upon a River jacket Bellman & Black jacket The Thirteenth Tale 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 Diane Setterfield 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

  • Sally Beauman

    Sally Beauman

    Sally Beauman was born in England, in Devon, educated at a girls' school in the West Country, and then read English Literature at Girton College, Cambridge where she graduated in 1966 with an MA in English Literature.

    ... (more)

    If you enjoyed:
    The Thirteenth Tale

    Try:
    The Sisters Mortland
    by Sally Beauman

  • Michael Cox

    Michael Cox

    Michael Cox was born in Northamptonshire in 1948. After graduating from Cambridge in 1971, he went into the music business as a songwriter and recording artist, releasing two albums and a number of singles for EMI under the ... (more)

    If you enjoyed:
    The Thirteenth Tale

    Try:
    The Meaning of Night
    by Michael Cox

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

When men are not regretting that life is so short, they are doing something to kill time.

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 02:53 AM
Locale en
User Agent Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Remote IP 127.0.0.1
Host Name 127.0.0.1


Execution Time

Total Time Avg Time Count Template
1780282406487 ms 1.78028240649E+012 ms 1 /root/website/app_server.cfm
383 ms 383 ms 1 /root/website/author_interviews/full/index.cfm
126 ms 126 ms 1 /root/website/author_interviews/full/dsp_main.cfm
94 ms 94 ms 1 /root/website/app_layout.cfm
73 ms 37 ms 2 /root/website/queries/qry_get_books_by_author_id.cfm
66 ms 66 ms 1 /root/website/site/blocks/layout/dsp_right_column.cfm
65 ms 65 ms 1 /root/website/app_globals.cfm
52 ms 52 ms 1 /root/website/queries/qry_get_books_by_author_id_lite.cfm
51 ms 17 ms 3 /root/website/adsystem/adsystem_mod.cfm
22 ms 22 ms 1 /root/website/site/blocks/dsp_border_first_impressions.cfm
22 ms 22 ms 1 /root/website/site/blocks/layout/dsp_footer.cfm
21 ms 21 ms 1 /root/website/queries/qry_get_arcs_for_ad.cfm
20 ms 20 ms 1 /root/website/adzones/showcase_track.cfm
20 ms 20 ms 1 /root/website/queries/qry_get_bb_briefs_by_author.cfm
18 ms 18 ms 1 /root/website/queries/qry_get_active_obc.cfm
18 ms 18 ms 1 /root/website/queries/qry_get_current_competition.cfm
18 ms 6 ms 3 /root/website/site/blocks/membership_advantages.cfm
17 ms 6 ms 3 /root/website/queries/qry_get_member_account_types.cfm
16 ms 16 ms 1 /root/website/adzones/AdZone2.cfm
16 ms 16 ms 1 /root/website/adzones/AdZone6.cfm
11 ms 11 ms 1 /root/website/queries/qry_get_all_books_by_author_id.cfm
11 ms 11 ms 1 /root/website/queries/qry_get_author_readalikes_by_id.cfm
11 ms 11 ms 1 /root/website/site/blocks/dsp_border_booktalk.cfm
7 ms 7 ms 1 /root/website/actions/adstatus.cfm
7 ms 7 ms 1 /root/website/queries/qry_get_current_wordplay.cfm
6 ms 6 ms 1 /root/website/site/blocks/dsp_book_giveaway.cfm
3 ms 3 ms 1 /root/website/act_check_login.cfm
3 ms 1 ms 4 /root/website/actions/act_spider_tracker.cfm
3 ms 3 ms 1 /root/website/queries/qry_get_member_info.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_current_ezine.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_free_newsletters.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_previous_arcs_for_ad.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/dsp_bottom_block.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/dsp_header.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/site/blocks/dsp_header_newsletter.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_top_author_block.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_wordplay.cfm
0 ms 0 ms 1 /root/website/site/blocks/email_modal.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/google_tags.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/head.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/header_announcement.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/main_menu.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/main_search.cfm
2 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
385 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 @ 02:53:26.026
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=2ms, Records=0) in /root/website/queries/qry_get_member_info.cfm @ 02:53:26.026
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=6ms, Records=2) in /root/website/actions/adstatus.cfm @ 02:53:26.026
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 @ 02:53:26.026
select		top 1 ezine_number, ezine_dt, ezine_image, ezine_brief_description, ezine_introduction
from		ezines
where		ezine_active_flag = 1
and 		ezine_type_number = 4
and			ezine_dt < getdate()
order by 	ezine_dt DESC
get_current_wordplay (Datasource=bookbrowse_com_new, Time=6ms, Records=1) in /root/website/queries/qry_get_current_wordplay.cfm @ 02:53:26.026
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=5ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 02:53:26.026
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=12ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 02:53:26.026
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 @ 02:53:26.026
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 @ 02:53:26.026
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=7ms, Records=1) in /root/website/queries/qry_get_active_obc.cfm @ 02:53:26.026
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=7ms, Records=4) in /root/website/queries/qry_get_active_obc.cfm @ 02:53:26.026
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=13ms, Records=2) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 02:53:26.026
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) = 1376

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=37ms, Records=1) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 02:53:26.026
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) = 1376

get_all_books_by_author_id (Datasource=bookbrowse_com_new, Time=10ms, Records=3) in /root/website/queries/qry_get_all_books_by_author_id.cfm @ 02:53:26.026
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) = 1376
Parameter #2(CF_SQL_INTEGER) = 1376

get_bb_briefs_by_author (Datasource=bookbrowse_com_new, Time=20ms, Records=1) in /root/website/queries/qry_get_bb_briefs_by_author.cfm @ 02:53:26.026
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) = 1376

get_author_readalikes_by_id (Datasource=bookbrowse_com_new, Time=10ms, Records=22) in /root/website/queries/qry_get_author_readalikes_by_id.cfm @ 02:53:26.026
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) = 1376

get_ads (Datasource=bookbrowse_com_new, Time=10ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 02:53:26.026
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=4ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 02:53:26.026
SELECT	a.adid,	adweight
        FROM	adsystem a
        WHERE	a.section = ? 
        AND 	a.active  = 1 
        AND		a.start_date <= GETDATE()	
        
        AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
        AND (select count(*) from ad_category_mapping where datalength(category_number) >= 1 and adid = a.adid) = 0
Query Parameter Value(s) -
Parameter #1(CF_SQL_VARCHAR) = adzone2

get_member_account_types (Datasource=bookbrowse_com_new, Time=7ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 02:53:26.026
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=6ms, Records=1) in /root/website/actions/udfs.cfm @ 02:53:26.026
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) = 3858

get_book_image (Datasource=bookbrowse_com_new, Time=5ms, Records=1) in /root/website/actions/udfs.cfm @ 02:53:26.026
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) = 1877

get_member_account_types (Datasource=bookbrowse_com_new, Time=5ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 02:53:26.026
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=14ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 02:53:26.026
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) = 1259
Parameter #2(CF_SQL_INTEGER) = 1259
Parameter #3(CF_SQL_INTEGER) = 1259

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

get_books_by_author_id (Datasource=bookbrowse_com_new, Time=22ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 02:53:26.026
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) = 1371
Parameter #2(CF_SQL_INTEGER) = 1371
Parameter #3(CF_SQL_INTEGER) = 1371

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=23ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 02:53:26.026
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) = 1371

get_member_account_types (Datasource=bookbrowse_com_new, Time=3ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 02:53:26.026
select member_account_type_number, member_account_type_name, member_account_type_charge, member_account_type_charge_frequency, member_account_type_postscript, member_account_type_months, member_account_type_stripe_lookup_key
from member_account_types
where member_account_type_number = (select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 12
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
or member_account_type_number =		(select top 1 member_account_type_number
									from member_account_types
									where member_account_type_months = 3
									and member_account_type_public = 1
									order by member_account_type_charge ASC)
									
order by member_account_type_sort_order ASC
get_arcs_for_ad (Datasource=bookbrowse_com_new, Time=12ms, Records=0) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 02:53:26.026
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=7ms, Records=3) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 02:53:26.026
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=5ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 02:53:26.026
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=4ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 02:53:26.026
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=2ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 02:53:26.026
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=5ms, Records=1) in /root/website/site/blocks/dsp_book_giveaway.cfm @ 02:53:26.026
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 @ 02:53:26.026
SELECT 	*
    FROM 	free_newsletters
get_ads (Datasource=bookbrowse_com_new, Time=6ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 02:53:26.026
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=7ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 02:53:26.026
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 @ 02:53:26.026
SELECT	a.start_date, a.adid, a.end_date, a.camp_views, a.image_name, a.alt_text, a.views, a.code, a.adsize
        FROM	adsystem a
        WHERE	a.adid = ?
Query Parameter Value(s) -
Parameter #1(CF_SQL_INTEGER) = 594


Scope Variables

CGI Variables:
AUTH_PASSWORD=
AUTH_TYPE=
AUTH_USER=
CERT_COOKIE=
CERT_FLAGS=
CERT_ISSUER=
CERT_KEYSIZE=
CERT_SECRETKEYSIZE=
CERT_SERIALNUMBER=
CERT_SERVER_ISSUER=
CERT_SERVER_SUBJECT=
CERT_SUBJECT=
CF_TEMPLATE_PATH=/root/website/author_interviews/full/index.cfm
CONTENT_LENGTH=
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=
HTTPS=
HTTPS_KEYSIZE=
HTTPS_SECRETKEYSIZE=
HTTPS_SERVER_ISSUER=
HTTPS_SERVER_SUBJECT=
HTTP_ACCEPT=*/*
HTTP_ACCEPT_ENCODING=gzip, br, zstd, deflate
HTTP_ACCEPT_LANGUAGE=
HTTP_CONNECTION=upgrade
HTTP_COOKIE=CFGLOBALS=urltoken%3DCFID%23%3D4083040%26CFTOKEN%23%3D5c7ab8809ad80942%2D0AFDC8BD%2DA7AB%2D91C8%2DA45DE6BE4747E9A1%23lastvisit%3D%7Bts%20%272026%2D06%2D01%2002%3A53%3A26%27%7D%23hitcount%3D130%23timecreated%3D%7Bts%20%272026%2D06%2D01%2002%3A53%3A04%27%7D%23cftoken%3D9aa61cc6332995c1%2D0AFDB632%2DD4D4%2D3B42%2D632BF6CA9BC2C822%23cfid%3D4083035%23; FREEACCESSCOUNT=0; CFCLIENT_BOOKBROWSE=order%3Dp%23member%5Fnumber%3D0%23member%5Factive%5Fflag%3D0%23member%5Flogged%5Fin%5Fflag%3D0%23library%5Fuser%5Fflag%3D0%23view%3Dbooks%23; CFTOKEN=5c7ab8809ad80942-0AFDC8BD-A7AB-91C8-A45DE6BE4747E9A1; CFID=4083040
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/1376/diane-setterfield
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=4083035
cftoken=9aa61cc6332995c1-0AFDB632-D4D4-3B42-632BF6CA9BC2C822
hitcount=133
lastvisit={ts '2026-06-01 02:53:26'}
library_user_flag=0
member_active_flag=0
member_logged_in_flag=0
member_number=0
order=p
timecreated={ts '2026-06-01 02:53:04'}
urltoken=CFID=4083040&CFTOKEN=5c7ab8809ad80942-0AFDC8BD-A7AB-91C8-A45DE6BE4747E9A1
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#=4083040&CFTOKEN#=5c7ab8809ad80942-0AFDC8BD-A7AB-91C8-A45DE6BE4747E9A1#lastvisit={ts '2026-06-01 02:53:26'}#hitcount=130#timecreated={ts '2026-06-01 02:53:04'}#cftoken=9aa61cc6332995c1-0AFDB632-D4D4-3B42-632BF6CA9BC2C822#cfid=4083035#
CFID=4083040
CFTOKEN=5c7ab8809ad80942-0AFDC8BD-A7AB-91C8-A45DE6BE4747E9A1
FREEACCESSCOUNT=0
Session Variables:
cfid=4083040
cftoken=5c7ab8809ad80942-0AFDC8BD-A7AB-91C8-A45DE6BE4747E9A1
sessionid=BOOKBROWSE_4083040_5c7ab8809ad80942-0AFDC8BD-A7AB-91C8-A45DE6BE4747E9A1
urltoken=CFID=4083040&CFTOKEN=5c7ab8809ad80942-0AFDC8BD-A7AB-91C8-A45DE6BE4747E9A1
URL Parameters:
author_number=1376
diane-setterfield=
Debug Rendering Time: 18 ms