Viewing 15 posts - 4,336 through 4,350 (of 5,393 total)
PARTITION BY is used in windowed aggregates, while GROUP BY is used in regular aggregates.
Look up OVER in BOL to find out more.
-- Gianluca Sartori
May 4, 2010 at 6:07 am
SQL Server doesn't need a front-end, it just needs a client connectivity library to be installed.
If you are using a front end, probably you have Access forms, so you might...
-- Gianluca Sartori
May 3, 2010 at 10:23 am
Yes, that's how it works.
SQL Server 2005 SSMS doesn't have a GUI switch to perform the copy only backup, but it's built into SQL 2008 SSMS.
-- Gianluca Sartori
May 3, 2010 at 9:19 am
I don't see how tempdb reads can grow its data file(s).
At least, I'm not aware of any way this could happen, but I could be flat wrong.
Can you please...
-- Gianluca Sartori
May 3, 2010 at 8:59 am
Grant Fritchey (5/3/2010)
Gianluca Sartori (5/3/2010)
The only thing I'm sure of is database size, that...
-- Gianluca Sartori
May 3, 2010 at 7:51 am
I don't know if SQL 2008 R2 has changed something in connection limits for Express Edition.
The only thing I'm sure of is database size, that changed from 4 to...
-- Gianluca Sartori
May 3, 2010 at 7:28 am
I see that this thread is still alive, so I'm throwing some more 0.02 € in.
Adam Machanic wrote a great monitoring procedure that could help you tracking down this issue....
-- Gianluca Sartori
May 3, 2010 at 6:17 am
Grant Fritchey (5/3/2010)
Gianluca Sartori (5/3/2010)
I would have put some more BREAK / CONTINUE in it and maybe nested...
-- Gianluca Sartori
May 3, 2010 at 5:58 am
I would use SQL Server 2008 R2 Express Edition. It's free and should do whatever you need. SQL Server Express supports 1 physical processor, 1 GB memory, and 10 GB...
-- Gianluca Sartori
May 3, 2010 at 4:16 am
Reformatting a query with a CTE doesn't affect performance, it's up to the optimizer to choose the appropriate query plan and a simple CTE won't hurt.
I'm a bit concerned about...
-- Gianluca Sartori
May 3, 2010 at 3:59 am
Can't you apply the replace part later?
You could use a subquery or a CTE to do that.
-- Gianluca Sartori
May 3, 2010 at 3:44 am
I'm a bit confused...
Can you post table scripts, some sample data, expected output and what you have coded so far?
Please read the article linked in my signature, it will...
-- Gianluca Sartori
May 3, 2010 at 3:31 am
I think Paul wants to join the "world's worst procedure" competition... :-P.
I would have put some more BREAK / CONTINUE in it and maybe nested another cursor, but nice...
-- Gianluca Sartori
May 3, 2010 at 1:58 am
I'm sure you can't use Datediff to do that, if I understand what you're after.
Datediff returns the difference between two dates.
BOL says:
Returns the number of date and time boundaries...
-- Gianluca Sartori
April 28, 2010 at 3:24 am
Use parenthesis around the two LIKE conditions:
select *
from resource
where [date] > '02/02/2010'
and ( [Alan] like 'In%' or [Alan] like 'R%' )
-- Gianluca Sartori
April 28, 2010 at 3:18 am
Viewing 15 posts - 4,336 through 4,350 (of 5,393 total)