Forum Replies Created

Viewing 15 posts - 1,861 through 1,875 (of 3,233 total)

  • RE: IF Statement with in a SELECT statement

    Well, I can't tell from your description what type of join you need so you'll have to do that part but this should get you what you want. My...

  • RE: Determine Missing Records

    By using AND, you are telling SQL Server that you want to find all uAccountMovement rows that do not exist in either of the other 2 tables. If you...

  • RE: Query Problem

    That's a pretty open question. You've obviously posted it because you feel there is a problem. Why don't you give us a description of what you think the...

  • RE: Determine Missing Records

    When checking for the non-existance of outer joined rows, use the IS NULL comparison instead of the <> (not equals) comparison. The example SQL_ORACLE has given is correct. ...

  • RE: joins

    Use Books Online to get an example. How can we write you a query if we don't know your table schema? Anything else would be an example derived...

  • RE: SELECT WITH NOLOCKS

    I'm with Gail here folks. Why not find and fix the problem instead of masking it with NOLOCKs? If you are 100% OK with dirty reads, maybe consider...

  • RE: Inserting values and updating same table w/one transaction

    I don't think that this will cause a deadlock. The SP will already have the rows locked and the update will happen to the new data page. I...

  • RE: how win 2003 server maps sa sql 2005 account?

    xp_cmdshell is disabled by default in SQL Server 2005. Have you enabled it? If not, go to the Surface Area Configuration tool>>Surface Area Configuration for Features and enable...

  • RE: SQL Server Locks Up

    I would suggest running SQLDiag.exe the next time your system locks up.

  • RE: Performance Issue while retrieving data from Very Large Table

    Yes, having the clustered index on ColC would help. I would suggest dropping the second index on Col1 and recreating your PK as a non-clustered PK. You may...

  • RE: I got burned today at a SQL Server Interview!

    I just wanted to thank you all for your military service.

  • RE: Shared lock in DataBase

    Globally setting your isolation level to read uncommitted will prevent SELECTS from using shared locks; however, the side effect will be that you are allowing for dirty reads. I...

  • RE: I got burned today at a SQL Server Interview!

    Jeff, that has got to be the best interview story ever told. I almost lost control of my bodily functions trying to contain the laughter!! You're my hero....

  • RE: Cursor in SQl Server

    Not understanding cursors is a benefit to you! Matt has some great advice. Work the problem as if cursors do not exist. If you are going to...

  • RE: Left outer join

    No problem. Looking back today, I don't know what I was thinking with the <> join?? Oh well, I'm glad you've got it working. This one was...

Viewing 15 posts - 1,861 through 1,875 (of 3,233 total)