Forum Replies Created

Viewing 15 posts - 20,476 through 20,490 (of 22,196 total)

  • RE: The T-SQL Quiz

    dfalso (5/2/2008)


    Jeff, I appreciate both your and Grant's replies. I also appreciate your concerns about something that's written for a small situation now, but for whatever reason is used in...

  • RE: The T-SQL Quiz

    How did you know what I had planned for the week-end... 😀

    I have to ask though, what's drowning breath exercise? While we do incorporate a lot of traditional stuff, including...

  • RE: Search Stored Procedure

    Use a function to turn the comma-delimited list into a table and then join against it. You'll get all the matches and it doesn't matter how long the list is....

  • RE: 1 SP or Multiple SPs

    Short answer: It depends.

    Longer answer: It depends. Let's take an example. You're doing a load that's going to direct data to one of two tables, so there's an if statement...

  • RE: Is this a mad idea?

    Personal opinion, so please take with a grain of salt...

    You should put the time in to learn how to do things properly in SSIS & SQL Server. That will serve...

  • RE: Dynamic SQL Requirements

    You're in 2005 right? Although I don't advocate using ad hoc queries, if you have to, simply use NVARCHAR(MAX).

  • RE: INDEX TUNING WIZARD ERROR

    dheeraj17sharma (5/2/2008)


    dear,

    GETSTOCKLEDGER is just a user defined procedure with some input parameter. above i have describe just a single log which might have arise during the execution of captured statment...

  • RE: The T-SQL Quiz

    dfalso (5/1/2008)


    Jeff, I agree with the point you're trying to make, assuming that this code is destined for a production use. I would absolutely look to a set-based solution, not...

  • RE: ALTER TABLE error...

    Oh, wait. I am an idiot. Here's the deal. The optimizer is smart enough to recognize that you're creating a table within the set when you execute the whole thing,...

  • RE: Understanding Indexes

    I don't quite see a question either.

    BTW, having a covering index is not inherently a bad thing. Actually, it's inherently a good thing. But because of the cost of maintaining...

  • RE: ALTER TABLE error...

    It was that lack of scale that forced me to go in and make edits to the code. It wouldn't compile as it was.

  • RE: Create constant for use in T-SQL

    RyanRandall (5/1/2008)


    I'm also reminded of this article...

    http://www.sqlservercentral.com/articles/Advanced/lookuptablemadness/1464/

    Yeah, that was the one I meant when I said "MUD" but it's supposed to be "MUCK."

  • RE: The T-SQL Quiz

    Weeks, dude, weeks. I just keep telling myself that bringing the sword to work won't really help the problem... I think. Maybe it will...

  • RE: ALTER TABLE error...

    You're telling me I fixed it by accident? I just put the semi-colon on because I've gotten in the habit of closing commands with it.

  • RE: Auto Incrementing Primary Keys in SQL Server 2005

    Yes, but starting with SQL Server 2005, the actual tables were hidden and all access to them was controlled through dynamic management views. Some of the views look exactly like...

Viewing 15 posts - 20,476 through 20,490 (of 22,196 total)