Viewing 15 posts - 19,126 through 19,140 (of 22,214 total)
Do you have an execution plan showing how the function is behaving?
December 9, 2008 at 10:53 am
That's great. I hadn't even tried it in 2005. Thanks for posting.
December 9, 2008 at 10:51 am
OUTPUT parameters will do the trick, but they'll only work for single row inserts. If you need to do any batch work, you'll want to look into the OUTPUT clause...
December 9, 2008 at 7:54 am
Yes, I want direct control over what is run and how it is run within my system. Maintenance jobs are OK, but they can be problematic. I have a lot...
December 9, 2008 at 7:51 am
check the collation settings between each database, the connection settings (with focus on ANSI settings) and, check the service packs and hot fixes to ensure they're both the same.
December 9, 2008 at 6:47 am
dastagirid (12/9/2008)
I WANT TO KNOW WHAT IS THE LAST 10 RECORDS IN MY DATABASE TABLES .IS ANY COMMAND IS THERE OR NOT ? ...
You have to ask the last...
December 9, 2008 at 6:44 am
Is that 11 million on top of the 12 million? You could be looking at more and page splits and index reorgs on top of the stuff that Jack mentioned.
December 8, 2008 at 9:49 am
Something is shutting down your database. If it's not AUTO_CLOSE, it's something else. Code sure seems like the next best bet.
December 8, 2008 at 8:10 am
Is it possible the database is being closed by the app when it closes it's connection? That's possible.
December 8, 2008 at 8:03 am
You've got a scan going against 6 million rows and returning nothing. That's a problem.
I'd suggest checking the indexes on COI_AppDb. Also, the <> construct can cause problems with index...
December 8, 2008 at 6:40 am
I'm not sure. I do know that the construct where you're using 'SELECT... (SELECT..) + (SELECT...)' is a bit odd and not how I would have done it. As you...
December 7, 2008 at 7:41 am
sqlguy (12/6/2008)
I knew about using an index to prevent a table scan. What are the most common causes of index scans and how can these be resolved?
I'm not sure...
December 7, 2008 at 7:30 am
JOINs are pretty much by definition going to be predicated on the PK, an FK or an alternate key that can function as linking mechanism for an FK. You can...
December 7, 2008 at 7:24 am
The second solution is better. The first is going to set up weird relationships. It'll be difficult to query against and hard to maintain. The second solution will make for...
December 6, 2008 at 4:55 am
Viewing 15 posts - 19,126 through 19,140 (of 22,214 total)