Viewing 15 posts - 45,691 through 45,705 (of 49,571 total)
Any Advice on Tuning
Yeah. Get rid of the cursor. I can't see anything that makes the cursor necessary.
Some information on what it's supposed to do, structures of tables involved and...
July 15, 2008 at 12:24 pm
steve smith (7/15/2008)
I can't get this to load in my browser. Is there a problem in the way it's cited?
Try doing a save-as
I've greatly enjoyed this thread, and a...
July 15, 2008 at 12:13 pm
Jonathan Kehayias (7/15/2008)
July 15, 2008 at 12:02 pm
Do you have replication active?
Do you have database mirroring?
If you run the following, what does it return for the DB in question?
SELECT name, recovery_model_desc, log_reuse_wait_desc from sys.databases
July 15, 2008 at 11:25 am
Steve Jones - Editor (7/15/2008)
The prerequisites make some sense, but it needs to have some way to verify those items and test the skills.
Since it's training courses and lab...
July 15, 2008 at 11:12 am
There's no magical quick-fix for performance problems. You are going to have to find the poorly performing queries (run profiler for an hour or so and catch all the queries...
July 15, 2008 at 10:59 am
The concatenation problem I'll leave for someone else. As for the perf problem...
The functions you have on the column in the where clause prevent index seeks, so the query requires...
July 15, 2008 at 7:51 am
Specifying WITH RECOVERY recovers the database and brings it online. Once recovered, no more log backups can be applied (which is why you only want it specified on the last)
July 15, 2008 at 7:49 am
Then someone's running a proc/sql batch on the other server that's checking your statistics.
Have a look at the server that's the source of this. See what you can see running
July 15, 2008 at 7:47 am
Reindex alone should be fine. Reindex updates the statistics so there's no need to do that as a separate step
Don't shrink your databases
Don't truncate your logs. Either set up a...
July 15, 2008 at 7:45 am
rinu philip (7/15/2008)
I have tried it on sql 2000.:) and it worked..
I thnk that's an ODBC function, rather than native SQL. Can't find a confirmation though.
Either way, there's no associated...
July 15, 2008 at 6:26 am
DBCC SQLPERF(logspace) will show you the percentage log space used for all the database on the server
July 15, 2008 at 6:16 am
rinu philip (7/15/2008)
SELECT ENCRYPT ('Test')-> when this select query is run on a database the value obtained is in an encrypted format.
On which version of SQL? On SQL 2005,...
July 15, 2008 at 6:13 am
Viewing 15 posts - 45,691 through 45,705 (of 49,571 total)