Forum Replies Created

Viewing 15 posts - 48,136 through 48,150 (of 49,571 total)

  • RE: Cross Join

    Do you have chapter and page? I have the book at home. I'll check it out tonight.

  • RE: Cross Join

    Ramesh (12/4/2007)


    Amazingly, SQL Query Processor performs a Cartesian product (a cross join, or an unrestricted join) between the first two tables that appear in the FROM clause, and as a...

  • RE: I don't want SQL Server to order the data

    Alexandru Petre Ionescu (12/4/2007)


    insert into dbo.Questions

    (FormID,QuestionTitle, QuestionText, AnswerType,LevelID)

    select distinct FormID,QuestionTitle,QuestionText,QuestionType,LevelID

    from dbo.MapFile

    The "select distinct" is ordering data on the "FormID" field wich is not good to me.

    The order applied on...

  • RE: temp tables VS variable tables ????

    vyas (12/4/2007)


    Table variables require less locking and logging resources than temporary tables, so table variables should be used whenever possible.

    Not always.

    Table variables cannot have indexes on them (other than a...

  • RE: I don't want SQL Server to order the data

    If you want the data returned in a specific order, you need to add an order by clause. Data in a table is not considered in any particular order. In...

  • RE: Reading Transaction Logs

    The tran logs can be read, but they are not easy to understand and they don't contain information about people logging in and they don't keep info about who did...

  • RE: Can you recommend a FREE tool for trapping SQL/queries in SQL Server 2000

    If you capture the event SP_StmtCompleted (under stored procedures), yes.

    Profiler/SQL trace have massive numbers of events that can be traced. Just depends what you want to capture.

  • RE: Index design on a table where the primary key is not clustered

    If that was my table, I'd start by finding all the queries that refer to that table (profiler can help here), then in a dev environment, get a copy of...

  • RE: 431 exam....solution

    Watch out for the simulations. They trip a lot of people up.

  • RE: Identifying Resources Hogs (Users)

    montgomery johnson (12/3/2007)


    When I query master..sysprocesses I only get 1 record.

    You need view server state permissions to see anything other than your own connection. I assume you're not sysadmin.

  • RE: Cross Join

    Not many places. I've very very seldom needed a cross join. It's more common to have a cross join accidentily because of leaving out one or more join criteria.

    Generally, if...

  • RE: Multiple simultaneous replies

    Yup. Two windows (often I have more), replying to a post in more than one. Because of slow internet, I use multiple windows (at work) or multiple tabs (at home)...

  • RE: Forum Etiquette: How to post data/code on a forum to get the best help

    John Rowan (12/3/2007)


    I was more referring to when someone posts a T-SQL question to the 2000 forum and the post gets answered with new 2005 stuff.

    I'm usually careful with...

  • RE: Forum Etiquette: How to post data/code on a forum to get the best help

    John Rowan (11/27/2007)


    I agree in that I've read sooo many posts that were so badly presented that I simply move on to another.

    Likewise. I only have so much...

  • RE: Insert or Update Stored Procedure

    Or to do all the candidates in one go, rather than one at a time.

    -- update where matched

    UPDATE Candidates Set Candidates.Column1 = New_Candidates.Column1, ....

    FROM New_Candidates

    WHERE Candidates.Candidate_ID = New_Candidates.Candidate_ID

    -- Insert...

Viewing 15 posts - 48,136 through 48,150 (of 49,571 total)