Viewing 15 posts - 4,351 through 4,365 (of 7,502 total)
did you check Kimberly's very good white paper on partitioning ?
http://msdn2.microsoft.com/en-us/library/ms345146.aspx
BOL also has some info on sliding windows:
- "Transferring Data Efficiently by Using Partition Switching"
- "Designing Partitions to Manage Subsets...
November 5, 2008 at 1:04 pm
I would alter the distinct to a group by on all columns.
Group by may take advantage of existing indexes.
November 5, 2008 at 12:58 pm
seems to me like your data after exp is a date, so make it a datetime column !
pro:
- only date(time) values accepted
- the whole bunch of datetime related functions
con:
- no...
November 5, 2008 at 10:27 am
the original queries contained this where clause:
U.[user_id] = @original_user_id AND
U.[user_name] = @original_user_name AND
U.[user_surname] = @original_user_surname AND
...
November 5, 2008 at 5:17 am
Because of the parameter "DETAILED", it will perform like a dbcc updateusage with countrows....
BOL states:
.... The nonleaf levels of indexes are only processed when mode = DETAILED.
...
The DETAILED mode...
November 5, 2008 at 3:53 am
kubio (11/4/2008)
I had to write two separate queries to get what I want: that is, knowing the branchCode, get the email addresses from another table for two columns. This...
November 4, 2008 at 2:25 pm
did you resync the users ?
at db level execute this to get an overview of the actions you need to take:
print 'print @@servername + '' / '' + db_name()'
print 'go'
go
declare...
November 4, 2008 at 2:21 pm
best to do is compare the execution plans.
With sql2005 SSMS you can even save and post the .sqlplan if you want to.
using set statistics io on and set statistics time...
November 4, 2008 at 2:12 pm
FYI
When I design a table, it always contains a datetime created / user created column as well as a datetime altered / user alterd column.
(the altered columns maintained using...
November 4, 2008 at 1:39 pm
Best is to format all stuff in the front end application. (because this way you keep the datatime characteristics as long as possible)
Check out convert in BOL
November 4, 2008 at 1:01 pm
I advise to use aliasses in queries !
- a delete only operates on a single object !
so you should perform TWO delete statements !
Since you have DRI implemented (FK) ,...
November 4, 2008 at 4:05 am
That's even easier than I thought. (using the help/about in ssms) :hehe:
The WMI query results to :
Display Name: Service Pack 2 for SQL Server Tools and Workstation Components 2005 ENU...
November 4, 2008 at 12:33 am
Could you perform this query just as a test:
(=your query but used as a nested table expression)
Select *
from
(SELECT c.comm_id AS [ID],
...
November 4, 2008 at 12:17 am
you'll have to check the dll library of sql2005 at client level.
WMI softwarelist may also help out.
November 3, 2008 at 1:12 pm
Viewing 15 posts - 4,351 through 4,365 (of 7,502 total)