Forum Replies Created

Viewing 15 posts - 3,271 through 3,285 (of 5,394 total)

  • RE: Query Performance Tuning

    josephsheppard (4/4/2011)


    Would a [nolock] help?

    No, unless you understand that NOLOCK means reading inconsistent data and can live with it.

    josephsheppard (4/4/2011)


    Normally, this query completes in less than a millisecond....

    The problem is...

  • RE: Left Join Duplicates

    Take a look at the article linked in my signature line and you will find out what is needed to post a question properly.

    We don't have enough information to answer...

  • RE: UNION ALL is hanging the server and is very slow.

    Ninja's_RGR'us (4/4/2011)


    Sure of what? I have this is prod without issue, with great performance.

    I've simply pasted working code so that he gets the idea of sum(case when period).

    That requires...

  • RE: UNION ALL is hanging the server and is very slow.

    Ninja's_RGR'us (4/4/2011)


    -- ... some code here ...

    Are you sure?

  • RE: UNION ALL is hanging the server and is very slow.

    I don't see UNION ALL, I see UNIONs here.

    UNION means distinct values and distinct means expensive sorts.

    Can you post table scripts and execution plan?

  • RE: Cannot Install SQL2008R2 on Windows7

    Looks like it is trying to upgrade an existing installation, instead of performing a fresh install.

    Maybe some dirty registry keys?

  • RE: Delete the VLTB in sqlserver 2000

    balaji.ganga 68339 (4/4/2011)


    while performing the delete operation the log size would be increased drastically.

    i used the dbcc shrink file un documented command. but its too late to delete the table.

    Is...

  • RE: Delete the VLTB in sqlserver 2000

    balaji.ganga 68339 (4/4/2011)


    I need to two things:

    1. To delete the unnecessary data.

    2. we don't want the transaction log during delete operation.

    No, trust me, you really want it to be...

  • RE: SQL 2005 instances

    Well thats it, from what I find they are both the same database instance.

    Does DB1 server have a process named "sqlserver.exe"? If not, no SQL Server instance is running.

    Open DB1...

  • RE: AD group to access also SQL Server using

    You will have to issue this statement on each of the target servers:

    CREATE LOGIN [YOURDOMAIN\fxb-dss-fsx-sqladmin] FROM WINDOWS

    WITH DEFAULT_DATABASE= [tempdb],

    ...

  • RE: SQL 2005 instances

    OK, let's start from the obvious: if there's a SQL Server you can connect to on DB1, there must be an instance of SQL Server running. I don't know why...

  • RE: AD group to access also SQL Server using

    Add the group to sql server logins on all of your servers.

    You're not saying much about the role of the users in this group, can you please specify what will...

  • RE: SQL 2005 instances

    We have two instances on our SQL 2005 setup, DB1 and DB2 to name them. Each instance have the exact same databases / tables. When data is updated...

  • RE: Correlated Subqueries -- HOw are they used?

    No, it's not related to math functions.

    You have a correlated subquery when you select data from a subquery using a where clause that refers to fields in the outer query.

    Example:

    SELECT...

  • RE: Are the posted questions getting worse?

    Roy Ernest (4/1/2011)


    Shaken and hurts. Other wise I am Ok. Thx

    Too bad.

    Just remember that cars can be fixed, people cannot. The important thing is that you're ok.

Viewing 15 posts - 3,271 through 3,285 (of 5,394 total)