Viewing 15 posts - 136 through 150 (of 298 total)
Assuming they are all production I would let windows and sql manage memory.
Allen
November 22, 2007 at 2:44 am
Hi Ramesh,
Thanks - I'm completely sorted on this.
Completely understand about painting the full picture but sometimes I want to precis the info to make it digestible (or no one will...
November 21, 2007 at 8:46 am
Hi Both,
I probably did not give you the full story. I'm only matching credits & debits where the absolute values are the same so I think I can include the...
November 21, 2007 at 7:53 am
Doh. Thank you Ramesh. I had'nt thought of that. It works a treat plus I even understand it !
Allen
November 21, 2007 at 5:52 am
I can do this
SELECT c.AccountNumber, MIN(d.debitID) AS debitID, c.CreditID
FROM #Credit c JOIN #Debit d
ON ABS(c.CreditAmount) = d.DebitAmount
WHERE d.debitID < c.CreditID
GROUP BY c.AccountNumber, c.CreditID
and get this but the second row...
November 21, 2007 at 5:02 am
Hi Jeff,
I'm not sure if 'Packing Join' is the correct name but it's all I have right now. Being as I got your interest I'll be cheeky and post some...
November 21, 2007 at 2:05 am
Thanks David, that too is news to me.
Are there any *Nice* gotchas?
November 5, 2007 at 6:57 am
Thanks Jez & Steve,
Of course I _KNEW_ my data was the same....but it wasn't.
I was using a SELECT INTO and the IDENTITY function with an ORDER BY which I was...
November 5, 2007 at 5:04 am
...or
Have a look at Cross-tab reports in BOL.Go to the search tab and search for
Pivot and you should see an entry.
November 1, 2007 at 12:14 pm
I think it might not like the () brackets.
EXECUTE master..xp_cmdshell ('dir *.exe')
EXECUTE master..xp_cmdshell 'dir *.exe'
November 1, 2007 at 9:18 am
A big thanks David & Jeff.
I _do_ now understand the code, I was focusing (obsessing) on the join and not considering the SUBSTRING
Another good day at school!
October 9, 2007 at 7:35 am
Hi David,
That is very cool, I have not used a numbers table before. I see by running it that the Number points to the start of each delimited string.
I guess...
October 9, 2007 at 4:52 am
Hi David,
Thankls for this, data does indeed come from a table. I'll give it a try, I _think_ I understand what you are doing.
Allen
October 8, 2007 at 7:33 am
Hi Jeff, Thanks for your interest.
The function takes a comma delimited string and splits it up. It takes three parameters 1. an account number 'clacc_no' 2. a date and 3....
October 8, 2007 at 1:57 am
Hi Peter, Thanks for the reply.
My 2005 function was trying to build a TABLE variable taht I could join to using CROSS APPLY.
Because I can't CROSS APPLY in sql2k I...
October 2, 2007 at 5:18 am
Viewing 15 posts - 136 through 150 (of 298 total)