Forum Replies Created

Viewing 15 posts - 20,956 through 20,970 (of 22,184 total)

  • RE: TSQL Locking and Updating

    You'll need to set a flag on the table itself, marking the records that no one else can access and include that check in your queries.

    Otherwise, you have maintain...

  • RE: Using Stored Procedure or script

    Cool. Sounds like you're in the right track.

  • RE: SQL procedure re-write

    Sorry, I was spending more time thinking about the logic than the syntax. You can cut my pay for this job. 😉

    How about something like this (this assumes one row...

  • RE: SQL procedure re-write

    I think you're on the right track. How about something like (data types would probably need to be adjusted & this is psuedo-code)...

    DECLARE @ComparePwd nvarchar(10), @CompareEmail nvarchar(100)

    SELECT @ComparePwd = u.Pwd

    ,u.*

    FROM...

  • RE: Using Stored Procedure or script

    If it's that big & complex, script or proc probably won't make a difference in performance terms. The procedure is likely to be easier to maintain since you can set...

  • RE: Obfuscated but readable data

    I agree with Matt. Stay away from simply trying to mask real data. If you need to get the precise types of data distribution that real data gives you, then...

  • RE: Combine 2 queries toegether and put into a view

    ritesh (2/28/2008)


    The second query should pull back info from the first and itself. so the second query will match on the first and pull this like First Date, Last Date...

  • RE: Using Stored Procedure or script

    It really depends on the SQL statement in question. To a large degree, depending on what the SQL is doing, there is no substantive difference between a script and a...

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

    Oh yeah, we'll ask about deadlocks too. Isolation levels would be a grossly inadequate answer, just so you know.

    The thing is, we seldmon hire for entry level dba positions. Much...

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

    I'm mainly interested in hearing how they're going to troubleshoot stuff. I want to hear what they're going to do, how, when... I've had interviewees that insist the only way...

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

    Yeah, we had a guy who said he was a 10 on internals. We asked him how an index was stored... "In the database."

    Ta-Da!

    Thanks for playing. Our parting contestants will...

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

    Mark Markov (2/28/2008)


    He said: Which one is better? ---> umm... I didn't know what to say

    He said: If you need to do a lot of SELECT, would you use a...

  • RE: Connect to a unique instance?

    What ahutchens says and check the configuration manager.

  • RE: Connect to a unique instance?

    Yeah, but did you log in from a different machine to the server? The reason is, you need to confirm that it's allowing external connections.

    ODBC works fine with instance names....

  • RE: The Cost of Function Use In A Where Clause

    leea (2/28/2008)


    Does the case not cause very similar performance problems, I remember having to rewrite an SP a little while ago to improve performance by removing the case from a...

Viewing 15 posts - 20,956 through 20,970 (of 22,184 total)