Viewing 15 posts - 46,471 through 46,485 (of 49,571 total)
WITH (NOLOCK) = WITH (Occationally_Inconsistant_Data) 🙂
Nolock is something you use if you don't mind seeing dirty data, potantially missing rows and possibly reading rows twice. It's probably fine for long-running...
May 21, 2008 at 7:45 am
Duplicate post. Please do not reply to this.
http://www.sqlservercentral.com/Forums/Topic504304-291-1.aspx
May 21, 2008 at 6:07 am
SQL data and log files are not sparse. Snapshot data files are. Make sure you give your snapshot files a distinctive name (not .mdf) so you can easily distinguish them...
May 21, 2008 at 5:59 am
They extend the length of transactions, the increase the chance of deadlocks, and most people don't know how to write one. 😉
Do whatever you need to in the proc before...
May 21, 2008 at 5:52 am
Slawek (5/21/2008)
You are definitely software ortodox 🙂
No, we've just done a fair bit of performance tuning in the past and know where the issues usually lie and where the improvements...
May 21, 2008 at 5:49 am
As far as I can see, aa is just an alias for the openXML in the first query. It won't last longer than the execution of the first query. Hence,...
May 21, 2008 at 2:38 am
Clustered indexes should (imho) be as narrow as possible. From what you've said, I'd second Jeff and go for a cluster on A on just the ID. You can create...
May 21, 2008 at 12:49 am
Create indexes after the bcp/Bulk insert. That way they won't interfere with the load, but will be present when you're querying the table later.
As always, test carefully to ensure that...
May 21, 2008 at 12:33 am
veenagireesha (5/20/2008)
But when I tried ti insert into records..It not convertedto uppecase at all...Isn't it possible this way ?
A default just sets the value of the column if no...
May 21, 2008 at 12:27 am
Jeff Moden (5/20/2008)
The bat I kept at my desk was the "hardware training aid".
I have one of them too, though it's a calendar mailing tube. A...
May 21, 2008 at 12:26 am
Glad to hear it.
May 21, 2008 at 12:23 am
Jeff Moden (5/20/2008)
Setup profiler to page, call, email, and throw rocks at the hardware team everytime a query takes longer than a certain time to execute... you sleep. 😛
Unfortunatly that's...
May 21, 2008 at 12:23 am
What we're saying is that you should only do hardware fixes if you know it's a hardware bottleneck, and you've already optimised the queries as much as possible and tuned...
May 21, 2008 at 12:10 am
GSquared (5/20/2008)
May 20, 2008 at 12:57 pm
Can you post the execution plans please. You can right-click on the exec plan, save it as a .sqlplan file, zip and attach to the post. (assuming SQL 2005)
Somewhere I...
May 20, 2008 at 12:48 pm
Viewing 15 posts - 46,471 through 46,485 (of 49,571 total)