Viewing 15 posts - 19,111 through 19,125 (of 22,202 total)
Not surprising. The function is basically running a query for each and every row in your database.
A better approach would be to JOIN to the lookup table, either directly or...
December 9, 2008 at 11:39 am
In general, yes, you'll want to have multiple file groups. I'd recommend them for your OLTP system too. As to specifcally how many and where, that's hard to to say....
December 9, 2008 at 11:03 am
Instead of shrinking the database at the beginning of the process, I'd suggest growing the log out to the necessary size and making sure that it's cleaned out (BACKUP LOG...
December 9, 2008 at 10:55 am
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
Viewing 15 posts - 19,111 through 19,125 (of 22,202 total)