Forum Replies Created

Viewing 15 posts - 14,701 through 14,715 (of 26,486 total)

  • RE: The Oddest Interview Questions

    GSquared (2/25/2011)


    JP Dakota (2/23/2011)


    I was once asked for the absolute value of Pi. There isn't one.

    You wasted a perfect opportunity to spend the rest of the interview spewing out...

  • RE: Number of records Vs Table Size

    It isn't the number of columns that determines how much spacea row takes in the database, but the size of each row plus the fill factor used on the table.

  • RE: How to rollback

    visweswaran28 (3/14/2011)


    Hi,

    I am using sql server 2005, in that I am directly running my sql queries. Now I want to know that how can I rollback if I did anything...

  • RE: Trouble with CTE

    Jeff Moden (3/13/2011)


    Lynn Pettis (3/13/2011)


    Jeff Moden (3/13/2011)


    My problem wasn't with making a hierarchical query according to BOL... my problem is that the data the OP provided is cyclic and the...

  • RE: Trouble with CTE

    Jeff Moden (3/13/2011)


    My problem wasn't with making a hierarchical query according to BOL... my problem is that the data the OP provided is cyclic and the examples in BOL don't...

  • RE: Trouble with CTE

    Jeff Moden (3/13/2011)


    pietlinden (3/13/2011)


    Now all I gotta do is get my head around how it all works. Thanks, Jedi master!

    Me too. I always seem to lose my mind...

  • RE: Deleting logon trigger.

    Without seeing the code for the trigger, it is a bit hard to know why you can't delete it. Sounds like it may be keeping you from doing the...

  • RE: Recursive CTE - Am I going mad???

    Two alternatives to Ian's code as well (minor tweaks) still using his setup:

    WITH msgHierarchy AS (

    SELECT msg.MessageID, msg.ParentID, msg.[Message], msg.PostedDate

    ...

  • RE: Recursive CTE - Am I going mad???

    kp81 (3/13/2011)


    Guys,

    I've been playing with the code (works great btw), however I have one issue. I'd like to order the items by messages DESC, but comments ASC - if that's...

  • RE: Alphanumeric Value Sorting

    The following code returns what you are looking for based on the sample data provided. Please let us know if it works for you in your particular application.

    select

    ...

  • RE: Trouble with CTE

    Glad I was able to help. Also, thank you for posting your final solution.

  • RE: acessing data using multiple options

    Hard to say since we can't see what you can see. Please read the first article I reference below in my signature block regarding asking for help. It...

  • RE: Trouble with CTE

    Here is what I cam up with based on your sample data:

    with CoursePrereqs (

    CourseName,

    CourseNo,

    reqCourseNo,

    nextCourseNo

    )as...

  • RE: Report with current and previous year's data

    What will really help is to provide the information I requested. Based on what you have given us, we can only provide very basic guidance. If you provide...

  • RE: Report with current and previous year's data

    It would actually help if you would provide the DDL (CREATE TABLE statement), sample data (as a series of INSERT INTO statements) that reflects the problem you are attempting to...

Viewing 15 posts - 14,701 through 14,715 (of 26,486 total)