Viewing 15 posts - 16 through 30 (of 301 total)
Lynn Pettis (5/2/2012)
blandry (5/2/2012)
I am however getting an error and I cant figure it out! Look at this line that is choking...
DATEADD(MONTH, DATEDIFF(MONTH, 0, DATEADD(M,n,Files.LastModified)), 0) AS monthModified,
Which one...
May 2, 2012 at 11:20 am
Hi Lynn / Cadavre,
Sorry I am late today - meetings in the AM and more coming too - but while I have time I looked over the code you sent,...
May 2, 2012 at 10:55 am
When our clients use our tools they can specify about 10 or so parameters - that is what you are asking about...
So, its the modified date of the file (eg,...
May 1, 2012 at 1:34 pm
Lynn Pettis (5/1/2012)
Second, I am assuming...
May 1, 2012 at 1:18 pm
Lynn Pettis (5/1/2012)
May 1, 2012 at 1:15 pm
Here is fn_ISAppType
ALTER FUNCTION [dbo].[fn_IsAppType](@LookingForAppBrand varchar(100),
@AppBrandValue varChar(100))
RETURNS int
As
BEGIN
Declare @IsApp int
IF @AppBrandValue = @LookingForAppBrand set @IsApp = 1
ELSE
set @IsApp = 0
RETURN...
May 1, 2012 at 1:10 pm
Lynn,
In your second post you say "Thinking this is what you are trying get so far?" - uh, no... I dont get that many rows as shown in your...
May 1, 2012 at 1:03 pm
Lynn,
Thanks - sweet bit of code! Uh, yes... There is more work to do here and I promise I will try to do it with set based thinking...
May 1, 2012 at 12:56 pm
Hello again Cadavre / Lynn,
I have a question regarding the CTE Cadavre shared with me. I have done a bit of studying to get the brain wrapped around this...
May 1, 2012 at 12:30 pm
Cadavre,
Today I will study and dive into the CTE element much deeper - and yes, you are absolutely correct - we developers who have spent years (decades in my case)...
May 1, 2012 at 6:20 am
Cadavre...
I apologize - yes, the CTE you forwarded is great, sleek, and well, its just getting my head around it that took time. I appreciate the code.
And yes again...
April 30, 2012 at 1:52 pm
Point taken... Good point too. Let me first try to finish what I am doing now as suggested elsewhere (which seems to be working better) and then we...
April 30, 2012 at 1:01 pm
Ah, Gotcha...
I got a couple great suggestions and some guideance off another SQL site and I am pursuing that right now. If I get stuck I will try to...
April 30, 2012 at 12:46 pm
Thanks Lynn...
However, there are no CREATE TABLE statements - this comes out of one of our core Databases, created 10 years ago (or more?) through the interface, not statements. ...
April 30, 2012 at 11:17 am
Wow...
Thanks for the replies, and the advice. I made the cursor READ_ONLY, presuming that would help improve things - but if you guys are saying "Dont use cursors", that...
April 30, 2012 at 9:53 am
Viewing 15 posts - 16 through 30 (of 301 total)