Viewing 15 posts - 2,761 through 2,775 (of 5,393 total)
You could trace the process with profiler, using the "tuning" built-in template.
You should be able to capture alle the statements executed in the session.
-- Gianluca Sartori
September 8, 2011 at 6:21 am
homebrew01 (9/7/2011)
-- Gianluca Sartori
September 8, 2011 at 1:23 am
Avinash Barnwal (9/7/2011)
-- Gianluca Sartori
September 8, 2011 at 1:15 am
Brandie Tarvin (9/7/2011)
Someone stop the presses! Computer Nerds are acting like Geeks!It's the end of the world.... :alien:
There must be a t-shirt for that too.
-- Gianluca Sartori
September 7, 2011 at 11:04 am
SQLkiwi (9/7/2011)
jcrawf02 (9/7/2011)
-- Gianluca Sartori
September 7, 2011 at 10:59 am
sqlgreg (9/7/2011)
Also I'm able to...
-- Gianluca Sartori
September 7, 2011 at 10:16 am
SQLRNNR (9/7/2011)
Gianluca Sartori (9/7/2011)
Uh, I guess the "spaghetti dba" should definitely buy this one, but I don't know how I would look like with it.😛
ermmm that one is for the...
-- Gianluca Sartori
September 7, 2011 at 10:14 am
Uh, I guess the "spaghetti dba" should definitely buy this one, but I don't know how I would look like with it.
😛
-- Gianluca Sartori
September 7, 2011 at 10:04 am
mtillman-921105 (9/7/2011)
-- Gianluca Sartori
September 7, 2011 at 10:01 am
Krasavita (9/7/2011)
Thank you, I ran it and under o open transactions is 0, anything else I should pay attention to?
As stated in my reply: no sessions, no results from...
-- Gianluca Sartori
September 7, 2011 at 9:56 am
Looks like SQL Server service user is unable to write the file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Data\MyFunkyDB.mdf'.
Check the service account in SQL Server Configuration manager. If you change the service...
-- Gianluca Sartori
September 7, 2011 at 9:53 am
1. Changed database context to 'databasename1'
It's not an error, it's an informational message fired whenever you change database context with USE DatebaseName. Nothing worth worrying about.
2. Changed language setting to...
-- Gianluca Sartori
September 7, 2011 at 9:38 am
You can monitor the tempdb usage per active session using this script:
http://www.sqlservercentral.com/scripts/tempdb/72007/
The script returns the tempdb usage for each active session and can't be used to identify the offending query...
-- Gianluca Sartori
September 7, 2011 at 9:23 am
Dynamic SQL:
DECLARE @tableWithDuplicates sysname
SET @tableWithDuplicates = 'SomeTableName'
DECLARE @sql nvarchar(max)
SET @sql = STUFF((
SELECT ',' + name
FROM sys.columns
WHERE object_id = OBJECT_ID(@tableWithDuplicates)
ORDER BY column_id
FOR XML PATH('')
),1,1,'')
SET @sql = ' SELECT ' + @sql...
-- Gianluca Sartori
September 7, 2011 at 9:08 am
You're welcome.
Glad I could help.
-- Gianluca Sartori
September 7, 2011 at 7:31 am
Viewing 15 posts - 2,761 through 2,775 (of 5,393 total)