Forum Replies Created

Viewing 15 posts - 39,811 through 39,825 (of 49,571 total)

  • RE: Are the posted questions getting worse?

    Alvin Ramard (4/12/2009)


    Being a contractor, that would be without pay too

    Same here. It comes out of my 'education and training' savings.

    If you're paying your own way, ignore the conference hotels....

  • RE: Dynamic query

    Another option if you're using Enterprise edition is to drop the idea of multiple tables and consider partitioned tables.

  • RE: I cant install the server components

    You can't install the server components of Enterprise edition on a non-server OS. Basically, to install the server components of SQL Enterprise edition, you need Windows Server 2003 or Windows...

  • RE: heap or clustered

    I suspect the cluster vs heap discrepancy is more the result of a lot of bad and missing indexes.

    It would really help if you could post the actual execution plan....

  • RE: Dynamic query

    peleg k (4/12/2009)


    is there a way to make a query on a Dynamic table name like this :

    Select * from Messag2008+@MonthName

    but withought using a dynamic query which will be activated...

  • RE: Are the posted questions getting worse?

    Jack Corbett (4/11/2009)


    So am I. The nice thing is I'm not expecting to be selected so I feel no pressure.

    I'm hoping they'll accept one of mine. Firstly because I...

  • RE: I cant install the server components

    What operating system?

    What edition of SQL were you installing?

  • RE: Why Cursor is Slower?

    Wish (4/12/2009)


    I read many post suggesting to avoid cursor as it degrade the performance. But I am confised why cursor is slower.

    Because cursors are iterative, row-by row operations....

  • RE: Database Status SUSPECT

    Please post new questions in a new thread and include as much detail as possible, including any errors that you get as well as the stack dump, what causes the...

  • RE: Which is more efficient or does it matter?

    Bob Hovious (4/11/2009)


    I just tested it and answered my own question. The Join on ShortCode+'%' did NOT interfere with the proper use of the index. ...

  • RE: Which is more efficient or does it matter?

    Bob Hovious (4/11/2009)


    I was thinking about the LIKE solution earlier, but that would make the join be

    INNER JOIN T2 ON LongCode like ShortCode+'%'

    Yup.

    Doesn't the ShortCode+'%' expression create the same problem...

  • RE: Are the posted questions getting worse?

    Jeff Moden (4/11/2009)


    I saw that Gail and Jack also made submittals.

    Grant also. He was a real early-bird and submitted before I'd even decided on titles.

  • RE: heap or clustered

    Post the exec plan for each please.

    While a heap is occasionally beneficial, in most cases it's better for a table to have a cluster. There's probably a missing index or...

  • RE: T-SQL 2005 Help

    Florian Reischl (4/11/2009)


    I remember a case my apprentice told me from one of his teachers, the "IF-loop". Sure a slip of the tongue, but anyway:

    DECLARE @i INT

    SET @i = 1

    START:

    PRINT...

  • RE: heap or clustered

    like this:

    CREATE TABLE [dbo].[test6](

    [callerid] [char](5) NOT NULL,

    [name] [varchar](50) NULL,

    [address] [varchar](50) NULL,

    [recordnum] [int] IDENTITY(1,1) NOT NULL

    primary key NONCLUSTERED ( callerid)

    ) ON [PRIMARY]

    GO

Viewing 15 posts - 39,811 through 39,825 (of 49,571 total)