Forum Replies Created

Viewing 15 posts - 91 through 105 (of 121 total)

  • RE: Timeout Error

    Check for port blocking also.

  • RE: Update Date Field

    User DATEADD(datepart, number, date) function for this operation.

  • RE: Missing data rows?

    Put take trace while running your procedure. There might be some trigger... or some other procedure or so, which might be deleting the records.

    You will get clear picture in trace.

  • RE: Tips on creating indexes

    There are few thing you need to keep in mind

    -How you query the database? Means which fields do you use in WHERE clause and which fields do you use in...

  • RE: Sqlserver Joins

    I am sure this is interview question. But merge and hash join are Oracle terminology. It is not good idea to ask this question here.

    Any way here is the link...

  • RE: Sqlserver Joins

    is it some interview question or you have some problem in JOIN query?

    By the way sql server uses nested loops and index

    nested loops join.

  • RE: Script to kill connections that are issuing a Particular SQL Statement

    Hi

    You can use this script.

    ============

    DECLARE @handle VARBINARY(64), @connection_id UNIQUEIDENTIFIER, @session_id INT

    DECLARE @maxCnt INT, @cnt INT

    CREATE TABLE #tmp(id INT IDENTITY(1,1), session_id INT, connection_id UNIQUEIDENTIFIER, handle VARBINARY(64))

    INSERT INTO #tmp(session_id, connection_id, handle)

    SELECT...

  • RE: location for the error log in MS SQL Server 2000

    There is no other place then default log location.

  • RE: Question of the Day for 21 Jun 2006

    coolpul (1/2/2009)


    what was the answer when you executed?

    It gave me result as INT, DECIMAL and MONEY. Result was correct but my interpretation was wrong.

  • RE: Question of the Day for 21 Jun 2006

    I have also executed the query and tick the wrong answer. 😛

  • RE: altering table taking ages in SSMS

    Are you using the SSMS GUI or executing query for removing the FK.

    If using the GUI then, some time it drops and recreate the tables. So first see...

  • RE: CTE Constant

    Use UNPIVOT statement for this.

  • RE: Performance isssue

    Jeff Moden (12/30/2008)


    The only way it's going to get any faster is if someone sits down with the business rules, and rewrites it using some decent set based logic....

  • RE: Joining 2 Table Records

    Hi,

    you can write your condition in JOIN statement instead of WHERE statment.

    table1 LEFT OUTER JOIN table2 ON table1.DATE = table2.DATE and table2.emp = '123'

    This way it will select all records...

  • RE: Enjoy Christmas Eve

    Merry Christmas to all. See you in new year!.

Viewing 15 posts - 91 through 105 (of 121 total)