Viewing 15 posts - 1 through 15 (of 23 total)
Jeff Moden (8/21/2011)
lance.kentwell (8/21/2011)
August 21, 2011 at 6:09 pm
stewartc-708166 (8/19/2011)
CREATE TABLE #IPRanges (
IPFrom CHAR(15),
IPTo CHAR(15)
)
BULK INSERT #IPRanges
FROM '\\Server\Share\FileName'
WITH (
FIELDTerminator = ',')
SELECT TOP 20 scr_dim_site.site_name
FROM scr_dim_site
JOIN #IPRanges ON scr_dim_ipaddress.ipaddress >= IPFrom AND scr_dim_ipaddress.ipaddress <= IPTo
WHERE (NOT...
August 21, 2011 at 5:40 am
As it happens I am populating a table with prebuilt info for reporting purposes. It's much faster than forcing users to wait an hour each time they want to...
August 21, 2011 at 3:08 am
stewartc-708166 (8/19/2011)
August 19, 2011 at 4:30 am
Jeff Moden (8/18/2011)
August 19, 2011 at 1:02 am
OK I think i have it as streamlined as possible. One question however. Is the order of your conidtions important? e.g. there is one condition I could...
May 9, 2011 at 11:55 pm
Duncan Pryde (5/5/2011)
lance.kentwell (5/4/2011)
May 5, 2011 at 9:04 pm
Doh! knew thre would be a catch things cant be that easy. Unfortunately it is a big table. If I use = and put the exact wording...
May 4, 2011 at 5:47 pm
Hallelujah. You're my savior, man. My own personal Jesus Christ.
May 2, 2011 at 10:20 pm
sachnam (5/1/2011)
Try this..Where A= 'Value' And X in ('A','B','C')
Regards..
I was hoping this would work but didnt 🙁
However I dont think I gave all the info. When I said...
May 2, 2011 at 5:46 pm
Dont worry i know why, its becuase there are some cases where a differnet user had the same IP adderss on that day and they would be 2 distinct matches.
April 6, 2011 at 10:21 pm
OK I think we are almost there but I had some discrepency. In my original query to find distinact IPs that matched the site kcc.authoria.com I got 479 results.
If...
April 6, 2011 at 10:15 pm
Thanks I dont care so much if its elegant, just as long a it works 🙂 I'll give it a try. Since im still a newbie I would...
April 6, 2011 at 6:15 pm
OK let me explain. In query 1 I am looking for IP addresses for entries where (s.site_name LIKE '%kcc.authoria.com%')
The ultimate goal is to get the username that mapps...
April 6, 2011 at 3:03 am
Viewing 15 posts - 1 through 15 (of 23 total)