Viewing 15 posts - 16 through 30 (of 52 total)
Got it... I added
,@PRIORDATE = CASE WHEN [P].[ID_NUMBER] = @PrevAcctID THEN @CURRDATE ELSE 0 END
November 7, 2008 at 10:16 am
Are you talking about the vulcon mind melt?
oh, 1 more thing too please; at each change in the ID_NUMBER, the code isn't setting the first row to 0, it's taking...
November 7, 2008 at 10:07 am
You are so smart...
Trying to figure out the order in which to lay things out is tough for me... I get those vulcon mind melts...
Thanks so much,
John
November 7, 2008 at 9:53 am
I'm trying to tell him not to use Dynamic SQL
He declares the @DBName and the the @DBSchema [dbo]
the DBName is ok cause we use USE
Only one person runs this SP...
November 4, 2008 at 2:01 pm
The keeper opens up Access and they are logged into to SQL Server with their XID, maybe even the group permissions...
He doesn't want the Table that is created by this...
November 4, 2008 at 1:34 pm
Cool, Let me take my foot out of my mouth...lol.
I assume I could put variables in the debugger that are in my Stored Procedure and view their values?
John
November 3, 2008 at 12:16 pm
I can never start the darn thing (lol) cause the Stored Procedure I want to debug doesn't have any parameters to pass in...
I couldn't find anything to tell me...
November 3, 2008 at 10:55 am
I got the error, forgot to join the other table... doh
November 3, 2008 at 10:51 am
I'm a bit confused, but check out my post I just posted and my other post, "Recursive"; I think that may be what you want...
October 31, 2008 at 2:35 pm
Question: Can an UPDATE STAMEMENT be done on a Derived Table while that Derived Table is inserting data into a table...
So in the FROM CLAUSE of the UPDATE STATEMENT, I...
October 30, 2008 at 7:46 am
Very glad you pointed it out... Ironicly I had found it the other night, not knowing how significant it was or would be for me...
THANKS...
October 30, 2008 at 5:34 am
DOH...
I had to change this for some reason to
@BEG_BAL = CASE ...
October 29, 2008 at 6:07 pm
Was just thinking, the method is working becuase the RunBal and RunCnt fields are updating... I have to missing somehting...
October 29, 2008 at 5:30 pm
How do I turn on the trace for this query and shut it off???
thanks,
John
October 29, 2008 at 5:11 pm
hi,
I thought it was the right way to do it... I'll remember for next time...
October 29, 2008 at 4:40 pm
Viewing 15 posts - 16 through 30 (of 52 total)