Viewing 15 posts - 76 through 90 (of 1,824 total)
vijayarani87.s (6/27/2012)
Thanks Ravi i have changed the code, I am using while loop now...Hope it will not affect my performance in future 🙂
Is all you have done replaced the CURSOR...
June 27, 2012 at 12:17 am
farax_x (6/14/2012)
Dave Ballantyne (6/14/2012)
Untested
with ctenum
as
(
Select top(100) Row_number() over (order by (select null)) as rown
from sys.columns
)
SELECT TOP...
June 14, 2012 at 7:20 am
Something like this ?
Untested
with ctenum
as
(
Select top(100) Row_number() over (order by (select null)) as rown
from sys.columns
)
SELECT TOP 5 *
FROM dbo.tblLottery
join ctenum
on...
June 14, 2012 at 12:29 am
Have you tried EncryptByCert ?
June 13, 2012 at 2:11 pm
If you use MERGE , you can do this.
http://sqlblog.com/blogs/rob_farley/archive/2012/06/12/merge-gives-better-output-options.aspx
June 13, 2012 at 1:58 pm
Thats is not the point , profiler will introduce locking that can slow down a production server. By moving it to another server you have made it even worse.
http://weblogs.sqlteam.com/dang/archive/2007/12/16/Avoid-Causing-Problems-with-Profiler.aspx
May 21, 2012 at 5:10 am
I dont think this is particularly worrying , more worrying is that are running profiler live. Dont do this, use server side tracing . Profiler will bork the...
May 21, 2012 at 4:41 am
Hi,
You need to use the GROUP BY clause
Select SalesPerson , count(*)
from Sales
Group by SalesPerson
May 21, 2012 at 12:16 am
A bit of a vague question , but i would recommend any book by Itzik Ben-Gan.
Start out with this one.
http://www.amazon.co.uk/Microsoft-Server-T-SQL-Fundamentals-PRO-Developer/dp/0735626014
May 14, 2012 at 12:02 am
Show us the code for how far you got and we may be able to provide pointers to take you the rest of the way
March 8, 2012 at 4:59 am
A nice piece of homework....
So the way to solve this would be to group by picking the min and max order and aggregating (summing )bookvalue and accvalue. Then...
March 8, 2012 at 12:07 am
Grant Fritchey (3/7/2012)
As long as the Red M&M's and J-Lo all show up as arranged.
All done, it was a tough rider to get together but we've had worse demands 🙂
You...
March 7, 2012 at 11:55 pm
Tony Rogerson has been playing a lot with commodity SSD kit recently
March 7, 2012 at 3:00 pm
Hi all,
havent been around 'the thread' for a while, and only dipped in and out of SSC, been a bit busy :ermm:
Im running a lunch time user group in London...
March 7, 2012 at 2:57 pm
Viewing 15 posts - 76 through 90 (of 1,824 total)