Forum Replies Created

Viewing 15 posts - 2,761 through 2,775 (of 5,393 total)

  • RE: Unable to drop user tables in Master Database

    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

  • RE: tempdb got big

    homebrew01 (9/7/2011)


    Is there a "rule of thumb" estimate of a reasonable tempdb database size in comparison the the databases on the server ? I know that the processes...

    -- Gianluca Sartori

  • RE: Find which port SQL Server is using to establish connections

    Avinash Barnwal (9/7/2011)


    The third way doesn't seem to be option to find out which of the port SQL Server is listening, since if you are already connected to the SQL...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    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

  • RE: Are the posted questions getting worse?

    SQLkiwi (9/7/2011)


    jcrawf02 (9/7/2011)


    I apparently have nothing useful in my head today. How about a new game for PASS Summit to get people talking to each other? Paul et al wear...

    -- Gianluca Sartori

  • RE: DBCC CHECKDB error

    sqlgreg (9/7/2011)


    Gianluca, the files MyFunkyDB.mdf and MyFunkyDB.ldf are there on the hard drive in the proper folder, same as the other databases I've created without any issues.

    Also I'm able to...

    -- Gianluca Sartori

  • RE: Are the posted questions getting worse?

    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

  • RE: Are the posted questions getting worse?

    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

  • RE: Are the posted questions getting worse?

    mtillman-921105 (9/7/2011)


    Hmm, just noticed that SQL Server Central t-shirts are on sale here. 'A little pricey at $27.00 though, but I still may pick one up. I feel...

    -- Gianluca Sartori

  • RE: tempdb got big

    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

  • RE: DBCC CHECKDB error

    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

  • RE: Profiler User error mesaages

    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

  • RE: tempdb got big

    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

  • RE: Is there a way to do a group by on all fields with a having clause?

    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

  • RE: SSMS uses indexed view but bcp does not with SQL2008 developer edition

    You're welcome.

    Glad I could help.

    -- Gianluca Sartori

Viewing 15 posts - 2,761 through 2,775 (of 5,393 total)