Viewing 15 posts - 11,941 through 11,955 (of 15,381 total)
Sean Lange (5/7/2012)
You're welcome. Does this mean you finally have your answer? 😛
I assume by your silence that you did in fact get your issue resolved. It is somewhat customary...
May 15, 2012 at 2:52 pm
Group by would likely get you what you are looking for.
so what is this query doing?
Select *
From LLA_Audits t12
Join LLA_Audits t13
ON t12.AgencyID = t13.AgencyID
Where t12.AgencyID = t1.AgencyID
And year(t12.ReportDueDate) = year(t1.ReportDueDAte)...
May 15, 2012 at 2:46 pm
pgmr1998 (5/15/2012)
Server: Msg 156, Level 15, State 1, Line 13
Incorrect syntax near the keyword 'FROM'.
SELECT AgencyId, AgencyName, AgencyType,
...
May 15, 2012 at 2:24 pm
SQLKnowItAll (5/15/2012)
Why do you violate ISO-11179 rules?
Hehehe... Because nobody learns them or cares to. I'll tell you a question I have never been asked at an interview... "Are you familiar...
May 15, 2012 at 2:02 pm
???
Select AgencyID, AgencyName,AgencyType, Count(docs)
from Agencies
where isOpenAllegation= 1 and WorkType = 'Agreed-upon Procedures'
group by AgencyID, AgencyName, AgencyType
???
From your brief description is appears that your data is not normalized. You should...
May 15, 2012 at 1:36 pm
CELKO (5/15/2012)
May 15, 2012 at 1:19 pm
rabisco (5/15/2012)
Sean Lange (5/15/2012)
May 15, 2012 at 1:09 pm
CLR is a way of executing a stored proc whose code is actually .NET code. This type of string manipulation is tricky and probably a bit easier to code in...
May 15, 2012 at 12:59 pm
There are lots of ways you can sort data in .NET. It really depends on what you are doing.
May 15, 2012 at 12:50 pm
Something like this?
select name, Gender
from
(
select name, Gender, ROW_NUMBER() over (order by name) as RowNum
from #tmp
where Gender = 'M'
union all
select name, Gender, ROW_NUMBER() over (order by name) as RowNum
from #tmp
where...
May 15, 2012 at 12:12 pm
That would be another way. 😀 Nicely done!!!
May 15, 2012 at 12:05 pm
Are you 100% certain that the column that is throwing this error is the one you changed to varchar(max)? Is it possible that there are more characters than a field...
May 15, 2012 at 12:02 pm
bighow2008 (5/15/2012)
I'm trying to update a table using a subquery. when I run the below script I get an error Msg 512. I have done updates like this in...
May 15, 2012 at 11:42 am
Steve Jones - SSC Editor (5/15/2012)
How often do we see on this site decisions made by people who work as DBAs that are awful? These people are often trained for...
May 15, 2012 at 11:28 am
Viewing 15 posts - 11,941 through 11,955 (of 15,381 total)