Viewing 15 posts - 7,981 through 7,995 (of 15,381 total)
Lucky9 (6/12/2013)
below is the sample format of query inside the...
June 12, 2013 at 12:55 pm
rick_markham (6/12/2013)
June 12, 2013 at 12:46 pm
Like this?
select isnull(A.Name, 'A is null') as AName, isnull(B.name, 'B is null') as BName, C.Why
where A.ID = B.ID
and C.ID = A.ID
June 12, 2013 at 11:57 am
I understand your requirements. This is a bit challenging. Since you are brand new around here I went ahead and put together some ddl and sample data in a consumable...
June 12, 2013 at 10:05 am
rick_markham (6/12/2013)
I can right click...
June 12, 2013 at 9:48 am
Something like this should help you get started.
set dateformat ymd
select case left(AS400, 1)
when 1 then cast(RIGHT(AS400, 6) as datetime)
when 0 then DATEADD(year, -100, cast(RIGHT(AS400, 6) as datetime))
end as CalcDate
from...
June 12, 2013 at 8:35 am
Excellent question Hugo. I think the most disturbing thing is that at the time of this posting 38% of responders think there are rows that between -1 and -10!!! 😛
June 12, 2013 at 8:23 am
What you have here is known by some as a triangular join. It is in fact horribly slow and inefficient. Take a look at this article that explains what you...
June 12, 2013 at 7:57 am
m.rajesh.uk (6/12/2013)
Hi all,Can we restore sql server 2008 databases with sql 2012 database backups. Or backward compatibility is not possible in any version of sql.
A 2012 instance can restore a...
June 12, 2013 at 7:48 am
mike.dinnis (6/12/2013)
I have a table with five fields used to hold address data. Due to poor practices the users have been able to enter any data in any field. They...
June 12, 2013 at 7:29 am
rick_markham (6/11/2013)
June 12, 2013 at 7:26 am
nitha jen (6/12/2013)
i don't understand,what you mean by sample data???
Sample data as outlined by reading the article found at the first link in my signature. Additionally you really should start...
June 12, 2013 at 7:16 am
Or you could use the DelimitedSplit8K.
SELECT *
FROM( VALUES('LC,AMB'),('LCAND, CMB'),('ABC, LC'),('LC'),('Welcome')) x(String)
cross apply dbo.DelimitedSplit8K(replace(String, ' ', ''), ',') s
where s.Item = 'LC'
You can find that code by following the article in...
June 11, 2013 at 3:27 pm
Learner44 (6/11/2013)
Hi friends,I found this wonderful article with example on
from other posts..
But I am still wondering about what is "Overhead" means in encyption?
Please help.
thanks.
"Overhead" in encryption is referring to the...
June 11, 2013 at 2:48 pm
Paresh Motiwala (6/11/2013)
Thanks for your response.
But the query runs fine in 47 seconds.
It just doesn't run in SSRS or Report Builder.
It used to work before.
So if you can help,...
June 11, 2013 at 2:02 pm
Viewing 15 posts - 7,981 through 7,995 (of 15,381 total)