Paula Kamen Interview, plus links to author biography, book summaries, excerpts and reviews

Paula Kamen

Paula Kamen

How to pronounce Paula Kamen: kay-min

An interview with Paula Kamen

Paula Kamen, author of All In My Head, discusses her 15-year headache, the many treatments, conventional and otherwise, she has sought and her views on how the medical community supports people with chronic pain.

Your book is about a headache that you've had, continuously, for over a decade. How did it start?
Well, my Headache and I are actually celebrating our 15-year anniversary together soon. I think it's the paper anniversary, or the crystal one, I'm not sure.

I have what has been officially classified by doctors in the last decade as "chronic daily headache," or headache that happens at least 15 days/month for at least four hours at a time. (In past decades, this has been called a "mixed headache," meaning a mixture of migraine and tension headache.) Recent studies show that this afflicts 4 percent of the population. I am "lucky" to have the type that is CONSTANT, hitting about .5 percent (about the same number that have epilepsy) of the population. But since chronic headaches are mainly experienced by women of reproductive age, chronic daily headache is thought to happen to 10 percent of them.

When did it start?
I got my first real bad one in the spring of 1991 as I was putting in a contact lens, and the left one seemed to set off a mother of a headache in the left eye and behind it. I stopped wearing the lenses, but then the pain just started happening on its own. Over the course of about six months, it became continuous. But knowing what I know now about chronic pain, I think it had been building up and gaining steam behind the scenes for a while, but it wasn't bad enough to really notice.

Describe the headache for us. How bad is it on a scale of one to ten, and how do you manage it on a daily basis?
It's usually moody, largely cruel, and always absurd. It's about a 4 on most days most of the time, fluctuating between 2-6 through the week.

Through the years, I have learned a lot about managing pain and still trying to live life in the present, despite it all. In the book, I call this state of mind, "The Waiting Place." It's when life is not ideal, but you still have to go on the best you can. I have learned how to live in this place through trial and error, the hard way, as I probably have learned everything in life. Much of it has to do with very simple principles, such as getting enough sleep and keeping a slow and not frenetic pace. I work about 4-6 hours/day, at the same time every day, instead of about double that and at all hours, which is what I did before this happened. Sometimes I feel lazy, but I have to remind myself that in some cultures, this would be normal. I'm not a slacker. I'm just acting like I'm Swedish!

As I discuss in the book, I also have been helped in daily life by Eastern philosophy--by learning how to better detach myself emotionally and mentally from the pain. It doesn't always work, and is much easier said than done--but I'm in a better place than in the beginning when I was constantly embroiled in frustration and anger with it. So much of suffering is not just physical pain, but all the meaning we give to it.

What treatments--conventional and otherwise--did you seek? Or would it be easier to tell us what treatments you didn't seek?
Yes, to best boil it down I would say I did NOT do:

· Colonic irrigation OR
· Jews for Jesus

I did traditional Western medicine for years (which means, basically, lots and lots of drugs) and then alternative medicine in its myriad forms. The good and the bad news is that when you have a headache, there is an ENDLESS amount of things that you can do about it. Endless. It seems that about everyone I have met gives me a referral to what supposedly worked for them or their cousin or their neighbor. Then I feel compelled to try it, in case it is THE ONE thing I have been waiting for to cure me.

Like most people with chronic pain, I now use both Western and alternative medicine. Over the years, I have learned how to be more judicious with both, to advocate for myself to avoid dangerous drugs and also flushing too much money down the toilet with those thrice weekly acupuncture or chiropractor sessions.

Chronic pain causes more disability than cancer and heart disease combined. Yet we hear much less about it. Why do you think that is?
Well, an unfortunate and tragic thing is that there are no famous celebrities with chronic pain--or at least that have felt safe enough to "come out" with it. In this country, no disease is real until a Big Star gets it. I'm waiting for the Michael J. Fox or Christopher Reeve of Headaches to emerge. I was recently excited to learn that the lead singer of the band Wilco, Jeff Tweedy, has bad migraines, but I am not sure if he's a household name. Lynda Carter, who played Wonder Woman in the 1970s TV series, has come out with back pain, but her show may have been too long ago for most folks to remember.

Other reasons why chronic pain is only really coming out now: It mainly happens to women, therefore devaluing it as "real." It lacks drama, like the cancer victim on the deathbed. There are no pink ribbons for us, as public awareness is just starting. No one is running a marathon for me! And it's not necessarily deadly (except, of course, for being a typical motivation for suicide, such as depression is). And, like other neurological problems, chronic pain is a very INVISIBLE form of disability.

Chronic pain as an issue compares most closely to that of depression, which probably was in the same point of beginning public acceptance a decade ago. (By the way, chronic headaches and depression are very similar neurologically, with some just seeing them as two different sides of the same coin.) At that time, depression became more legitimized as "real" because of the effectiveness of Prozac, which showed that this disorder is a chemical imbalance, not the person just being lazy. Also, well-known memoirs, like Elizabeth Wurtzel's Prozac Nation, helped build awareness.

So chronic pain has really lacked that kind of "blockbuster" drug to legitimize us, to also conquer stereotypes (of pain as a moral failing, unique to affluent whiners, etc.). It's true that those with more episodic migraines have gotten some legitimization with the generally effective triptans, which were first introduced in the 1990s. That includes Imitrex, Relpax, Amerge, etc. But those of us with constant headache have not been as fortunate in our treatment.

And all types of chronic headaches, such as migraine, carry much stigma because not only are their primarily experienced by women, but they are made worse by hormones (associated with crazy emotions) and take place in the head (associated with mental facilities).

In general, how well do you think the medical community supports those with chronic pain? With headaches, specifically?
I consider this book partly an "exposé" about how completely inadequate pain-care is, including the limited types of drugs that are available--at least over the long term. The over-the-counter (OTC) medications cannot be taken daily, or else "rebound" headaches often occur. The stronger medications, like narcotics, can turn one into a drooling zombie. The daily "preventives" available for chronic daily headache (which I have) are inadequate, typically with lots of side effects and low effectiveness rates.

But many people with pain do not know this, thinking that they are the "only ones" who are "unresponsive" to drugs and "mind over matter." For years, for this reason, I was loaded with guilt and self-blame.

The irony is that modern technology has indeed progressed so much, to be able to fix technical things like excising a brain tumor or re-attaching a severed arm. But when it comes to something apparently simple like a headache, it comes up short. In reality, not only do we need better drugs, but treating pain also requires much individualized treatment, as each case is different. This requires a time commitment for communication between doctor and patient, which is more expensive than just something like giving someone a shot. And research has really lagged behind in this area. While pain accounts for 20 percent of medical visits and 10 percent of prescription drug sales, it only represents 0.6 percent of National Institutes of Health research funds.

According to the Centers for Disease Control, the prevalence of migraine has increased sixty percent over the past decade. To what is this increase attributed?
Part of it, I think, is awareness. I think that chronic headaches have not gone up, but awareness of them has. Just like I don't think that sexual harassment and acquaintance rape or people being born gay have gone up over the past decade, but public consciousness of it has. The good news is that younger women (who are at a time of life where people first typically get chronic headaches) now feel a greater sense of entitlement to "come out" about them, not just seeing them as "just life." This is true in feeling more of a sense of entitlement to not be sexually harassed or raped, even if we were wearing "sexy" clothing, or feeling entitled to "come out" about other things, such as being a lesbian.

I also think that rampant use of over-the-counter medications is causing "rebound headaches" in many people, making their pain worse. Oddly, most people do not know about this extremely common effect.

How has this headache changed your life? Your relationships?
Having chronic pain influences EVERY aspect of life. Again, I compare the experience of it to depression, where it's something "invisible" and stigmatized that you're secretly struggling with. As far as career, I am lucky that I am in a profession, as a freelance journalist, to be able to make my own hours and work at those times of day when I feel better. As proof that my management skills have improved, my last book took me 8 years, and this took fewer than 2. Overall, I have to just make sure to ration my energy very carefully. I have enough to get by, but no surplus.

But as far as with my personal life, as a single person, things have gotten easier recently. As I get older (I'm 37) I see that everyone has something, some sort of baggage they bring to the table (such as a divorce, kleptomania, being a control freak, some other neurosis). That's a "good" thing about getting older--others are increasingly finding their limits, like me. I'm also grateful that so many men are so self-absorbed that they don't notice when I'm practically doubling over in pain.

An estimated 45 million Americans suffer from chronic pain. According to a 2002 Time magazine article, at least 28 million Americans battle chronic headaches, specifically. What advice do you have for them? For their family and friends?
A message to all of them: this is a real neurological disease, possibly a progressive one if not treated properly, and it should be taken seriously. A MAJOR confusion on the part of friends and family is that it is "just stress." This confuses a trigger with the root cause (a neurological over-excitability of the brain). In reality, yes, stress and emotion can make pain worse. But this is like with any other disease, such as diabetes or Parkinson's. The reality is that the person has to have a genetic predisposition to chronic headache. Some people's brains aren't even wired to be able to have headaches at all. And, besides, most headaches do not have any one identifiable trigger (such as stress or eating the wrong foods or weather changes). So too often, too much pressure is put on the chronic-headache sufferer to "control" the environment. This is a double standard that I don't see with other diseases.

In what way is this a women's issue?
Like I said, we just have to look at the numbers to see why: In the past decade, new data has become available to prove this, such as the following:

  • About 18 percent of women experience migraine, compared to 6 percent of men. (However, until puberty, the rates of headaches in boys and girls are about even, with boys experiencing slightly more by some accounts.)
  • Up to one-third of women between the ages of 25 and 55 have migraine.
  • Women are about 50 percent more likely to have temporomandibular disorders, also known as TMJ, or jaw pain, experienced by 4-12 percent of the population.
  • Women are twice as likely to suffer from Irritable Bowel Syndrome, experienced by 15-20 percent of the population.
  • Women are 2.5 times more likely to have rheumatoid arthritis, an autoimmune disorder of 1 percent of the population.
  • Women are 0.5 to 4 times more likely to have osteoarthritis, a disorder typically striking up to 80 percent of the population after age 65.
  • Women are 9 times more likely to develop interstitial cystitis, a chronic and often painful inflammation of the bladder, affecting about 0.5 percent of the population.

Why does chronic pain hit women more?
We are basically more wired neurologically for it. In the past, Freudian psychoanalysis explained pain as mostly mental in nature, as "psychosomatic." But now, recognizing real neurological differences that cause this, thanks to modern brain scans in part, doctors are using the brand-new word "neurosomatic," which is much more validating. Women also have the added triggers of hormones, which can make pain worse. And their differing immune systems may also contribute to the effect.

But it's important to also state that men have their own share of disorders; they are much more likely to be autistic, schizophrenic, suicidal, and alcoholic. And there is great variation even among those of the same gender, where just being a woman does not mean that one will get chronic pain, just like being a man doesn't mean that one will be autistic.

But I think it's important to start framing chronic pain as a women's issue for political reasons, to encourage more social support, organizing, and awareness, and make links among all these pain syndromes as related. We need to unite to see this as a common cause. The women's health movement, a separate branch of the women's movement that emerged in the 1970s, did wonders for the field of obstetrics and gynecology, such as transforming a woman's childbirth options. But we still have a LONG way to go in neurology, which has been dominated by men and has been more "invisible" in nature to tackle.

Also, like gays before the last decade, we have had a big reason to "stay in the closet." After all, women have been struggling politically to prove that we are NOT weak, that we are "just like everyone else," and so these issues, involving differences, have not been in vogue for the movement to discuss publicly.

But now, 40 years after the Second Wave of feminism, I'm hoping that as a member of the next generation (and that is the focus of my last two books), I can now feel secure enough to talk about women's "weaknesses" as well as their strengths. After all, even Wonder Woman has chronic pain! (This dialogue is parallel to younger women feeling more entitled to talk about a preference to be a stay-at-home mom or ask about family leave. They have less to prove now.) We know that we can have weaknesses as women, (like men do) but still deserve equal rights.

The title of your book has a double meaning, does it not?
Yes, speaking of Freud, medical and popular views of chronic pain through the past 100 years have been very demeaning to patients, largely blaming it as being "all in our heads." In the late 19th century, in a concerted effort to be "scientific," doctors stated that if something is not "visible," such as under a microscope, then it doesn't exist. So then the treatment of pain was passed on from doctors to psychiatrists. But this is reversing somewhat with new brain scans that show real neurological events related to it.

But this legacy still remains, sadly. As a result, besides having to deal with the pain, the chronic pain sufferer also suffers from constantly being "on trial." Stereotypes thrive of us as malingerers, complainers, etc.--and, as a result, we constantly are in the position of staying in the closet about it or trying to "prove" the pain as real.

We still have a long way to go to recognize chronic daily headache as a neurological disease in the public. We need to work to counter the Freudian analysis of "secondary gain," which views chronic pain as especially psychosomatic when it's most severe. Then it is seen as a "motivation" to avoid something else. But in reality, we all have things in life we would like to avoid and someone can always find a "secret motivation" in anyone for having it.

Did other books inspire you to write this one?
Yes, I was most inspired by Caroline Knapp's 1996 memoir Drinking: A Love Story. I admired how she portrayed a very common "secret" world that defines so many lives. Like alcoholics, chronic pain sufferers are constantly hiding a large part of their lives. I also liked her innovation of complementing her memoir with research, so that the story did not just start and end with herself. This also helped the reader understand her experiences more, put them in context, as not just totally idiosyncratic or unique to her.

As a journalist, I went a bit further with even more reporting in this book because headaches are SO MISUNDERSTOOD. I couldn't just tell ONLY about my experience because I would seem totally insane. I had to give statistics about this ailment and interview others about their experiences. I also went a step further to make this book a black comedy, which happened naturally, because of the sheer absurdity of trying so many crazy treatments in desperation and having a stupid headache for 15 years. I also, actually, have always been very interested in humorous writing, writing satires for quirky magazines for years, but have never had quite the chance to do it in book form.

I was also influenced by major memoirs of my "formative" years that helped to destigmatize depression, such as Susanna Kaysen's Girl, Interrupted and Elizabeth Wurztel's Prozac Nation. Besides Drinking: A Love Story, probably the book most similar to mine in memoir and reporting style is Andrew Solomon's Noonday Demon, about depression.

How is your headache right now?
About average. Maybe a bit worse, a 5 out of 10, since I was up late last night. I turned in the book to the publisher today! But, that's to be expected. Once in a while, the pain patient has to accept that it's going to be worse on some days, but it's worth it to participate more fully in life.

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 Paula Kamen at BookBrowse
Finding Iris Chang jacket All In My Head 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 Paula Kamen 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

  • Kurt Eichenwald

    Kurt Eichenwald

    Kurt Eichenwald has written for the New York Times for more than 17 years. A two-time winner of the George Polk Award for Excellence in Journalism and a finalist for the 2000 Pulitzer Prize for investigative reporting, he has... (more)

    If you enjoyed:
    All In My Head

    Try:
    A Mind Unraveled
    by Kurt Eichenwald

  • Susanna Kaysen

    Susanna Kaysen

    Susanna Kaysen was born on 11 November, 1948, and raised in Cambridge, Massachusetts. Her father is the economist Carl Kaysen (b.1920), formerly a professor at MIT and advisor to President John F. Kennedy.  In 1967 ... (more)

    If you enjoyed:
    All In My Head

    Try:
    Girl, Interrupted
    by Susanna Kaysen

We recommend 8 similar authors

View all 8 Read-Alikes

Non-members can see 2 results. Become a member
Membership Advantages
  • Reviews
  • "Beyond the Book" articles
  • Free books to read and review (US only)
  • Find books by time period, setting & theme
  • Read-alike suggestions by book and author
  • Book club discussions
  • and much more!
  • Just $60 for 12 months or $20 for 3 months.
  • More about membership!

BookBrowse Book Club

Book Jacket
The Cover Girl
by Amy Rossi
Find them early enough, and they will always be her girls.

Members Recommend

  • Book Jacket
    The Sister's Curse
    by Nicola Solvinic
  • Book Jacket
    The Lost Story of Eva Fuentes
    by Chanel Cleeton
    A mysterious book links three women across generations in this novel by New York Times bestselling author Chanel Cleeton.
  • Book Jacket
    The Vanishing Place
    by Zoë Rankin
Who Said...

Discovery consists of seeing what everybody has seen and thinking what nobody has thought.

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 04:14 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
1780287239752 ms 1.78028723975E+012 ms 1 /root/website/app_server.cfm
544 ms 544 ms 1 /root/website/author_interviews/full/index.cfm
227 ms 227 ms 1 /root/website/app_layout.cfm
131 ms 131 ms 1 /root/website/author_interviews/full/dsp_main.cfm
129 ms 129 ms 1 /root/website/app_globals.cfm
113 ms 113 ms 1 /root/website/site/blocks/layout/dsp_footer.cfm
105 ms 105 ms 1 /root/website/site/blocks/layout/dsp_right_column.cfm
103 ms 34 ms 3 /root/website/adsystem/adsystem_mod.cfm
62 ms 62 ms 1 /root/website/queries/qry_get_active_obc.cfm
56 ms 28 ms 2 /root/website/queries/qry_get_books_by_author_id.cfm
46 ms 46 ms 1 /root/website/adzones/AdZone6.cfm
43 ms 43 ms 1 /root/website/adzones/showcase_track.cfm
34 ms 34 ms 1 /root/website/site/blocks/dsp_border_first_impressions.cfm
33 ms 33 ms 1 /root/website/queries/qry_get_arcs_for_ad.cfm
27 ms 9 ms 3 /root/website/site/blocks/membership_advantages.cfm
26 ms 9 ms 3 /root/website/queries/qry_get_member_account_types.cfm
25 ms 25 ms 1 /root/website/queries/qry_get_books_by_author_id_lite.cfm
22 ms 22 ms 1 /root/website/adzones/AdZone2.cfm
22 ms 22 ms 1 /root/website/queries/qry_get_author_readalikes_by_id.cfm
18 ms 18 ms 1 /root/website/queries/qry_get_current_competition.cfm
18 ms 18 ms 1 /root/website/site/blocks/dsp_book_giveaway.cfm
14 ms 14 ms 1 /root/website/act_check_login.cfm
14 ms 14 ms 1 /root/website/queries/qry_get_member_info.cfm
11 ms 11 ms 1 /root/website/queries/qry_get_current_wordplay.cfm
10 ms 10 ms 1 /root/website/actions/adstatus.cfm
6 ms 2 ms 4 /root/website/actions/act_spider_tracker.cfm
3 ms 3 ms 1 /root/website/queries/qry_get_bb_briefs_by_author.cfm
3 ms 3 ms 1 /root/website/site/blocks/layout/dsp_header.cfm
2 ms 2 ms 1 /root/website/queries/qry_get_all_books_by_author_id.cfm
1 ms 1 ms 1 /root/website/queries/qry_get_previous_arcs_for_ad.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/dsp_bottom_block.cfm
1 ms 1 ms 1 /root/website/site/blocks/layout/head.cfm
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_free_newsletters.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_border_booktalk.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_header_newsletter.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_top_author_block.cfm
0 ms 0 ms 1 /root/website/site/blocks/dsp_wordplay.cfm
0 ms 0 ms 1 /root/website/site/blocks/email_modal.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/google_tags.cfm
0 ms 0 ms 1 /root/website/site/blocks/layout/header_announcement.cfm
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
18 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
562 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

spidercheck (Datasource=bookbrowse_com_new, Time=6ms, Records=1) in /root/website/actions/act_spider_tracker.cfm @ 04:13:59.059
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=14ms, Records=0) in /root/website/queries/qry_get_member_info.cfm @ 04:13:59.059
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 @ 04:13:59.059
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 @ 04:13:59.059
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=11ms, Records=1) in /root/website/queries/qry_get_current_wordplay.cfm @ 04:13:59.059
SELECT		a.wordplay_number, a.wordplay_dt, a.wordplay_name, a.wordplay_intro_text, b.wordplay_puzzle_number, b.wordplay_puzzle_question
    FROM		wordplays a 
	INNER JOIN	wordplay_puzzle_mapping c on c.wordplay_number = a.wordplay_number
	INNER JOIN	wordplay_puzzles b on b.wordplay_puzzle_number = c.wordplay_puzzle_number
	WHERE		a.wordplay_number = (	select top 1 a.wordplay_number
                                from wordplays a, wordplay_puzzles b, wordplay_puzzle_mapping c
                                where a.wordplay_number = c.wordplay_number
                                and b.wordplay_puzzle_number = c.wordplay_puzzle_number
                                and a.wordplay_dt < getdate()
                                and a.wordplay_expiration_dt > dateadd(day, -1, getdate())
                                order by a.wordplay_dt asc
                                )
get_ComNo (Datasource=bookbrowse_com_new, Time=8ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 04:13:59.059
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=9ms, Records=0) in /root/website/queries/qry_get_current_competition.cfm @ 04:13:59.059
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 @ 04:13:59.059
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=13ms, Records=0) in /root/website/queries/qry_get_active_obc.cfm @ 04:13:59.059
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=14ms, Records=1) in /root/website/queries/qry_get_active_obc.cfm @ 04:13:59.059
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=32ms, Records=4) in /root/website/queries/qry_get_active_obc.cfm @ 04:13:59.059
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=6ms, Records=1) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 04:13:59.059
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) = 1111

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=19ms, Records=1) in /root/website/queries/qry_get_books_by_author_id_lite.cfm @ 04:13:59.059
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) = 1111

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

get_bb_briefs_by_author (Datasource=bookbrowse_com_new, Time=1ms, Records=1) in /root/website/queries/qry_get_bb_briefs_by_author.cfm @ 04:13:59.059
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) = 1111

get_author_readalikes_by_id (Datasource=bookbrowse_com_new, Time=21ms, Records=8) in /root/website/queries/qry_get_author_readalikes_by_id.cfm @ 04:13:59.059
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) = 1111

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

get_member_account_types (Datasource=bookbrowse_com_new, Time=6ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 04:13:59.059
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=17ms, Records=1) in /root/website/actions/udfs.cfm @ 04:13:59.059
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) = 1550

get_member_account_types (Datasource=bookbrowse_com_new, Time=9ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 04:13:59.059
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=11ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 04:14:00.000
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) = 3169
Parameter #2(CF_SQL_INTEGER) = 3169
Parameter #3(CF_SQL_INTEGER) = 3169

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=8ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 04:14:00.000
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) = 3169

get_books_by_author_id (Datasource=bookbrowse_com_new, Time=25ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 04:14:00.000
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) = 165
Parameter #2(CF_SQL_INTEGER) = 165
Parameter #3(CF_SQL_INTEGER) = 165

get_author_by_author_id (Datasource=bookbrowse_com_new, Time=10ms, Records=1) in /root/website/queries/qry_get_books_by_author_id.cfm @ 04:14:00.000
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) = 165

get_member_account_types (Datasource=bookbrowse_com_new, Time=8ms, Records=2) in /root/website/queries/qry_get_member_account_types.cfm @ 04:14:00.000
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=23ms, Records=0) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 04:14:00.000
SELECT 	top 10 a.arc_number,arc_promo_text,
		b.ezine_preview_number, b.ezine_preview_title, b.ezine_preview_subtitle, b.ezine_preview_jacket_image, b.ezine_preview_author, b.ezine_preview_publish_dt, 
		(select (CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,0))) AS numeric(12,0)))+
				(CASE WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 25 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 50 THEN 0.5
				 WHEN right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) > 50 AND right(CAST(AVG(CAST(arc_allocator_review_rating AS numeric(12,2))) AS numeric(12,2)),2) < 75 THEN -0.5
				 ELSE 0
				 END)
 			from arc_allocator	where arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) AS arcrating

FROM arcs a
INNER JOIN ezine_previews b ON b.ezine_preview_number = a.ezine_preview_number

WHERE arc_closed_flag = 1
AND arc_obc_flag = 0
AND getdate() >= arc_on_ad_dt
AND (select count(*) from arc_allocator d where d.arc_number = a.arc_number and arc_allocator_review_approved_flag = 1) > 1
and getdate() <= dateadd(day,1,a.arc_off_ad_dt)

ORDER BY NEWID()
get_arcs_for_ad (Datasource=bookbrowse_com_new, Time=8ms, Records=3) in /root/website/queries/qry_get_arcs_for_ad.cfm @ 04:14:00.000
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=26ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 04:14:00.000
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=9ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 04:14:00.000
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=5ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 04:14:00.000
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=16ms, Records=1) in /root/website/site/blocks/dsp_book_giveaway.cfm @ 04:14:00.000
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 @ 04:14:00.000
SELECT 	*
    FROM 	free_newsletters
get_ads (Datasource=bookbrowse_com_new, Time=4ms, Records=0) in /root/website/adsystem/adsystem_mod.cfm @ 04:14:00.000
SELECT		a.adid,	adweight
	FROM		adsystem a
	INNER JOIN 	ad_category_mapping b ON b.adid = a.adid
	WHERE		a.section = ?
	AND			a.active  = 1
	AND 		a.start_date <= GETDATE()
		 	AND a.adid NOT IN (?) 
	AND (a.viewby LIKE '%n%' OR a.viewby = 'all')
            

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

get_ads (Datasource=bookbrowse_com_new, Time=5ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 04:14:00.000
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=3ms, Records=1) in /root/website/adsystem/adsystem_mod.cfm @ 04:14:00.000
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%3D4085395%26CFTOKEN%23%3Df6f31bfac2bd567b%2D0DE14223%2D0425%2D9048%2D0A5F50B365F55997%23lastvisit%3D%7Bts%20%272026%2D06%2D01%2004%3A13%3A59%27%7D%23hitcount%3D42%23timecreated%3D%7Bts%20%272026%2D06%2D01%2004%3A13%3A50%27%7D%23cftoken%3Da2ea7038cb8b6b52%2D0DE1256E%2DEF32%2D5142%2D9635F4E3DE5493BB%23cfid%3D4085389%23; CFTOKEN=f6f31bfac2bd567b-0DE14223-0425-9048-0A5F50B365F55997; 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; CFID=4085395
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/1111/paula-kamen
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=4085389
cftoken=a2ea7038cb8b6b52-0DE1256E-EF32-5142-9635F4E3DE5493BB
hitcount=46
lastvisit={ts '2026-06-01 04:14:00'}
library_user_flag=0
member_active_flag=0
member_logged_in_flag=0
member_number=0
order=p
timecreated={ts '2026-06-01 04:13:50'}
urltoken=CFID=4085395&CFTOKEN=f6f31bfac2bd567b-0DE14223-0425-9048-0A5F50B365F55997
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#=4085395&CFTOKEN#=f6f31bfac2bd567b-0DE14223-0425-9048-0A5F50B365F55997#lastvisit={ts '2026-06-01 04:13:59'}#hitcount=42#timecreated={ts '2026-06-01 04:13:50'}#cftoken=a2ea7038cb8b6b52-0DE1256E-EF32-5142-9635F4E3DE5493BB#cfid=4085389#
CFID=4085395
CFTOKEN=f6f31bfac2bd567b-0DE14223-0425-9048-0A5F50B365F55997
FREEACCESSCOUNT=0
Session Variables:
cfid=4085395
cftoken=f6f31bfac2bd567b-0DE14223-0425-9048-0A5F50B365F55997
sessionid=BOOKBROWSE_4085395_f6f31bfac2bd567b-0DE14223-0425-9048-0A5F50B365F55997
urltoken=CFID=4085395&CFTOKEN=f6f31bfac2bd567b-0DE14223-0425-9048-0A5F50B365F55997
URL Parameters:
author_number=1111
paula-kamen=
Debug Rendering Time: 104 ms