Forum Replies Created

Viewing 15 posts - 2,686 through 2,700 (of 3,616 total)

  • RE: running stored procedures on a multiprocessor system

    If you look at the processors tab of the server property have a look at the Parellism settings.

    Does it have "use all available processors" checked?

    What is the setting for "minimum...

  • RE: Saying Good Bye

    The beatings will continue until morale improves!

    The problem with such corporate eugenics is that when encouraging survival of the fittest no-one has the wit to ask "fittest at what"? ...

  • RE: Changing Recovery Mode

    DECLARE @sDBName SysName

    SET @sDBName=''

    WHILE @sDBName IS NOT NULL

    BEGIN

    SELECT @sDBName = MIN(Name)

    FROMMaster.dbo.sysdatabases

    WHEREName>@sDBName

    AND Name NOT IN ('Master','Model','MSDB','TEMPDB','DISTRIBUTION')

    AND DATABASEPROPERTY(Name,'IsTruncLog')=0

    IF @sDBName IS NOT NULL

    exec sp_dboption @sDBName,'trunc. log on chkpt.',true

    END

  • RE: performance using like

    I've just tested this against a 50,000 record table with record length 4468 and a none unique varchar column that is part of a compound index.

    In both cases the execution...

  • RE: Takes a very long time to query a table/view

    This recent article http://www.sqlservercentral.com/columnists/jBulinckx/indexedviewswithouterjoins.asp showed how to do outer joins with and indexed view.

    If you replace your SELECT * statement with explicit column names do you get any improvement in...

  • RE: using t-sql through jdbc

    If you watch the locks using Enterprise Manager while your program is running do you seen anything significant?

    Are the long running inserts being blocked by the shorter ones?

    Does your logging...

  • RE: SQL Optimisation Vs Disk Defrag?

    I would be extremely suprised to find that Windows defrag and Diskeeper were the same product.

    No-one would willingly buy a product that was as bad as Windows defrag.

  • RE: Teamwork

    I think the problem is that as you gain seniority you get promoted and assigned to lead teams without anyone giving any advice or training on how to go about...

  • RE: SQL Optimisation Vs Disk Defrag?

    The built-in Windows 2000 defrag is absolutely rubbish. You need at least 15% free disk-space to do a defrag and even if you have the tool will tell you...

  • RE: UPDATE statement

    I too have misgivings about the CLR. I've read somewhere that there are people in Microsoft who have misgivings. Something to do with a badly written piece of...

  • RE: UPDATE statement

    Nice debate Joe.

    Short circuiting has been true of in every SQL you know about. I didn't know but I do now. Perhaps I should buy some of your...

  • RE: UPDATE statement

    OK, so EXISTS short circuits. Great. One less thing to worry about.

    I would hardly call using stuff that has been in MS SQL Server since version 7 (and...

  • RE: Name of Primary Key columns on a table

    sp_help 'your table name here'

    Brings back all sorts of information on the table including the primary key.

  • RE: UPDATE statement

    Joe, does EXISTS short out SELECT * FROM..?

    If you are programming for SQL Server then why ignore valid SQL statements?

    If I am going to develop for cross platform compatibility then...

  • RE: UPDATE statement

    If you are going to do it Joe's way then perhaps

    UPDATE Poz

    SET tip = 'k'

    WHERE EXISTS

    (SELECT TOP 1 J.con

    ...

Viewing 15 posts - 2,686 through 2,700 (of 3,616 total)