Viewing 15 posts - 46,366 through 46,380 (of 49,571 total)
Could you show us what LogUserActivity does?
Does the the app that uses this DB use Connection Pooling?
May 29, 2008 at 12:30 am
The reason you've got as difference is because of the number of rows.
The 2 day query is returning 42k rows and that number is (probably just) small enough that SQL...
May 29, 2008 at 12:23 am
What comes to mind is using xp_readerrorlog to get the log, then looking for the line that reads
Logging SQL Server messages in file 'D:\Somewhere\ERRORLOG'.
It seems to be there whether the...
May 28, 2008 at 6:58 am
Take a test server, take baseline readings of the CPU usage, IO usage, etc. Implement some traces, take new readings.
If you're running SQL 2005, you already have a serverside trace...
May 28, 2008 at 6:28 am
Sure. Works in 2005 just fine
DECLARE @TimeStamp VARCHAR(4)
SET @TimeStamp = REPLACE(CONVERT(VARCHAR(10),GETDATE(),108),':','')
EXECUTE ('CREATE DATABASE TEST_DB' + @TimeStamp + ' ON
( NAME = TEST,
FILENAME = ''C:\SQL2005\Snapshot\TEST_DB' + @TimeStamp ...
May 28, 2008 at 5:22 am
Ok, you could try something like this (replacing placeholders with pertenant values)
Provider=sqloledb;Data Source=myServerAddress;Initial Catalog=myDataBase;
User Id=myUsername;Password=myPassword;
What version is your SQL Server (run SELECT @@Version)
Can you connect from query analyser using the...
May 28, 2008 at 5:12 am
Do you have the log file as well (ldf). If not, you'll have to use the attach_single_file proc and hope that the DB was shut down cleanly.
May 28, 2008 at 4:46 am
Much lighter than profiler. Make sure that the trace is writing to a fast drive that does not contain your database's data or log files or tempdb.
May 28, 2008 at 4:45 am
karthikeyan (5/28/2008)
How to understand US or UK accent easily ?
You'll get used to it in time. There's no quick solution. For now, it's up to you to make sure...
May 28, 2008 at 4:44 am
Firstly, don't ever, ever, ever, ever use the sa account for an application's login. You're asking for security problems.
Create an account just for the application that has just the permissions...
May 28, 2008 at 4:39 am
Have you done any index rebuilds lately?
Rather stay away from shrinking. Often you shrink the file and the next thing sQL needs to do is grow it again. It can...
May 28, 2008 at 12:16 am
niranjankumar_k (5/27/2008)
if i create index after BCP , further i do deletion and updation .. so it will reduce performance due to cluster index creation .
Have you tried it?
Unless...
May 28, 2008 at 12:04 am
Oh sure.
The 'hit recursion limit and roll back' was based on the assumption that there's no 'escape clause', that the trigger's been written to recurse 'forever'
May 27, 2008 at 2:20 pm
By default triggers cannot fire themselves. (recursive triggers disabled) so 2 rows will go in, but the second won't fire the trigger
If you have recursive triggers enabled then the trigger...
May 27, 2008 at 1:56 pm
You didn't miss anything. DTA has a very bad habit of massively over-suggesting indexes and statistics. Take its suggestions with a large pinch of salt.
I would suggest that you try...
May 27, 2008 at 1:46 pm
Viewing 15 posts - 46,366 through 46,380 (of 49,571 total)