Viewing 15 posts - 3,766 through 3,780 (of 15,381 total)
Ed Wagner (9/23/2014)
Sean Lange (9/23/2014)
Ed Wagner (9/23/2014)
SQLRNNR (9/23/2014)
Ed Wagner (9/23/2014)
SQLRNNR (9/23/2014)
aggregateFunction
junction
Conjunction
School House Rock
Bill (one of the episodes I remember from the 1980s)
Flashback
September 23, 2014 at 8:11 am
Ed Wagner (9/23/2014)
SQLRNNR (9/23/2014)
Ed Wagner (9/23/2014)
SQLRNNR (9/23/2014)
aggregateFunction
junction
Conjunction
School House Rock
September 23, 2014 at 7:57 am
Here is a great article which explains this. http://blogs.msdn.com/b/conor_cunningham_msft/archive/2008/08/27/no-seatbelt-expecting-order-without-order-by.aspx
September 23, 2014 at 7:44 am
tr763 (9/23/2014)
September 23, 2014 at 7:39 am
Here are a few links which discuss what that NOLOCK hint is really doing.
http://sqlblogcasts.com/blogs/tonyrogerson/archive/2006/11/10/1280.aspx
http://blogs.msdn.com/b/davidlean/archive/2009/04/06/sql-server-nolock-hint-other-poor-ideas.aspx
http://www.jasonstrate.com/2012/06/the-side-effect-of-nolock/%5B/url%5D
September 23, 2014 at 7:32 am
As previously mentioned either one can be correct. Those two calculations are NOT the same thing. A subtle difference perhaps but the results could vary greatly as they are calculating...
September 23, 2014 at 7:30 am
Great question. I pretty much knew what was being tested part way through and skipped the first insert. Guess I should wait until after I finish my first cup of...
September 23, 2014 at 7:24 am
djj (9/22/2014)
crookj (9/22/2014)
SQLRNNR (9/22/2014)
crookj (9/22/2014)
Ed Wagner (9/22/2014)
TomThomson (9/22/2014)
wotd: Threadless (see [http://www.sqlservercentral.com/Forums/Topic1618108-61-1.aspx])Memorial
Service
Broker
Richer
Poorer
Sickness
September 22, 2014 at 12:12 pm
phingers (9/19/2014)
CREATE VIEW [dbo].[bespoke_packaging_per_job]
AS
SELECT DISTINCT dbo.jobbom.jobnum, dbo.lotdet.lotnum, dbo.prdall.descr, dbo.spdfil.mark, dbo.boming.slot
FROM dbo.bomlot WITH (nolock) INNER JOIN
...
September 19, 2014 at 9:42 am
Please don't use all caps. It is considered yelling and is really difficult to read.
Now let's turn that unformatted mess into something legible.
SELECT DEBIT.ACCOUNT_NO
,DEBIT.SERVICED_AMT
,DEBIT.TRANSACTION_VALUE_DATE
,DEBIT.SERVICED_FLAG
,CREDIT.ACCOUNT_NO
,CREDIT.TRAN_AMT
,CREDIT.SERVICED_FLAG
,CREDIT.[TRANSACTION_VALUE_DATE]
FROM TBL_INTEREST_DEBIT AS DEBIT
INNER JOIN TBL_CREDIT...
September 19, 2014 at 8:30 am
up.sivakumar (9/19/2014)
group by CONVERT(VARCHAR(10),LEFT( e.REGION ,10))
order by e.REGION
The above SQL Script ran successfully up to yesterday. But today its throws the below...
September 19, 2014 at 8:23 am
Your question is so incredibly vague there is no real way to answer it. Do things that make your code accurate and fast. Don't do things that make your code...
September 19, 2014 at 8:18 am
up.sivakumar (9/19/2014)
Now...
September 19, 2014 at 8:13 am
I am not a fan of formatting from the sql side but you could greatly simplify this query. There is no need for these elaborate case expressions and hard coded...
September 19, 2014 at 8:09 am
Viewing 15 posts - 3,766 through 3,780 (of 15,381 total)