Forum Replies Created

Viewing 15 posts - 45,901 through 45,915 (of 49,571 total)

  • RE: Regarding queries

    This looks suspiciously like homework. Is that the case?

  • RE: generic update stored procedure

    Advice? Sure. Don't go that route.

    You're adding complexity to the system with dynamic SQL and you're potentially openings a sQL injection vulnerability Dynamic SQL will require that the user has...

  • RE: Getting the Last Integer values

    How about you give us the entire requirement with several sample values and the results you want out?

  • RE: Deadlock

    Mani Singh (7/7/2008)


    the SPID are system SPID's, so better be carefull is you are thinking of using the Kill statement.

    The system spids are the ones reporting the deadlock, not the...

  • RE: Deadlock

    Wow, that's an impressive deadlock. Was that a once off, or is it reoccurring?

    I would suggest that you enable either 1204 or 1222, not both. They have the same purpose,...

  • RE: Dumb Question!

    Steve Jones - Editor (7/7/2008)


    I've often had some ID (identity/GUID) as the PK, but used a date for a clustered index since I often query on date ranges.

    Likewise, but Ron...

  • RE: Dumb Question!

    No advantages I can see, and the disadvantage is that you are maintaining 2 indexes where you only really need to maintain 1.

    Note, there are a few, very special, very...

  • RE: how often is data transferred to a mirror server?

    Depends if you have synchronous or asynchronous mirroring.

    In synchronous mirroring, the data is transferred to the mirror and confirmed as hardened in the mirror's transaction log before the client...

  • RE: select GUID -> numeric value out of range

    Can you also post the java code where you create and open the result set?

    What's tha data type of rs? SQLServerResultSet?

    Which line throws the error?

    Is your linked list just a...

  • RE: Min/Max Server Memory

    No need. The buffer pool is the majority of SQL's memory allocation. The remaining portion (often referred to as Mem To Leave) is by default 256 MB. You can change...

  • RE: Getting the Last Integer values

    Do you just want the last 2 characters? If so...

    SELECT @T = RIGHT('Te6st03',2)

  • RE: select GUID -> numeric value out of range

    Could you post the java code please? The SQL looks ok, but it would be useful to know what the java code is doing also.

  • RE: Effect of UPDATE STATISTICS

    Grinja (7/7/2008)


    Profiler has not picked up any deadlocks.

    Yes some queries quick while others just time out or are incredibly slow.

    Not asking about deadlocks. If you look in the sysprocesses table,...

  • RE: Min/Max Server Memory

    It's for the buffer pool only.

    Next time please post in an appropriate forum. Also, there's no need to bump after 30 minutes. It's a forum, not a chat room.

  • RE: Table Performance issue on select query

    Was that while (Select * from Table2) was running?

    Is the time taken by the query consistent?

Viewing 15 posts - 45,901 through 45,915 (of 49,571 total)