Viewing 15 posts - 2,416 through 2,430 (of 15,381 total)
mar.ko (8/28/2015)
I don't care what anyone says, CTE's are temporary views and should persist for the life of a stored proc.I am sure Microsoft could have made that possible.
They did...
August 28, 2015 at 1:17 pm
Assuming you know how to write the sql to get all the details for the order and details for any related orders this is actually pretty simple.
case when max(case when...
August 28, 2015 at 1:05 pm
Ed Wagner (8/27/2015)
It will slow you down because SQL...
August 27, 2015 at 2:28 pm
ramana3327 (8/27/2015)
Under sql server errors, I am seeing frequently
The activated proc 'sp_name' running on queue 'TestDB.dbo.SP_name' output the following: 'The current transaction cannot be committed and cannot support operations...
August 27, 2015 at 1:21 pm
komal145 (8/27/2015)
Something like below. I know that the same stored procedure when i ran...
August 27, 2015 at 1:18 pm
Jason A. Long (8/27/2015)
Also, get rid of the "WITH (NOLOCK)"s...
I agree but without an explanation it doesn't make any sense.
Here is an article that discusses this hint. There are plenty...
August 27, 2015 at 10:52 am
asranantha (8/26/2015)
Emp:
id | Deptno | sdate | edate ...
August 26, 2015 at 10:35 am
Jacob Wilkins (8/26/2015)
Sean Lange (8/26/2015)
August 26, 2015 at 10:15 am
TomThomson (8/26/2015)
Sean Lange (8/26/2015)
I have always laughed when I saw this because it is all caps it is not exactly clear when reading where the word breaks are. I...
August 26, 2015 at 10:13 am
A bit late to the party and surprised nobody else commented on this yet. The reason you are having this problem in the first place is because you have two...
August 26, 2015 at 8:48 am
Great question.
I have always laughed when I saw this because it is all caps it is not exactly clear when reading where the word breaks are. I have always read...
August 26, 2015 at 8:38 am
Ed Wagner (8/26/2015)
Going off the post about this query at http://www.sqlservercentral.com/Forums/Topic1714385-391-1.aspx#bm1714502, this is something called Firebird SQL.
Interesting. As much I would be willing to help I think I will walk...
August 26, 2015 at 7:41 am
chindilog (8/25/2015)
part.num, woitem.qtytarget AS woitemqty,
(SELECT LIST(wo.num, ',')
...
August 26, 2015 at 7:18 am
de 33643 (8/26/2015)
we have a server (Windows server 2008 R2 Standard) that runs a hyper V manager.
The Hyper V manager runs 2 virtual servers.
One of the virtual servers uses...
August 26, 2015 at 7:16 am
Ed Wagner (8/25/2015)
Alvin Ramard (8/25/2015)
Ed Wagner (8/25/2015)
August 25, 2015 at 1:18 pm
Viewing 15 posts - 2,416 through 2,430 (of 15,381 total)