Viewing 15 posts - 36,661 through 36,675 (of 49,562 total)
wjones21 (9/1/2009)
It may be overkill but I'm also performing an update stats and an sp_recompile on every table that I'm rebuilding indexes on.
No need and possibly even harmful. Rebuilding indexes...
September 1, 2009 at 9:38 am
See this for some tricks on working with datetime values
http://sqlinthewild.co.za/index.php/2007/11/05/datetime-manipulation/
September 1, 2009 at 7:43 am
Great. Now which of those queries is the slow one?
From management studio you can script table and you can script indexes. Don't think they can be done as one step....
September 1, 2009 at 7:39 am
darth.pathos (9/1/2009)
September 1, 2009 at 7:31 am
Only the ones that are execution plans. If you take a quick look at each, it should be easy to see which are execution plans and which are real data.
September 1, 2009 at 7:25 am
Not datepart, but try dateadd.
p.s. the way you've written those queries is highly inefficient. By putting a function on the column, you're forcing a table scan, SQL cannot use indexes...
September 1, 2009 at 7:24 am
You may still need some extra locking, depending how you do the insert.
September 1, 2009 at 7:12 am
Bytes sent and bytes received is just the network traffic. No indication at all which query is more optimal on the server. To investigate that, use the execution plan and...
September 1, 2009 at 7:12 am
Rob Goddard (9/1/2009)
Thanks Gail, I wasn't aware of that at all. Seems like such an principal thing to not know as well! :crazy:
Nah. It confuses lots of people.
http://www.sqlskills.com/blogs/paul/2007/10/25/DebunkingACoupleOfMythsAroundFullDatabaseBackups.aspx
Actually,...
September 1, 2009 at 7:04 am
From the info that you've given us, all I can suggest is to add indexes to support the queries. If you want more specific help than that, please post the...
September 1, 2009 at 6:35 am
Mike Stuart (9/1/2009)
September 1, 2009 at 6:29 am
Not that I'm aware of.
If you're just interested in which were backed up and which were not, query the backup history tables in MSDB. There's a few of them, backupset...
September 1, 2009 at 6:25 am
Go to the job step, the advanced options. There's an option there to log to a file. Use that, it'll log the full error message.
September 1, 2009 at 2:31 am
All it's saying is that the server uses a NUMA architecture (non-uniform memory access) and it's showing you how the NUMA nodes are configured. When the server uses the NUMA...
September 1, 2009 at 2:30 am
Viewing 15 posts - 36,661 through 36,675 (of 49,562 total)