Viewing 15 posts - 47,671 through 47,685 (of 49,552 total)
That's a pretty massive request. Do you have any experience in doing any of that?
If not, I would recommend you look at getting someone in who does know how to...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 3:59 am
Chirag (1/15/2008)
Hope somebody can come up with better anser.
Was my answer inadequate?
in sysprocess there is a column blocked which shows the processid of the blocking process.
What about using...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 3:54 am
If you update a view, the table underlying that view is updated. You shouldn't need a trigger.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 3:47 am
I'm not sure i understand what you're after.
If you query sysprocesses (select * from master..sysprocesses where spid > 50) you'll see there are four columns - blocked, waittime, lastwaittype and...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 3:43 am
RPC Process? Did you identify that from profiler or from the deadlock graph?
Could you post the deatils that you have?
PRC calls are usually stored procedures. Means you'll have to dig...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 2:36 am
You can use a normal temp table (#Tablename) as its visible in the procedure that created it, and any procedure or dynamic SQL called by that procedure.
A table variable has...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 1:21 am
I had much the same problem some months back. Group of developers felt they were above the rules and were fiddling on Prod using a SQL account for a messaging...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 1:12 am
The structure of the data and log files are the same for all the architectures that SQL runs on.
I've moved DBs (detach/attach) between IA-64 to x86, from x86 to...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 12:42 am
You can't directly control it.
The cache remove occurs when SQL, for whatever reason, decides that the cached execution plan for the query its about to run is no longer optimal....
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 12:39 am
A heap can't really fragment. Since there's no defined order for the rows, pages are just added at the end of the chain.
What you can get with heaps is forward...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 12:29 am
Firstly, see if anything's changed in tha last few days. Any code changes, large data loads, hardware changes, etc, etc
Rebuild the indexes if they're fragmented. If you do a rebuild,...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 15, 2008 at 12:01 am
DECLARE @TblName VARCHAR(50)
SET @TblName = 'MyTable' -- can be a parameter also
IF (SELECT OBJECT_ID(@TblName,'u')) IS NOT NULL
PRINT 'Table Exists'
ELSE
PRINT 'Table Not Exists'
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 14, 2008 at 11:39 pm
muthukrishnan.e (1/14/2008)
hi,i dont want to skip ranks .... i want it like 1, 2, 2, 4, 5, 5, 7......
Ok. I said dense_rank based on the rank values you...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 14, 2008 at 4:50 am
You can see all the logins on the server using the system view sys.server_principals. It's the 2005 replacement for syslogins.
SELECT * FROM sys.server_principals WHERE type IN ('u', 'S')
sysusers on SQL...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 14, 2008 at 1:09 am
There seems to be a bad link in the article. The link under "Network Solutions snatching domain names" instead links to an article about online polls.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
January 14, 2008 at 12:57 am
Viewing 15 posts - 47,671 through 47,685 (of 49,552 total)