Forum Replies Created

Viewing 15 posts - 39,496 through 39,510 (of 49,571 total)

  • RE: Why Cursor is Slower?

    Wish (4/26/2009)


    I got the answer why cursor is slow. It acquires locks which table variable does not do, and that is why Cursor is

    slow.

    Nope. Cursors are slow because they...

  • RE: Are the posted questions getting worse?

    RBarryYoung (4/26/2009)


    For anyone who has been wondering where I've been, let's jsut say that it has been an eventful two weeks. I am writing this now from my hospistal bed,...

  • RE: Abusing Table Variables?

    Not about the code itself, but do you have permission from the vendor to post their code up in public? If not, it might be a good idea to write...

  • RE: SQL Injection?

    sqlqueue (4/26/2009)


    so how i can i dig more towards it ? and if my server is impacted with sql injection issue how can i figure out ?

    You're going to...

  • RE: trace

    Trace flags are completely separate and distinct from SQL Trace.

    SQL Trace (profiler) is what's shown in the sys.traces view. They are traces of events that occur on the server and...

  • RE: Are the posted questions getting worse?

    Bob Hovious (4/26/2009)


    Isn't it beautiful outside this weekend? I'm about to close the lid on my laptop and go commune with nature. This is too pretty...

  • RE: Are the posted questions getting worse?

    Bob Hovious (4/26/2009)


    True enough, Gail. I'm guilty both of assuming that Flo is on 2005/2008 and that a dashboard application looking at huge files only needs a "close...

  • RE: 'If Exists'

    buz_gray (4/26/2009)


    I'm new to SQL Server and it's a little exasperating that 'If Exists' should work but seems not to and my alternative does but seems to be little documented!

    Are...

  • RE: Are the posted questions getting worse?

    Bob Hovious (4/26/2009)


    As for the dashboard, where big tables are concerned, even using

    --

    select count(*) from dbo.sometable as numberOfRows

    --

    is going to run slower than

    --

    declare @tableStats table

    (name varchar(50), numberOfRows int,...

  • RE: Read Only Server

    Chris Hancock (4/25/2009)


    Maybe someone could convince me that we won't have any sizing problems. Currently we have about 300 users, total Data size approx. 300 GB, largest tables have...

  • RE: Update table using procedure - Help

    saurabh.dwivedy (4/25/2009)


    I would like to still understand this in a bit more detail - Why does it not work?

    Because it's not valid syntax. Nothing fancier than that.

    Is it...

  • RE: Maintenance Plan - System Databases - More than just backup?

    DKG (4/26/2009)


    As per my knowledge, The model database is a template, used by Microsoft SQL Server when creating other databases, such as tempdb or user databases. When a new database...

  • RE: Are the posted questions getting worse?

    WayneS (4/25/2009)


    2. For the slowness of the reports, he was copying the tables needed for a specific report to a temp table (he did not add any indexes to them)....

  • RE: AdventureWorks in SQL Server 2005

    You'll find it up on Codeplex[/url]. Search for adventureworks and then check the available versions, make sure you get the 2005 version not the QL 2008 version.

  • RE: Update table using procedure - Help

    saurabh.dwivedy (4/25/2009)


    Interesting problem. I tried the following options

    DECLARE @Z INT

    SET @Z = (EXEC USP_TEMP111) ---> this does not work. Sql server throws an error saying incorrect syntax near the...

Viewing 15 posts - 39,496 through 39,510 (of 49,571 total)