Range
Categories: Restaurants

Neighborhood: Mission District

842 Valencia Street

(between 19th & 20th Streets)

San FranciscoCA94110

United States

+1 415 282 8283

www.rangesf.com

Privy 5 Overview

Share |

With dishes that are masterfully crafted, Range is a culinary establishment not to be missed in San Francisco. People from all over flock to Range for their creative and flavorful dishes. In fact, one of their dishes, the coffee-rubbed pork shoulder is one of 7x7 Magazine's 100 Things to Eat in San Francisco Before You Die. The innovation extends to their cocktails as well and at Range you can get anything from a Vesper to a Monk's Elixir, which makes Range perfect for the cocktail connoisseur in your party. Don't forget dessert as Range makes a butterscotch pudding that you'll definitely want to experience.

CUISINE: American (New)

MEALS: Dinner

HOURS:

Mon-Sun 5:30 p.m-10:00 p.m

Fri-Sat 5:30 p.m-11:00 p.m

Price Range: $31-$60

Attire: Casual

Takes Reservations: Yes

Parking: Street

Takeout: No

Delivers: No

Accept Credit Cards: Yes

Good For Groups: No

Good For Kids: No

Waiter Service: Yes

braised pork shoulder

write a comment

Comments (0)

OTHER PRIVY 5 CITIES

Click here

Are you who we think you are?

  • Looks like we've already got some information from you on file.
  • Enter your password to link Facebook Connect with your existing Privy Guest account.


Debugging Information
ColdFusion Server Standard 2016,0,10,314028
Template /sanfrancisco/index.cfm
Time Stamp 23-Dec-19 10:46 AM
Locale English (US)
User Agent Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)
Remote IP 172.6.167.56
Host Name 172.6.167.56


Execution Time

Total Time Avg Time Count Template
17079 ms 17079 ms 1 CFC[ D:/www/privy/sanfrancisco/Application.cfc | onRequest(/sanfrancisco/index.cfm) ] from D:/www/privy/sanfrancisco/Application.cfc
12856 ms 12856 ms 1 CFC[ D:/www/privy/sanfrancisco/controllers/go.cfc | before(rc = [complex value]) ] from D:/www/privy/sanfrancisco/controllers/go.cfc
12856 ms 12856 ms 1 D:/www/privy/guestcfc/inc_controller_go_before.cfm
2028 ms 2028 ms 1 CFC[ D:/www/privy/sanfrancisco/services/cityguide.cfc | whereto(argumentCollection = [complex value]) ] from D:/www/privy/sanfrancisco/services/cityguide.cfc
1484 ms 1484 ms 1 D:/www/privy/sanfrancisco/views/go/eat.cfm
1483 ms 1483 ms 1 D:/www/privy/guestcfc/inc_views_cityguide_go_whereto.cfm
1483 ms 1483 ms 1 D:/www/privy/guestcfc/inc_views_cityguide_go_whereto_singlelisting.cfm
976 ms 976 ms 1 D:/Mappings/lib-tag/cuisinetype.cfm
405 ms 405 ms 1 CFC[ D:/www/privy/sanfrancisco/services/cityguide.cfc | p5neighborhood(argumentCollection = [complex value]) ] from D:/www/privy/sanfrancisco/services/cityguide.cfc
270 ms 270 ms 1 D:/www/privy/guestcfc/inc_popular_posts.cfm
102 ms 51 ms 2 CFC[ D:/www/privy/guestcfc/global_event.cfc | isusip(172.6.167.56) ] from D:/www/privy/guestcfc/global_event.cfc
74 ms 74 ms 1 CFC[ D:/www/privy/sanfrancisco/controllers/go.cfc | eat(rc = [complex value]) ] from D:/www/privy/sanfrancisco/controllers/go.cfc
70 ms 70 ms 1 CFC[ D:/www/privy/sanfrancisco/services/users.cfc | getcommentbyid(argumentCollection = [complex value]) ] from D:/www/privy/sanfrancisco/services/users.cfc
55 ms 55 ms 1 D:/www/privy/sanfrancisco/layouts/go.cfm
54 ms 54 ms 1 D:/www/privy/guestcfc/inc_layouts_go.cfm
52 ms 52 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | adgen(172.6.167.56, 18) ] from D:/www/privy/guestcfc/global_event.cfc
50 ms 50 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | adgen(172.6.167.56, 16) ] from D:/www/privy/guestcfc/global_event.cfc
50 ms 50 ms 1 CFC[ D:/www/privy/sanfrancisco/services/cityguide.cfc | p5list(argumentCollection = [complex value]) ] from D:/www/privy/sanfrancisco/services/cityguide.cfc
37 ms 37 ms 1 CFC[ D:/www/privy/sanfrancisco/Application.cfc | service(cityguide.p5memberlist, cityguide_p5memberlist) ] from D:/www/privy/sanfrancisco/Application.cfc
37 ms 37 ms 1 CFC[ D:/www/privy/sanfrancisco/Application.cfc | service(users.getcommentbyid, users_getcommentbyid) ] from D:/www/privy/sanfrancisco/Application.cfc
34 ms 34 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5431.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
33 ms 33 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5439.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
33 ms 33 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF54481.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
20 ms 20 ms 1 CFC[ D:/www/privy/sanfrancisco/services/cityguide.cfc | p5memberlist(argumentCollection = [complex value]) ] from D:/www/privy/sanfrancisco/services/cityguide.cfc
16 ms 16 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | getrcq([complex value]) ] from D:/www/privy/guestcfc/global_event.cfc
16 ms 3 ms 6 D:/Mappings/lib-tag/categorygroup.cfm
10 ms 10 ms 1 D:/www/privy/guestcfc/cfc_services_users_inc.cfm
5 ms 5 ms 1 CFC[ D:/www/privy/sanfrancisco/Application.cfc | onRequestStart(/sanfrancisco/index.cfm) ] from D:/www/privy/sanfrancisco/Application.cfc
4 ms 4 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5447.jpg, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
4 ms 4 ms 1 D:/www/privy/guestcfc/inc_application_setuprequest_cityguide.cfm
3 ms 3 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5435.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
2 ms 2 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5429.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
1 ms 1 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5421.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
1 ms 0 ms 807 D:/Mappings/lib-tag/getmaxminusone.cfm
0 ms 0 ms 4 CFC[ D:/www/privy/guestcfc/cfc_helper_view.cfc | getrightaction2(PEOPLE ) ] from D:/www/privy/guestcfc/cfc_helper_view.cfc
0 ms 0 ms 4 CFC[ D:/www/privy/guestcfc/cfc_helper_view.cfc | getrightaction2(SOCIETY+EVENTS ) ] from D:/www/privy/guestcfc/cfc_helper_view.cfc
0 ms 0 ms 2 CFC[ D:/www/privy/guestcfc/global_event.cfc | ip4todecimal(172.6.167.56) ] from D:/www/privy/guestcfc/global_event.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5423.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5425.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5427.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5433.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5441.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5442.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5445.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/guestcfc/global_event.cfc | p5thumbnail(original = DSCF5449.JPG, type = 3) ] from D:/www/privy/guestcfc/global_event.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/sanfrancisco/Application.cfc | onRequestEnd(/sanfrancisco/index.cfm) ] from D:/www/privy/sanfrancisco/Application.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/sanfrancisco/Application.cfc | service(cityguide.mapjsheader, cityguide_mapjsheader) ] from D:/www/privy/sanfrancisco/Application.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/sanfrancisco/Application.cfc | service(cityguide.p5list, cityguide_p5list) ] from D:/www/privy/sanfrancisco/Application.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/sanfrancisco/Application.cfc | service(cityguide.p5neighborhood, cityguide_p5neighborhood) ] from D:/www/privy/sanfrancisco/Application.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/sanfrancisco/Application.cfc | service(cityguide.whereto, cityguide_whereto) ] from D:/www/privy/sanfrancisco/Application.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/sanfrancisco/controllers/go.cfc | endeat(rc = [complex value]) ] from D:/www/privy/sanfrancisco/controllers/go.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/sanfrancisco/controllers/go.cfc | init(CFC: sanfrancisco.Application) ] from D:/www/privy/sanfrancisco/controllers/go.cfc
0 ms 0 ms 1 CFC[ D:/www/privy/sanfrancisco/services/cityguide.cfc | mapjsheader(argumentCollection = [complex value]) ] from D:/www/privy/sanfrancisco/services/cityguide.cfc
0 ms 0 ms 1 D:/Mappings/lib-tag/commaspace.cfm
0 ms 0 ms 1 D:/Mappings/lib-tag/hoursop.cfm
0 ms 0 ms 1 D:/www/privy/guestcfc/cfc_controller_cityguide_go.cfc
0 ms 0 ms 1 D:/www/privy/guestcfc/cfc_services_cityguide.cfc
0 ms 0 ms 1 D:/www/privy/guestcfc/cfc_services_users.cfc
0 ms 0 ms 1 D:/www/privy/guestcfc/inc_controller_go.cfm
0 ms 0 ms 1 D:/www/privy/guestcfc/inc_login_popup.cfm
0 ms 0 ms 1 D:/www/privy/guestcfc/inc_privy5cities.cfm
0 ms 0 ms 1 D:/www/privy/guestcfc/inc_views_comments.cfm
0 ms 0 ms 1 D:/www/privy/guestcfc/inc_views_go_mapfunc.cfm
2 ms  STARTUP, PARSING, COMPILING, LOADING, & SHUTDOWN
17086 ms  TOTAL EXECUTION TIME
red = over 250 ms average execution time


SQL Queries

local.dbfindshortened (Datasource=entre360ds, Time=4ms, Records=0) in D:\www\privy\guestcfc\inc_application_setuprequest_cityguide.cfm @ 10:45:57.057
		SELECT directoryurl,whereto 
		FROM privy5codes 
		WHERE (shortenedurl=?) AND 
			(
				City LIKE ? OR 
				City LIKE ? OR
				City LIKE ? OR 
				City LIKE ?
			)
	
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = go/eat/Range
Parameter #2(CF_SQL_CHAR) = San Francisco
Parameter #3(CF_SQL_CHAR) = San Francisco,%
Parameter #4(CF_SQL_CHAR) = %,San Francisco
Parameter #5(CF_SQL_CHAR) = %,San Francisco,%

local.getwebpg (Datasource=entre360ds, Time=16ms, Records=0) in D:\www\privy\guestcfc\global_event.cfc @ 10:45:57.057
				SELECT * FROM webpg_event WHERE name = ? 
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = go,eat,Range

local.checksession (Datasource=entre360ds, Time=8594ms, Records=1) in D:\www\privy\guestcfc\inc_controller_go_before.cfm @ 10:46:06.006
	SELECT memberguests_login.sessionid 
	FROM memberguests_login 
	WHERE sessionid = ? 
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = 16674C21BBD774F3F0CD46198107AC84_5955090_5e6cb3d73e34ca8c-04E6476F-DF78-51E9-E8E1817815F6EDAB

local.getlogininfo (Datasource=entre360ds, Time=4171ms, Records=1) in D:\www\privy\guestcfc\inc_controller_go_before.cfm @ 10:46:10.010
	SELECT 
		memberguests_login.memberid,
	 	memberguests_login.logindatetime,
	 	memberguests_login.loginvia,
	 	memberguests_login.logoutdatetime,
	 	memberguests_login.sessionid,
	 	memberguests_login.fbuid,
	 	memberguests_login.fbaccesstoken,
	 	memberguests_login.fbsignedrequest,
	 	memberguests_login.fbexpiresin,
	 	memberguests_login.fbpicture,
	 	memberguests_login.logininviteonly 
	FROM memberguests_login 
	WHERE sessionid = ? 
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = 16674C21BBD774F3F0CD46198107AC84_5955090_5e6cb3d73e34ca8c-04E6476F-DF78-51E9-E8E1817815F6EDAB

local.getdb (Datasource=entre360ds, Time=49ms, Records=0) in D:\www\privy\guestcfc\global_event.cfc @ 10:46:10.010
						SELECT *
						FROM US_IP
						WHERE 
							(ip_start_decimal <= ?) AND 
							(? <= ip_end_decimal)
					
Query Parameter Value(s) -
Parameter #1(cf_sql_bigint) = 2886117176
Parameter #2(cf_sql_bigint) = 2886117176

local.retval.query (Datasource=entre360ds, Time=20ms, Records=42) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:10.010
			SELECT Code, Category, directoryurl, picture2, IntroMiddle, whereto, star, shortenedurl 
			FROM privy5codes 
			WHERE 
			(
				City LIKE ? OR 
				City LIKE ? OR
				City LIKE ? OR 
				City LIKE ?
			) AND byprivymember=1 AND p5=1
			ORDER BY Category
		
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = San Francisco
Parameter #2(CF_SQL_CHAR) = San Francisco,%
Parameter #3(CF_SQL_CHAR) = %,San Francisco
Parameter #4(CF_SQL_CHAR) = %,San Francisco,%

local.retval.query (Datasource=entre360ds, Time=50ms, Records=36) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:10.010
			SELECT Code, Category, directoryurl, picture3, IntroMiddle, whereto 
			FROM privy5codes 
			WHERE 
			(
				City LIKE ? OR 
				City LIKE ? OR
				City LIKE ? OR 
				City LIKE ?
			) 
			AND byprivymember IS NULL 
			AND p5=1 
				AND whereto = ? 
			ORDER BY Category
		
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = San Francisco
Parameter #2(CF_SQL_CHAR) = San Francisco,%
Parameter #3(CF_SQL_CHAR) = %,San Francisco
Parameter #4(CF_SQL_CHAR) = %,San Francisco,%
Parameter #5(CF_SQL_CHAR) = eat

local.retval.query (Datasource=entre360ds, Time=405ms, Records=31) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:11.011
			SELECT PRIVY5NEIGHBORHOODS.neighborhood, PRIVY5NEIGHBORHOODS.closestprivycity, PRIVY5NEIGHBORHOODS.directoryurl 
			FROM PRIVY5NEIGHBORHOODS 
			WHERE 
				PRIVY5NEIGHBORHOODS.closestprivycity = ? 
				AND ltrim(rtrim(PRIVY5NEIGHBORHOODS.neighborhood)) IN 
				(
					SELECT ltrim(rtrim(LOCATION.Neighborhood))
					FROM LOCATION
					WHERE 
						(LOCATION.p5 = 1) AND 
						(LOCATION.ClosestPrivyCity = ?) AND 
						(
							categorywhereto LIKE 'eat' OR
							categorywhereto LIKE 'eat,%' OR
							categorywhereto LIKE '%,eat' OR 
							categorywhereto LIKE '%,eat,%'
						)		 
					GROUP BY ltrim(rtrim(LOCATION.Neighborhood))
				)		
				
			ORDER BY PRIVY5NEIGHBORHOODS.neighborhood  
		
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = San Francisco
Parameter #2(CF_SQL_CHAR) = San Francisco

local.retval.getCategory (Datasource=entre360ds, Time=16ms, Records=0) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:11.011
					SELECT * 
					FROM privy5codes 
					WHERE 
						(
							directoryurl = ? OR 
							shortenedurl = ?
						) AND 
						(
							City LIKE ? OR 
							City LIKE ? OR
							City LIKE ? OR 
							City LIKE ?
						) 
						 
						AND p5=1
						
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = Range
Parameter #2(CF_SQL_CHAR) = Range
Parameter #3(CF_SQL_CHAR) = San Francisco
Parameter #4(CF_SQL_CHAR) = San Francisco,%
Parameter #5(CF_SQL_CHAR) = %,San Francisco
Parameter #6(CF_SQL_CHAR) = %,San Francisco,%

local.retval.getlocation (Datasource=entre360ds, Time=265ms, Records=1) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:11.011
					SELECT 
						*, 
						(
							SELECT privy5codes.whereto 
							FROM privy5codes
							WHERE privy5codes.code = dbo.firstlist(location.privy5codes,',')
						) AS categorywhereto2,
						(
							SELECT AVG(MyReviews.Star) AS avgstar
	            			FROM myreviews, MEMBER  
	            			WHERE 
								MYREVIEWS.MemberId = member.MemberID AND 
								MyReviews.LocationId= location.locationid AND
								member.can_login=1
						) AS averagestar,
						(
							SELECT COUNT(MyReviews.myreviewid) 
	        				FROM myreviews, MEMBER  
	        				WHERE 
								MYREVIEWS.MemberId = member.MemberID AND 
								MyReviews.LocationId= location.locationid AND
								member.can_login=1
						) AS manyreviews,
						(
							SELECT TOP 1 signaturedishes 
							FROM myreviews 
							WHERE 
								myreviews.LocationId = location.locationid AND 
								myreviews.signaturedishes IS NOT NULL AND 
								myreviews.signaturedishes != ''
						) AS signaturedishes,
						
						'' AS buttonselection	 
						
					FROM location 
					WHERE 
						(
							locationid = ? OR 
							directoryurl = ?
						)
						AND (Location.ClosestPrivyCity=?)
						 
						AND (Location.P5=1)
						
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = Range
Parameter #2(CF_SQL_CHAR) = Range
Parameter #3(CF_SQL_CHAR) = San Francisco

local.findprivy5category (Datasource=entre360ds, Time=20ms, Records=1) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:11.011
						SELECT Code, category 
						FROM privy5codes 
						WHERE Code =
							? 
Query Parameter Value(s) -
Parameter #1(cf_sql_integer) = 140

local.retval.p5memberlovethis (Datasource=entre360ds, Time=36ms, Records=1) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:11.011
						SELECT Code, Category, directoryurl, picture2, IntroMiddle, whereto, star, shortenedurl 
						FROM privy5codes 
						WHERE 
						(
							City LIKE ? OR 
							City LIKE ? OR
							City LIKE ? OR 
							City LIKE ?
						) AND 
						byprivymember=1 AND 
						p5=1 
						  
						AND 
						(
							
									Code = ? 
						)
							
						ORDER BY Category 
					
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = San Francisco
Parameter #2(CF_SQL_CHAR) = San Francisco,%
Parameter #3(CF_SQL_CHAR) = %,San Francisco
Parameter #4(CF_SQL_CHAR) = %,San Francisco,%
Parameter #5(cf_sql_integer) = 140

local.retval.getrelatedlocation_singlecategory (Datasource=entre360ds, Time=879ms, Records=5) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:12.012
						SELECT 
							*,
							(
								SELECT privy5codes.whereto 
								FROM privy5codes
								WHERE privy5codes.code = dbo.firstlist(location.privy5codes,',')
							) AS categorywhereto2, 
							(
								SELECT AVG(MyReviews.Star) AS avgstar
		            			FROM myreviews, MEMBER  
		            			WHERE 
									MYREVIEWS.MemberId = member.MemberID AND 
									MyReviews.LocationId= location.locationid AND
									member.can_login=1
							) AS averagestar,
							(
								SELECT COUNT(MyReviews.myreviewid) 
		        				FROM myreviews, MEMBER  
		        				WHERE 
									MYREVIEWS.MemberId = member.MemberID AND 
									MyReviews.LocationId= location.locationid AND
									member.can_login=1
							) AS manyreviews,
							(
								SELECT TOP 1 signaturedishes 
								FROM myreviews 
								WHERE 
									myreviews.LocationId = location.locationid AND 
									myreviews.signaturedishes IS NOT NULL AND 
									myreviews.signaturedishes != ''
							) AS signaturedishes,
							
							'' AS buttonselection	 
							
						FROM location 
						WHERE 
							(Location.ClosestPrivyCity=?) AND
							(Location.P5=1) AND
							( 
									Location.privy5codes LIKE '140' OR
									Location.privy5codes LIKE '140,%' OR
									Location.privy5codes LIKE '%,140' OR 
									Location.privy5codes LIKE '%,140,%' 
							)
					
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = San Francisco

local.retval.getrelatedlocation (Datasource=entre360ds, Time=587ms, Records=5) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:13.013
						SELECT 
							*,
							(
								SELECT privy5codes.whereto 
								FROM privy5codes
								WHERE privy5codes.code = dbo.firstlist(location.privy5codes,',')
							) AS categorywhereto2, 
							(
								SELECT AVG(MyReviews.Star) AS avgstar
		            			FROM myreviews, MEMBER  
		            			WHERE 
									MYREVIEWS.MemberId = member.MemberID AND 
									MyReviews.LocationId= location.locationid AND
									member.can_login=1
							) AS averagestar,
							(
								SELECT COUNT(MyReviews.myreviewid) 
		        				FROM myreviews, MEMBER  
		        				WHERE 
									MYREVIEWS.MemberId = member.MemberID AND 
									MyReviews.LocationId= location.locationid AND
									member.can_login=1
							) AS manyreviews,
							(
								SELECT TOP 1 signaturedishes 
								FROM myreviews 
								WHERE 
									myreviews.LocationId = location.locationid AND 
									myreviews.signaturedishes IS NOT NULL AND 
									myreviews.signaturedishes != ''
							) AS signaturedishes,
							
							'' AS buttonselection	 
							
						FROM location 
						WHERE 
							(Location.ClosestPrivyCity=?) AND
							(Location.P5=1) 
							   
							AND
							( 
								
									Location.privy5codes LIKE '140' OR
									Location.privy5codes LIKE '140,%' OR
									Location.privy5codes LIKE '%,140' OR 
									Location.privy5codes LIKE '%,140,%' 
							)
							
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = San Francisco

local.retval.getlocationphotos (Datasource=entre360ds, Time=222ms, Records=15) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:13.013
		            	SELECT FileUploadLogs.* 
						FROM FileUploadLogs INNER JOIN MEMBER ON FileUploadLogs.MemberId = MEMBER.MemberID 
						WHERE FileUploadLogs.LocationId = ?
						ORDER BY FileUploadLogs.Created DESC
		        	
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = 852635E9-188B-FCEA-6099C4E03B52C40E

local.retval.getp5bookmark1 (Datasource=entre360ds, Time=1ms, Records=0) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:13.013
							SELECT 
								MEMBERGUESTS.memberid, 
								MEMBERGUESTS_PLACES.placeid, 
								MEMBERGUESTS.firstname, 
								MEMBERGUESTS.picture,
								MEMBERGUESTS.fbid,
								MEMBERGUESTS.gender
							FROM MEMBERGUESTS_PLACES INNER JOIN MEMBERGUESTS ON MEMBERGUESTS_PLACES.memberid = MEMBERGUESTS.memberid 
							WHERE MEMBERGUESTS_PLACES.placeid = ? AND wantorbeen=2
						
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = 852635E9-188B-FCEA-6099C4E03B52C40E

local.retval.getp5bookmark2 (Datasource=entre360ds, Time=1ms, Records=0) in D:\www\privy\guestcfc\cfc_services_cityguide.cfc @ 10:46:13.013
							SELECT 
								MEMBERGUESTS.memberid, 
								MEMBERGUESTS_PLACES.placeid, 
								MEMBERGUESTS.firstname, 
								MEMBERGUESTS.picture,
								MEMBERGUESTS.fbid,
								MEMBERGUESTS.gender
							FROM MEMBERGUESTS_PLACES INNER JOIN MEMBERGUESTS ON MEMBERGUESTS_PLACES.memberid = MEMBERGUESTS.memberid 
							WHERE MEMBERGUESTS_PLACES.placeid = ? AND wantorbeen=1
						
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = 852635E9-188B-FCEA-6099C4E03B52C40E

local.getid (Datasource=entre360ds, Time=1ms, Records=0) in D:\www\privy\guestcfc\cfc_services_users.cfc @ 10:46:13.013
					SELECT Code 
					FROM privy5codes 
					WHERE directoryurl = ? 
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = Range

local.getid (Datasource=entre360ds, Time=59ms, Records=1) in D:\www\privy\guestcfc\cfc_services_users.cfc @ 10:46:13.013
						SELECT locationid 
						FROM location 
						WHERE directoryurl = ? 
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = Range

local.retval.comments (Datasource=entre360ds, Time=8ms, Records=0) in D:\www\privy\guestcfc\cfc_services_users_inc.cfm @ 10:46:13.013
		SELECT 
			MEMBERGUESTS.memberid,
			isnull(MEMBERGUESTS.firstname,'')+' '+isnull(MEMBERGUESTS.lastname,'') AS personname, 
			MEMBERGUESTS.picture,
			MEMBERGUESTS.fbid,
			MEMBERGUESTS.gender,
			MEMBERGUESTS_COMMENTS.commentid,
			MEMBERGUESTS_COMMENTS.comment,
			MEMBERGUESTS_COMMENTS.commentdate
		FROM MEMBERGUESTS_COMMENTS 
			INNER JOIN MEMBERGUESTS ON MEMBERGUESTS_COMMENTS.memberid = MEMBERGUESTS.memberid 
		WHERE 
			
			MEMBERGUESTS_COMMENTS.locationid = ? 
			AND MEMBERGUESTS_COMMENTS.commentshow = 1 
		ORDER BY MEMBERGUESTS_COMMENTS.commentdate DESC
	
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = 852635E9-188B-FCEA-6099C4E03B52C40E

getcategory (Datasource=entre360ds, Time=0ms, Records=9, Cached Query) in D:\Mappings\lib-tag\cuisinetype.cfm @ 10:46:13.013
	SELECT GroupCategory 
    FROM LocationCategory 
    GROUP BY GroupCategory  
getcategorynew (Datasource=entre360ds, Time=0ms, Records=162, Cached Query) in D:\Mappings\lib-tag\cuisinetype.cfm @ 10:46:13.013
	SELECT Category 
    FROM LocationCategory 
    WHERE GroupCategory='Restaurants' OR GroupCategory='Night Life' OR GroupCategory='Hotels' 
getfeaturenew (Datasource=entre360ds, Time=0ms, Records=105, Cached Query) in D:\Mappings\lib-tag\cuisinetype.cfm @ 10:46:14.014
	SELECT feature
    FROM LocationFeature 
    WHERE GroupCategory='Restaurants' OR GroupCategory='Night Life' OR GroupCategory='Hotels' 
local.traffic (Datasource=entre360ds, Time=144ms, Records=0) in D:\www\privy\guestcfc\inc_popular_posts.cfm @ 10:46:14.014
	SELECT TOP 4
		magazine_id,
		COUNT(magazine_id) AS hits,
		(
			SELECT directoryurl
	        FROM magazine
	        WHERE magazine.id = magazine_views.magazine_id
		) AS directoryurl
	FROM MAGAZINE_VIEWS
	WHERE
		created>=CONVERT(datetime,'2019-12-22 00:00:00') AND
		created<=CONVERT(datetime,'2019-12-28 23:59:59') AND
		magazine_id!=17
	GROUP BY magazine_id
	ORDER BY COUNT(magazine_id) DESC
local.traffic (Datasource=entre360ds, Time=23ms, Records=4) in D:\www\privy\guestcfc\inc_popular_posts.cfm @ 10:46:14.014
		SELECT TOP 4 directoryurl FROM magazine ORDER BY initpopular DESC
	
local.getMagDB (Datasource=entre360ds, Time=37ms, Records=1) in D:\www\privy\guestcfc\inc_popular_posts.cfm @ 10:46:14.014
						SELECT *
						FROM magazine
						WHERE directoryurl=? 
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = Privy-NYE-2011

local.getMagDB (Datasource=entre360ds, Time=16ms, Records=1) in D:\www\privy\guestcfc\inc_popular_posts.cfm @ 10:46:14.014
						SELECT *
						FROM magazine
						WHERE directoryurl=? 
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = Member-Interview---Emily-Cho

local.getMagDB (Datasource=entre360ds, Time=19ms, Records=1) in D:\www\privy\guestcfc\inc_popular_posts.cfm @ 10:46:14.014
						SELECT *
						FROM magazine
						WHERE directoryurl=? 
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = Member-Interview---Sara-Mibo-Sohn

local.getMagDB (Datasource=entre360ds, Time=14ms, Records=1) in D:\www\privy\guestcfc\inc_popular_posts.cfm @ 10:46:14.014
						SELECT *
						FROM magazine
						WHERE directoryurl=? 
Query Parameter Value(s) -
Parameter #1(CF_SQL_CHAR) = Privy-Bordeaux-Event-at-Strip-Prime-Shanghai

local.getdb (Datasource=entre360ds, Time=51ms, Records=0) in D:\www\privy\guestcfc\global_event.cfc @ 10:46:15.015
						SELECT *
						FROM US_IP
						WHERE 
							(ip_start_decimal <= ?) AND 
							(? <= ip_end_decimal)
					
Query Parameter Value(s) -
Parameter #1(cf_sql_bigint) = 2886117176
Parameter #2(cf_sql_bigint) = 2886117176


Scope Variables

Application Variables:
applicationname=16674C21BBD774F3F0CD46198107AC84
devmode=false
dsn_name=entre360ds
dsn_name10=entre360_2011ds
event=Struct (26)
ipallow=24.199.44.252
magazine_imageupload=/upload/net/privy/www/p5photos/
org.corfield.framework=Struct (3)
paypal_biz=paypal@privy.net
paypal_url=https://www.paypal.com/cgi-bin/webscr
recaptcha_private=6LfrQtQSAAAAAGuECx5CZ5jRb4TPBzgrBVTK_IPH
recaptcha_public=6LfrQtQSAAAAALsfdvrJmY-JULezQbwYw4ea1nE2
site_addr=www.privy.net
upload=/upload/net/privy/www/
upload_magazine=/upload/net/privy/www/p5photos/
upload_root=/upload/net/privy/
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=d:\www\privy\sanfrancisco\index.cfm
CONTENT_LENGTH=0
CONTENT_TYPE=
CONTEXT_PATH=
GATEWAY_INTERFACE=CGI/1.1
HTTPS=off
HTTPS_KEYSIZE=
HTTPS_SECRETKEYSIZE=
HTTPS_SERVER_ISSUER=
HTTPS_SERVER_SUBJECT=
HTTP_ACCEPT=text/html,image/png,image/jpeg,image/pjpeg,image/x-xbitmap,image/svg+xml,image/gif;q=0.9,*/*;q=0.1
HTTP_ACCEPT_ENCODING=gzip, identity;q=0.9
HTTP_ACCEPT_LANGUAGE=en, *
HTTP_CONNECTION=keep-alive
HTTP_COOKIE=$Version=1; CFID=5955090; $Path=/; CFTOKEN=5e6cb3d73e34ca8c-04E6476F-DF78-51E9-E8E1817815F6EDAB; $Path=/; DESTINATION=Los%20Angeles; $Path=/; RECENTCITIES=Hong%20Kong%2CShanghai%2CLondon%2CLos%20Angeles%2CNew%20York%2CMacau; $Path=/
HTTP_HOST=www.privy.net
HTTP_REFERER=http://www.privy.net/sanfrancisco
HTTP_URL=/sanfrancisco/index.cfm/go/eat/Range
HTTP_USER_AGENT=Mozilla/4.5 (compatible; HTTrack 3.0x; Windows 98)
LOCAL_ADDR=172.30.1.133
PATH_INFO=/go/eat/Range
PATH_TRANSLATED=d:\www\privy\sanfrancisco\index.cfm
QUERY_STRING=
REMOTE_ADDR=172.6.167.56
REMOTE_HOST=172.6.167.56
REMOTE_USER=
REQUEST_METHOD=GET
SCRIPT_NAME=/sanfrancisco/index.cfm
SERVER_NAME=www.privy.net
SERVER_PORT=80
SERVER_PORT_SECURE=0
SERVER_PROTOCOL=HTTP/1.1
SERVER_SOFTWARE=Microsoft-IIS/10.0
WEB_SERVER_API=
Cookie Variables:
CFID=5955090
CFTOKEN=5e6cb3d73e34ca8c-04E6476F-DF78-51E9-E8E1817815F6EDAB
DESTINATION=Los Angeles
RECENTCITIES=Hong Kong,Shanghai,London,Los Angeles,New York,Macau
Session Variables:
cfid=5955090
cftoken=5e6cb3d73e34ca8c-04E6476F-DF78-51E9-E8E1817815F6EDAB
sessionid=16674C21BBD774F3F0CD46198107AC84_5955090_5e6cb3d73e34ca8c-04E6476F-DF78-51E9-E8E1817815F6EDAB
urltoken=CFID=5955090&CFTOKEN=5e6cb3d73e34ca8c-04E6476F-DF78-51E9-E8E1817815F6EDAB
Debug Rendering Time: 73 ms