Viewing 15 posts - 5,866 through 5,880 (of 15,381 total)
What exactly are you trying to do? You posted some sample data but every column other than the first 2 are all NULL. What you have posted appears to be...
January 24, 2014 at 9:54 am
BWFC (1/24/2014)
I've had a tinker with my proc and using the CTE approach works just as quickly as temp tables when using my method to create the combined column....
January 24, 2014 at 7:35 am
Koen Verbeeck (1/24/2014)
Great question and a very nice explanation.
+1 Agreed!
January 24, 2014 at 7:15 am
BWFC (1/23/2014)
January 23, 2014 at 8:45 am
This is a basic cte. Please use google for examples.
Once again you post another thread with partially useful information and calculations with no explanation. How do you expect us...
January 23, 2014 at 8:02 am
Here is another to do this using cte's. This produces the same results as your query except that for OrderNo 1003 it includes "Reach the Spanish Main" which is the...
January 23, 2014 at 7:57 am
Your sample data won't load. The last row for logins is invalid, not a huge deal I just skipped it.
However, the rows for [ProposalProfitSplitWorksheet] all fail the foreign key...
January 23, 2014 at 7:35 am
rho_pooka (1/22/2014)
SELECT *
FROM Table
WHERE Time_Open <= GETDATE()
AND Time_Open >= DATE_SUB(MONTH, DATEDIFF(MONTH, 0, GETDATE())...
January 23, 2014 at 7:15 am
Dieselbf2 (1/22/2014)
January 22, 2014 at 3:47 pm
Here are the other 2 tables
You need to test the code you post. The idea here is for me to be able to recreate your tables on my system. This...
January 22, 2014 at 3:15 pm
Dieselbf2 (1/22/2014)
Sean Lange (1/22/2014)
Dieselbf2 (1/22/2014)
January 22, 2014 at 3:07 pm
Dieselbf2 (1/22/2014)
January 22, 2014 at 2:57 pm
Dieselbf2 (1/22/2014)
January 22, 2014 at 2:54 pm
Hi and welcome to the forums. It is very difficult to figure out what you are trying to do with nothing more than a couple of queries. Can you post...
January 22, 2014 at 1:16 pm
Viewing 15 posts - 5,866 through 5,880 (of 15,381 total)