Viewing 15 posts - 1 through 15 (of 16 total)
I was able to arrive at a solution. Basically I ended up making about 7 temp tables and using CTEs twice to parse out the unneeded data. Thanks...
March 13, 2012 at 2:33 pm
Just noticed one of today's headline articles might be relavent to what we're trying to do.
http://www.sqlservercentral.com/articles/T-SQL/70807/
It instructs how to elimate duplicate rows using the PARTITION BY clause. ...
March 2, 2012 at 9:00 am
Heh... so it's not possible that someone could enter an area and the battery on their cell phone gives out? It's also not possible that someone driving along enters an...
March 2, 2012 at 8:43 am
but to more specifically answer ur last post, no this is not data from a card scanner from a door. So someone holding a door open is not possible....
March 1, 2012 at 3:36 pm
That's not possible. Every Entry will have an exit. Basically an entry event logs when a 1/3rd of a mile radius of a location is entered and the...
March 1, 2012 at 3:32 pm
OK, sorry for the continuous questions, but I have another. The data I'm working with is a bit imperfect. Let's just say a certain cellphone manufacturer who is...
February 29, 2012 at 3:56 pm
Thanks you very much for the hasty response, and I'm happy to provide sample data sets. This community is proving most helpful to me.
Just one more question, while posting...
February 29, 2012 at 8:10 am
I have another question now. I was trying to use a CTE to come up with a way to create a field. Basically I want to create the...
February 28, 2012 at 5:21 pm
Thanks this is much better. And yeah in the end I need those 2 fields to be VARCHAR since I want to add one more value called 'Total'. ...
February 23, 2012 at 9:45 am
It works! Thank you very much. This will be a big help for me.
January 6, 2012 at 2:48 pm
Yeah this looks like what I need. Thanks alot for the help. I'm gonna test soon, but if it works it should save me a lot of time,...
January 5, 2012 at 9:41 am
See below. If you want to keep it simple, just remove the WITH CUBE part from the previous code and use [Time to Fund Bin], and [App Source Bin]....
January 4, 2012 at 3:30 pm
Here's what the code actually looks like. I'm trying to streamline the creation of the temp tables. I have 45 of these in my code.
---------------------------------------------------------------------------
DROP TABLE #HOMEOWNER_WEEK
SELECT
Section =...
January 4, 2012 at 3:12 pm
I always want to apply WITH CUBE. Sorry for the confusion. WHen I initially posted the code I removed alot of things to make it simple. I...
January 4, 2012 at 3:10 pm
Thanks for the quick response. Not quite what I'm looking for though. My problem is that I'm trying to stack about 20 temp tables together and what I...
January 4, 2012 at 2:30 pm
Viewing 15 posts - 1 through 15 (of 16 total)